Function at 0x100f1840
Capabilities:
Encode data using xor
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
lea edi, [ebp - 0x228]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
shl ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 3]
xor ecx, eax
mov edx, dword [ebp - 0x38]
xor ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 4]
shl ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 5]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 6]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
xor ecx, eax
mov edx, dword [ebp - 0x38]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 8]
shl ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 9]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xa]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xb]
xor ecx, eax
mov edx, dword [ebp - 0x38]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0xc]
shl ecx, 0x18
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xd]
shl eax, 0x10
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xe]
shl eax, 8
xor ecx, eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xf]
xor ecx, eax
mov edx, dword [ebp - 0x38]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov eax, 1
test eax, eax
je 0x100f21a9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x50]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x74]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x5c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x50]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x74]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x5c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x68]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x50]
shr eax, 0x18
mov ecx, dword [ebp - 0x74]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x68]
xor eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
shr eax, 8
mov ecx, dword [ebp - 0x74]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x68]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
mov ecx, dword [ebp - 0x68]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
xor eax, eax
jne 0x100f1957
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 8]
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x80]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0xa4]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x8c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x80]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0xa4]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x8c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x98]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x80]
shr eax, 0x18
mov ecx, dword [ebp - 0xa4]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0x98]
xor eax, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa4]
shr eax, 8
mov ecx, dword [ebp - 0xa4]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x8c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x98]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x8c]
shr eax, 0x18
mov ecx, dword [ebp - 0x98]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x98]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x100f1a55
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax + 0x10]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xb0]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0xd4]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xbc]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xb0]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0xd4]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xbc]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0xc8]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xb0]
shr eax, 0x18
mov ecx, dword [ebp - 0xd4]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xc8]
xor eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xd4]
shr eax, 8
mov ecx, dword [ebp - 0xd4]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xbc]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0xc8]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xbc]
shr eax, 0x18
mov ecx, dword [ebp - 0xc8]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0xc8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
xor eax, eax
jne 0x100f1ba8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0xe0]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [eax + 0x1c]
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp - 0xe0]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x104]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0xec]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0xe0]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x104]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0xec]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0xf8]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0xe0]
shr eax, 0x18
mov ecx, dword [ebp - 0x104]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0xf8]
xor eax, dword [ebp - 0x104]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x104]
shr eax, 8
mov ecx, dword [ebp - 0x104]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xec]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0xf8]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x104]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xec]
shr eax, 0x18
mov ecx, dword [ebp - 0xf8]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xf8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0xf8]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x100f1d0a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
xor ecx, dword [eax + 0x20]
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0x110]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 0x24]
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x110]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x134]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x11c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x110]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x134]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x11c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x128]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x110]
shr eax, 0x18
mov ecx, dword [ebp - 0x134]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x128]
xor eax, dword [ebp - 0x134]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x134]
shr eax, 8
mov ecx, dword [ebp - 0x134]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x11c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x128]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x134]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x11c]
shr eax, 0x18
mov ecx, dword [ebp - 0x128]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x128]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x128]
mov dword [ebp - 0x2c], eax
xor eax, eax
jne 0x100f1e6c
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax + 0x28]
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x140]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [eax + 0x2c]
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x140]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x164]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x14c]
and eax, 0xff
mov ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x140]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x164]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x14c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x158]
xor ecx, dword [eax*4 + 0x1017c490]
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x140]
shr eax, 0x18
mov ecx, dword [ebp - 0x164]
xor ecx, dword [eax*4 + 0x1017c090]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x164]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x164]
shr eax, 8
mov ecx, dword [ebp - 0x164]
shl ecx, 0x18
add eax, ecx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x14c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x158]
xor ecx, dword [eax*4 + 0x1017cc90]
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x164]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14c]
shr eax, 0x18
mov ecx, dword [ebp - 0x158]
xor ecx, dword [eax*4 + 0x1017c890]
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x158]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x158]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x100f1fce
mov eax, dword [ebp - 0x38]
add eax, 0x30
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x44]
jne 0x100f2143
jmp 0x100f21a9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
and ecx, dword [eax]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
and eax, dword [edx]
shr eax, 0x1f
lea ecx, [eax + ecx*2]
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
or ecx, dword [eax + 0xc]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
or ecx, dword [eax + 4]
xor ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
and ecx, dword [eax + 8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
and eax, dword [edx + 8]
shr eax, 0x1f
lea ecx, [eax + ecx*2]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x38], eax
jmp 0x100f194a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
xor eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
xor edx, dword [ecx + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
shr eax, 0x18
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
mov edx, dword [ebp - 0x20]
shr edx, 0x10
mov eax, dword [ebp + 0x14]
mov byte [eax + 1], dl
mov ecx, dword [ebp - 0x20]
shr ecx, 8
mov edx, dword [ebp + 0x14]
mov byte [edx + 2], cl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x20]
mov byte [eax + 3], cl
mov eax, dword [ebp - 0x2c]
shr eax, 0x18
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 4], al
mov edx, dword [ebp - 0x2c]
shr edx, 0x10
mov eax, dword [ebp + 0x14]
mov byte [eax + 5], dl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
mov edx, dword [ebp + 0x14]
mov byte [edx + 6], cl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x2c]
mov byte [eax + 7], cl
mov eax, dword [ebp - 8]
shr eax, 0x18
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 8], al
mov edx, dword [ebp - 8]
shr edx, 0x10
mov eax, dword [ebp + 0x14]
mov byte [eax + 9], dl
mov ecx, dword [ebp - 8]
shr ecx, 8
mov edx, dword [ebp + 0x14]
mov byte [edx + 0xa], cl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 8]
mov byte [eax + 0xb], cl
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 0xc], al
mov edx, dword [ebp - 0x14]
shr edx, 0x10
mov eax, dword [ebp + 0x14]
mov byte [eax + 0xd], dl
mov ecx, dword [ebp - 0x14]
shr ecx, 8
mov edx, dword [ebp + 0x14]
mov byte [edx + 0xe], cl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x14]
mov byte [eax + 0xf], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret