Function at 0x5e24e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x7248fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
push fcn.005e2ff0
push fcn.005c5a30
push 6
push 0xc
lea eax, [esp + 0x7c]
xor edi, edi
or ebp, 0xffffffff
push eax
mov esi, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], ebp
call fcn.006fb55f
mov ecx, dword [esp + 0xe0]
lea eax, [esi + 0x144]
mov dword [ecx], edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x140]
cmp ecx, edi
mov ebx, 1
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x28], eax
jne 0x5e256a
mov esi, dword [esp + 0xdc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
mov dword [esp + 0x30], ebx
jmp 0x5e2f12
mov edx, dword [esp + 0xe4]
cmp edx, 6
jl 0x5e25b8
mov eax, dword [0x7a39e0]
mov ecx, dword [eax + 8]
push str.CExoInputInternal::GetEvents___Invalid_InputClass_parameter
push str.exoinputinternal.cpp
push 0x5cb
call fcn.005e9400
mov esi, dword [esp + 0xdc]
push fcn.005e2ff0
push 6
push 0xc
lea ecx, [esp + 0x78]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
mov dword [esp + 0x3c], ebx
push ecx
jmp 0x5e2f20
mov ebx, dword [esi + 0x158]
xor eax, eax
cmp ebx, edi
jle 0x5e25e9
lea edx, [edx + edx*2]
shl edx, 4
lea edx, [edx + esi + 0x14]
mov edi, edi
mov ebx, dword [edx]
mov ebx, dword [ebx]
mov dword [esp + eax*4 + 0xb4], ebx
mov ebx, dword [esi + 0x158]
inc eax
add edx, 4
cmp eax, ebx
jl 0x5e25d0
cmp dword [esi + 0x3a8], edi
jne 0x5e2603
mov eax, dword [0x74d3c8]
lea eax, [eax + eax*2]
lea edx, [esp + eax*4 + 0x6c]
push edx
call fcn.005e3ae0
mov eax, dword [esi + 0x158]
mov edi, 2
cmp eax, edi
jle 0x5e263e
lea ebx, [esp + 0x84]
lea esp, [esp]
mov ecx, dword [esi + 0x140]
push ebx
lea eax, [edi - 2]
push eax
call fcn.005e30e0
mov eax, dword [esi + 0x158]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x5e2620
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x14], 1
jle 0x5e266e
mov ebx, eax
mov ecx, eax
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x70]
rep stosd dword es:[edi], eax
cmp dword [edx], eax
jbe 0x5e2668
mov dword [esp + 0x14], eax
add edx, 0xc
dec ebx
jne 0x5e2660
mov eax, dword [esi + 0x158]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0x150], ecx
jle 0x5e2a52
mov edx, dword [esi + 0x158]
lea eax, [esp + 0x70]
mov edi, edi
add ecx, dword [eax]
add eax, 0xc
dec edx
jne 0x5e2690
test ecx, ecx
je 0x5e2a52
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e2a52
lea esp, [esp]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov edi, edi
cmp ebp, 0xffffffff
je 0x5e26db
cmp eax, ebp
je 0x5e26db
lea ecx, [ebp + ebp*2]
mov eax, dword [esp + ecx*4 + 0x70]
cmp dword [esp + ebp*4 + 0x44], eax
jb 0x5e27ba
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5e27ba
jmp 0x5e26f0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + edx + 0x70]
mov ecx, dword [esp + 0x24]
cmp dword [esp + ecx*4 + 0x44], eax
jae 0x5e27ba
mov edx, ecx
mov eax, dword [esp + edx*4 + 0x44]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [esp + ecx + 0x6c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esi + eax*4 + 0x14]
lea ebx, [esi + eax*4 + 0x14]
mov eax, dword [ecx]
test eax, eax
lea ebp, [esp + edx*4 + 0xb4]
mov dword [ebp], eax
je 0x5e279c
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5e274d
xor eax, eax
jmp 0x5e2750
mov eax, dword [ecx + 8]
mov ecx, dword [eax]
mov edx, dword [esi + 0x128]
mov edi, dword [edx + ecx*4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + eax*4 + 0x164]
mov edx, dword [esp + 0x10]
cmp ecx, dword [edx]
je 0x5e27ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x5e278a
mov ecx, dword [edi + 0x30]
mov edx, dword [esi + ecx*4 + 0x164]
mov eax, dword [esp + 0x10]
cmp edx, dword [eax]
je 0x5e27ae
mov ecx, dword [ebx]
push ebp
call fcn.005e9b90
cmp dword [ebp], 0
jne 0x5e2750
mov edx, dword [esp + 0x24]
mov eax, dword [esp + edx*4 + 0x44]
mov ebp, dword [esp + 0x1c]
inc eax
mov dword [esp + edx*4 + 0x44], eax
jmp 0x5e26f0
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x158]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
jl 0x5e26c0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5e2a21
xor edi, edi
xor ecx, ecx
lea edx, [esp + 0x6c]
cmp ecx, dword [esi + 0x158]
jge 0x5e2835
mov ebx, dword [edx + 4]
mov eax, dword [esp + ecx*4 + 0x44]
cmp eax, ebx
jae 0x5e282c
cmp ebp, 0xffffffff
lea eax, [eax + eax*4]
jne 0x5e2813
mov edi, dword [edx]
mov eax, dword [edi + eax*4 + 0xc]
jmp 0x5e2821
mov ebx, dword [edx]
mov eax, dword [ebx + eax*4 + 0xc]
mov ebx, dword [esp + 0x14]
sub ebx, eax
jne 0x5e282c
mov dword [esp + 0x14], eax
mov ebp, ecx
mov edi, 1
inc ecx
add edx, 0xc
cmp edi, 1
jne 0x5e27f0
test edi, edi
mov dword [esp + 0x1c], ebp
jne 0x5e2852
mov eax, dword [esp + 0x14]
inc eax
or ebp, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x5e2a21
mov eax, dword [esp + ebp*4 + 0x44]
lea edx, [eax + eax*4]
lea ecx, [ebp + ebp*2]
mov eax, dword [esp + ecx*4 + 0x6c]
lea edi, [eax + edx*4]
mov eax, dword [esp + ebp*4 + 0xb4]
push eax
mov eax, dword [esp + 0xe8]
lea ecx, [eax + eax*2]
lea edx, [ebp + ecx*4]
mov ecx, dword [esi + edx*4 + 0x14]
call fcn.005e9b60
mov eax, dword [eax]
mov ecx, dword [esi + 0x128]
mov ebx, dword [ecx + eax*4]
mov eax, dword [ebx + 0xc]
test eax, eax
jne case.default.0x5e28a5
mov eax, dword [ebx + 0x14]
cmp eax, 5
ja case.default.0x5e28a5
jmp dword [eax*4 + 0x5e2f4c]
mov edx, dword [edi]
mov ecx, dword [esi + 0x140]
push edx
push ebp
call fcn.005e39f0
test eax, eax
je 0x5e291f
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov ebp, dword [edi + 4]
mov edi, dword [esp + 0x28]
mov dword [ebx + 4], ebp
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x38], ecx
cmp dword [edi + 4], eax
jne 0x5e28f4
test eax, eax
je 0x5e28e7
add eax, eax
jmp 0x5e28ec
mov eax, 0x10
push eax
mov ecx, edi
call fcn.005e0410
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x38]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
inc dword [edi + 4]
inc dword [esi + 0x150]
jmp case.default.0x5e28a5
mov edx, dword [edi]
mov ecx, dword [esi + 0x140]
push edx
call fcn.0063e7c0
mov ebp, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
neg ebp
cmp eax, ebp
jge 0x5e2946
mov dword [esp + 0x20], 0xffffffff
jmp 0x5e2955
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [esp + 0x20], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x140]
push edx
push eax
call fcn.005e3930
cmp eax, ebp
jge 0x5e2971
or eax, 0xffffffff
jmp 0x5e297e
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp eax, edx
setg cl
mov eax, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je case.default.0x5e28a5
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov edi, dword [esp + 0x28]
mov ebp, ecx
mov dword [ebx + 4], ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
cmp ecx, eax
mov dword [esp + 0x64], edx
jne 0x5e29c0
test eax, eax
je 0x5e29b3
add eax, eax
jmp 0x5e29b8
mov eax, 0x10
push eax
mov ecx, edi
call fcn.005e0410
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esp + 0x64]
shl ecx, 4
add ecx, edx
mov edx, dword [esp + 0x60]
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], ebx
inc dword [edi + 4]
inc dword [esi + 0x150]
jmp case.default.0x5e28a5
mov ecx, dword [edi + 4]
add dword [ebx + 0x24], ecx
jmp case.default.0x5e28a5
mov edx, dword [edi + 4]
mov dword [ebx + 4], edx
jmp case.default.0x5e28a5
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi]
cmp ecx, dword [esi + eax*4 + 0x164]
jne 0x5e2a0e
mov edx, dword [edi + 4]
mov dword [ebx + 0x24], edx
jmp case.default.0x5e28a5
mov eax, dword [edi + 4]
mov dword [ebx + 0x34], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + ebp*4 + 0x44]
inc eax
mov dword [esp + ebp*4 + 0x44], eax
mov ecx, dword [esi + 0x158]
xor eax, eax
test ecx, ecx
mov ebx, 1
jle 0x5e2a52
mov edi, ecx
lea ecx, [esp + 0x70]
mov edx, dword [ecx]
cmp dword [esp + eax*4 + 0x44], edx
jae 0x5e2a42
xor ebx, ebx
inc eax
add ecx, 0xc
cmp eax, edi
jl 0x5e2a38
test ebx, ebx
je 0x5e26b0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x5e2b62
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5e2b62
mov ebx, dword [esi + 0x37c]
cmp ebx, 0xffffffff
je 0x5e2ae4
mov ecx, dword [0x74d3cc]
mov ebp, dword [0x74d3ec]
push 0x10
mov dword [esp + 0x14], ecx
call fcn.006fa7e6
mov edi, eax
mov dword [edi], ebx
xor ebx, ebx
push 0x20
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call fcn.006fa7e6
add esp, 8
cmp eax, ebx
je 0x5e2ab8
mov dword [eax], fcn.0063e7f0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x5e2aba
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0xc]
mov dword [eax + 0x1c], ebp
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x10], ebx
mov edx, dword [edi + 0xc]
mov dword [edx + 0x14], ebx
mov ecx, dword [esi + 0x374]
push edi
call fcn.005e9d70
jmp 0x5e2ae6
xor ebx, ebx
mov ebp, dword [esi + 0x380]
cmp ebp, 0xffffffff
je 0x5e2b62
mov eax, dword [0x74d3f0]
mov ecx, dword [0x74d3cc]
push 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.006fa7e6
mov edi, eax
push 0x20
mov dword [edi], ebp
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call fcn.006fa7e6
add esp, 8
cmp eax, ebx
je 0x5e2b34
mov dword [eax], fcn.0063e7f0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x5e2b36
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0xc]
mov dword [eax + 0x1c], ecx
mov edx, dword [edi + 0xc]
mov dword [edx + 0x10], ebx
mov eax, dword [edi + 0xc]
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 0x374]
push edi
call fcn.005e9d70
mov ecx, dword [esi + 0x374]
cmp dword [ecx], 0
je 0x5e2c7c
mov eax, dword [esp + 0xe4]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x374]
call fcn.005e9ce0
mov ebx, eax
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x18]
add eax, dword [esp + 0x14]
mov ecx, dword [esi + eax*4 + 0x14]
lea ebp, [esi + eax*4 + 0x14]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
je 0x5e2c5a
nop
mov ecx, dword [ebp]
push eax
call fcn.005e9b60
mov eax, dword [eax]
mov edx, dword [esi + 0x128]
mov edi, dword [edx + eax*4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x1c]
and eax, 0xff
cmp eax, edx
je 0x5e2bed
mov ecx, dword [ebp]
lea edx, [esp + 0x10]
push edx
call fcn.005e9b90
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5e2bb0
jmp 0x5e2c5a
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ebp, dword [ebx]
mov edx, dword [edi]
mov dword [esp + 0x38], ecx
mov ecx, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebp
call dword [edx]
test eax, eax
je 0x5e2c0e
mov dword [edi + 0x24], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
jne 0x5e2c2f
test eax, eax
je 0x5e2c22
add eax, eax
jmp 0x5e2c27
mov eax, 0x10
push eax
mov ecx, ebp
call fcn.005e0410
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [esp + 0x34]
shl eax, 4
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
inc dword [ebp + 4]
inc dword [esi + 0x150]
mov eax, dword [ebx + 0xc]
push eax
call fcn.006fa390
push ebx
call fcn.006fa390
mov edx, dword [esi + 0x374]
mov eax, dword [edx]
add esp, 8
test eax, eax
jne 0x5e2b82
or eax, 0xffffffff
mov dword [esi + 0x37c], eax
mov dword [esi + 0x380], eax
mov eax, dword [0x7a39e0]
mov ecx, dword [eax + 4]
call fcn.005e9260
xor ebp, ebp
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov edx, dword [esi + 0x13c]
mov ecx, dword [esi + 0x134]
mov ebx, eax
mov dword [esi + 0x13c], eax
mov eax, dword [ecx]
sub ebx, edx
cmp eax, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x5e2d32
jmp 0x5e2cd0
mov ecx, dword [esi + 0x134]
push eax
call fcn.005e9b60
mov eax, dword [eax]
cmp eax, ebp
je 0x5e2d1a
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x5e2d0e
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x18]
mov dword [eax + 0xc], ebp
mov ecx, dword [esi + 0x134]
push edx
call fcn.005e9b90
mov ecx, dword [esi + 0x134]
push edi
call fcn.005e9c10
jmp 0x5e2d2a
sub ecx, ebx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x18]
push eax
jmp 0x5e2d1f
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x134]
call fcn.005e9b90
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x5e2cd0
mov edx, dword [esi + 0x138]
mov eax, dword [edx]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x5e2ee8
mov ebx, dword [esp + 0x28]
lea ebx, [ebx]
mov ecx, dword [esi + 0x138]
push eax
call fcn.005e9b60
mov edi, eax
xor ebp, ebp
cmp edi, ebp
je 0x5e2eb7
mov eax, dword [esp + 0xe4]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call fcn.005e0d80
test eax, eax
je 0x5e2eb7
mov edx, dword [edi]
mov eax, dword [esi + 0x128]
mov edx, dword [eax + edx*4]
mov ecx, dword [edx + 4]
cmp ecx, ebp
mov dword [esp + 0x10], edx
je 0x5e2eab
mov eax, dword [edi + 0xc]
cmp eax, ebp
jne 0x5e2dbd
cmp dword [edi + 0x18], ebp
jne 0x5e2dbd
mov dword [edi + 0xc], 1
mov eax, dword [edx + 4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
jmp 0x5e2eb7
cmp dword [edi + 0x10], ecx
jne 0x5e2ed5
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp dword [edi + 0x18], ebp
mov dword [edi + 0xc], eax
je 0x5e2e4c
cmp eax, dword [edi + 8]
jbe 0x5e2eb7
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], eax
jne 0x5e2df2
mov dword [esp + 0x5c], ebp
mov dword [edi + 0x14], ebp
jmp 0x5e2df9
mov dword [esp + 0x5c], eax
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jne 0x5e2e16
test eax, eax
je 0x5e2e09
add eax, eax
jmp 0x5e2e0e
mov eax, 0x10
push eax
mov ecx, ebx
call fcn.005e0410
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x5c]
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
inc dword [ebx + 4]
inc dword [esi + 0x150]
mov dword [edi + 0xc], 0
xor ebp, ebp
jmp 0x5e2eb7
cmp eax, dword [edi + 4]
jbe 0x5e2eb7
mov dword [edi + 0x14], 0
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
jne 0x5e2e75
test eax, eax
je 0x5e2e68
add eax, eax
jmp 0x5e2e6d
mov eax, 0x10
push eax
mov ecx, ebx
call fcn.005e0410
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
shl edx, 4
add edx, eax
mov dword [edx], ebp
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 0xc], eax
inc dword [ebx + 4]
inc dword [esi + 0x150]
mov dword [edi + 0x18], 1
mov dword [edi + 0xc], 0
xor ebp, ebp
jmp 0x5e2eb7
mov dword [edi + 0xc], ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x138]
call fcn.005e9b90
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x5e2d50
jmp 0x5e2ee8
mov dword [edi + 0xc], 1
mov edx, dword [edx + 4]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], ebp
mov edx, dword [esi + 0x150]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
push ecx
mov ecx, esi
mov dword [eax], edx
call fcn.005e17e0
mov dword [esp + 0x30], 1
push fcn.005e2ff0
push 6
lea edx, [esp + 0x74]
push 0xc
push edx
mov byte [esp + 0xe4], 0
call fcn.006fa852
mov ecx, dword [esp + 0xcc]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 0xc