CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:29:53 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=00f430198f6736db8e8a806f3425d8058127231ef4f4b123c90c7e4d1ad462b7a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22K-lVCPYFM3Gd81QTc6mOG8L32943gZxV%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cd55e90f68c169-BLR
{$I slackasm/assembler.pas}{$X+}function MulFunc(): Pointer;var assem - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$I slackasm/assembler.pas}
- {$X+}
- function MulFunc(): Pointer;
- var
- assembler: TSlackASM;
- begin
- with assembler := TSlackASM.Create() do
- try
- // prologue
- code += _push(ebp);
- code += _mov(esp, ebp);
- // load real args
- code += _mov(ebp+12, edx); // Result pointer
- code += _mov(ebp+08, ebx); // argz (ptr to array [WORD] of Pointer)
- // load lape args
- code += _mov(ref(ebx), eax); // deref ebx into eax
- code += _mov(ref(eax), eax); // mov contents of first arg to eax
- code += _add(imm(4), ebx); // offset by size of pointer
- code += _mov(ref(ebx), ecx); // deref ebx into eax
- code += _mov(ref(ecx), ecx); // mov contents of second arg to ecx
- // implementation
- code += _imul(ecx, eax);
- // result
- code += _mov(eax, ref(edx));
- // epilogue
- code += _pop(ebp);
- code += _ret;
- Result := Finalize();
- finally
- WriteLn(Code);
- Free();
- end;
- end;
- var
- mul: external function(x,y:Int32): Int32;
- begin
- mul := MulFunc();
- WriteLn mul(1000, 5);
- FreeMethod(@mul);
- end.
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 4 sec ago | 0.10 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 1
JavaScript | 4 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 5 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ R
JavaScript | 6 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 15 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ X
JavaScript | 15 sec ago | 0.24 KB
-
⭐⭐⭐ G2A Payment Exploit ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 15 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ T
JavaScript | 17 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand