Function at 0x5876b9
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 8
call fcn.005b82e0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edi, eax
mov esi, 0x66df3e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp + 0x10], 0x6611
jne 0x587768
mov dword [ebp + 0x10], 0x660e
cmp dword [ebp + 0x10], 0x6611
je 0x5877a0
cmp dword [ebp + 0x10], 0x660e
je 0x5877a0
cmp dword [ebp + 0x10], 0x660f
je 0x5877a0
cmp dword [ebp + 0x10], 0x6610
je 0x5877a0
xor eax, eax
jmp 0x5877a5
mov eax, 1
test eax, eax
je 0x5877b9
mov dword [ebp - 4], 0x18
jmp 0x5877c0
mov dword [ebp - 4], 1
cmp dword [ebp + 0x24], 0
jne 0x5877d1
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x4c], esp
push 0xf0000000
push dword [ebp - 4]
push 0x66d8c6
push 0x66d8c6
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587810
push 0x1ea
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x587873
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 4]
push 0x66d8c6
push 0x66d8c6
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x58785c
push 0x245
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x587873
mov eax, 0x66df3e
jmp 0x588259
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x587888
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x198
call fcn.005b9a90
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5878b2
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x5878d2
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005b82e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5878e3
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push 0
push 2
push 8
call fcn.00587426
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x587915
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x58792c
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.005b9a90
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0xc]
push dword [ebp - 0x50]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.00483a89
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x587985
push ebx
call fcn.005b82ec
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x587999
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5879b0
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5879e4
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptImportKey]
nop
nop
cmp dword [ebp - 0x50], esp
je 0x587a0e
push 0x3f0
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x587a56
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587a4c
push 0x425
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, 0x66df3e
jmp 0x588259
push 0x80000301
push 0
push dword [ebp + 0x24]
push 1
mov ebx, 0x198
call fcn.005b9a90
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x587a89
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x4c], esp
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x587aa6
add eax, 8
push eax
push 4
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptSetKeyParam]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587ad5
push 0x4ed
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x587b49
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587b0e
push 0x521
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587b3f
push 0x53b
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, 0x66df3e
jmp 0x588259
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x1bc
call fcn.005ba540
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x587b7e
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x4c], esp
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x587b9f
add eax, 8
push eax
push 8
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptGetKeyParam]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587bce
push 0x607
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x587bf3
mov eax, 0x66df3e
push eax
push 3
mov ebx, 0x19c
call fcn.005ba3a0
add esp, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000101
jne 0x587c27
and eax, 0xff
jmp 0x587c7c
cmp ecx, 0x80000201
jne 0x587c32
cwde
jmp 0x587c7c
cmp ecx, 0x80000301
je 0x587c7c
cmp ecx, 0x80000401
je 0x587c7c
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x587c6c
cmp ecx, 0x80000601
je 0x587c71
push 0x656
push 0x433009c
push 2
call fcn.005b82f8
add esp, 0xc
fld dword [ebp - 0x5c]
jmp 0x587c77
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.0046cf90
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x66d8ea]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.0046cf90
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x587d0d
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587cd2
push 0x6ea
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587d03
push 0x704
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, 0x66df3e
jmp 0x588259
push dword [ebp + 0x1c]
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.00588316
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x587d33
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 0x66df3e
xor ecx, ecx
test eax, eax
je 0x587d45
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x587d58
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x587d6f
dec eax
test ecx, ecx
je 0x587d6f
call fcn.00478b1f
add esp, 0xc
test eax, eax
jne 0x587db5
push 0x80000301
push 0
push dword [ebp - 0x28]
push 1
mov ebx, 0x1bc
call fcn.005ba540
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x587daf
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x4c], esp
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x587dc9
add eax, 8
push eax
push 1
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptSetKeyParam]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587df8
push 0x842
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x587e6c
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587e31
push 0x876
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x587e62
push 0x890
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, 0x66df3e
jmp 0x588259
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.005889aa
mov ebx, dword [ebp - 0x2c]
call fcn.00471572
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push eax
lea eax, [ebp - 0x34]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x58814b
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], eax
jne 0x587eb9
mov dword [ebp - 0x38], 1
jmp 0x587ec0
mov dword [ebp - 0x38], 0
mov ebx, dword [ebp - 0x2c]
call fcn.0046df73
push ebx
push ecx
mov eax, dword [ebp - 0x34]
dec eax
jns 0x587ee7
push 0xa30
push 0x433009c
push 4
call fcn.005b82f8
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x587f04
push 0xa30
push 0x433009c
push 1
call fcn.005b82f8
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
push 0x80000301
push 0
push dword [ebp - 0x28]
push 1
mov ebx, 0x1bc
call fcn.005ba540
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
mov ecx, 2
call fcn.00483a89
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x587f53
push ebx
call fcn.005b82ec
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x587f67
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
call fcn.0046df73
push ebx
push ecx
mov eax, dword [ebp - 0x34]
dec eax
jns 0x587f92
push 0xa85
push 0x433009c
push 4
call fcn.005b82f8
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x587faf
push 0xa85
push 0x433009c
push 1
call fcn.005b82f8
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x587fcc
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x587ff5
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x58801f
add eax, 8
push eax
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptEncrypt]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x588056
push 0xb12
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x5880ca
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x58808f
push 0xb5f
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x5880c0
push 0xb79
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, 0x66df3e
jmp 0x588259
push 0x80000301
push 0
push dword [ebp - 0x40]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x5880e7
mov eax, 0x66df3e
push eax
push 2
mov ebx, 0x1a0
call fcn.005ba640
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x588111
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.00483a89
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x58813f
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
pop eax
pop ebx
pop ecx
jmp 0x587e93
add esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x588161
mov eax, 0x66df3e
push eax
push 1
mov ebx, 0x194
call fcn.005ba570
add esp, 0x10
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x5c]
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
call fcn.0046cf90
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x5881af
mov eax, 0x66df3e
push eax
push 2
mov ebx, 0x1a0
call fcn.005ba640
add esp, 0x1c
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x5881d9
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x588209
push 0xcb8
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov dword [ebp - 0x4c], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x58823a
push 0xcd2
push 0x433009c
push 6
call fcn.005b82f8
add esp, 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x588254
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005b82e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x588259
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x58826a
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x58827a
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x58828a
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x58829a
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5882aa
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x5882c8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x5882c4
imul eax, dword [ebx]
jmp 0x5882b9
mov ecx, eax
test ecx, ecx
je 0x5882e7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x5882e0
push ebx
push eax
call fcn.005b82ec
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x5882ce
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x5882ff
push ebx
call fcn.005b82ec
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x58830f
push ebx
call fcn.005b82ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24