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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc8]
cmp eax, dword [ecx + 8]
jbe 0x5efb56
sub esp, 0x148
lea eax, [0x6b2160]
mov dword [esp], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
lea ecx, [0x6f47a0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x154]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0x150]
mov edx, ecx
xor ebx, ebx
jmp 0x5ef15c
mov dword [ebp + ecx*4], eax
mov esi, dword [esp + 0xbc]
add esi, 0xc
lea edi, [ecx + 1]
mov eax, ebp
mov edx, dword [esp + 0x150]
mov ebx, edi
mov ecx, esi
mov ebp, dword [esp + 0x154]
cmp ebp, ebx
jle 0x5ef394
mov dword [esp + 0x74], ebx
mov dword [esp + 0xbc], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [0x8a6c38]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005dedb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ef2f9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 0x4c], 1
jne 0x5ef1f1
mov edx, dword [ecx + 0x50]
lea ebx, [0x6d10e0]
cmp edx, ebx
jne 0x5efb3f
mov dword [esp + 0xac], eax
mov eax, dword [ecx + 0x54]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004da0d0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.005ef010
movzx eax, byte [esp + 8]
test al, al
je 0x5ef255
mov eax, dword [esp + 0xac]
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x5ef208
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xc4]
jmp 0x5ef220
call fcn.004772f0
mov dword [edi], eax
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [ebx + ecx*4]
mov dword [edi + 4], ebp
mov dword [ebx + ecx*4], eax
mov ebp, dword [0x8c88d8]
mov eax, dword [eax]
test ebp, ebp
jne 0x5ef23b
mov ebp, dword [esp + 0xc0]
jmp 0x5ef13e
call fcn.004772f0
mov dword [edi], eax
mov ebp, dword [esp + 0xc0]
mov esi, dword [ebp + ecx*4]
mov dword [edi + 4], esi
jmp 0x5ef13e
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x6c02c0]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
lea eax, [0x71944c]
mov dword [esp], eax
mov dword [esp + 4], 0x43
lea eax, [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c8ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x148
ret
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x715656]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x148
ret
mov ecx, dword [esp + 0x14c]
mov ebx, dword [ecx + 0x2c]
mov esi, dword [ebx + 0xb4]
test esi, esi
je 0x5ef3b4
movzx esi, byte [ecx + 0x94]
xor esi, 1
jmp 0x5ef3b6
xor esi, esi
xchg esi, eax
mov byte [esp + 0x6f], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x5ef522
mov edi, dword [ebx + 0xc0]
test edi, edi
jne 0x5ef484
mov dword [esp], ebx
call fcn.005e0540
lea edi, [esp + 0xc8]
lea esi, [esp + 4]
call fcn.004778be
call fcn.005bc840
mov eax, dword [esp]
mov dword [esp + 0xb8], eax
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.004773d3
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0xe8], ecx
lea edi, [esp + 0xec]
lea esi, [esp + 0xc8]
call fcn.004778be
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x154]
lea edx, [ecx - 1]
mov dword [esp + 0x98], edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
mov ebp, dword [esp + 0xc0]
add edx, ebp
mov dword [esp + 0xb4], edx
xor esi, esi
jmp 0x5efa45
mov dword [esp], ecx
call fcn.005e7d00
lea edi, [esp + 0xdc]
lea esi, [esp + 4]
call fcn.004777f6
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0xc0]
mov ecx, dword [edx]
mov dword [esp + 0x94], ecx
lea edi, [esp]
lea esi, [esp + 0xdc]
call fcn.004777f6
mov ecx, dword [esp + 0x94]
call ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5ef9d5
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x160], eax
add esp, 0x148
ret
movzx edi, byte [ebx + 0x50]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5ef5e3
mov dword [esp], ebx
call fcn.005e0540
lea edi, [esp + 0xc8]
lea esi, [esp + 4]
call fcn.004778be
call fcn.005bc840
mov eax, dword [esp]
mov dword [esp + 0xb8], eax
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.004773d3
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0xe8], ecx
lea edi, [esp + 0xec]
lea esi, [esp + 0xc8]
call fcn.004778be
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x154]
lea edx, [ecx - 1]
mov dword [esp + 0x98], edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
mov ebp, dword [esp + 0xc0]
add edx, ebp
mov dword [esp + 0xb4], edx
xor esi, esi
jmp 0x5ef8be
mov ebx, dword [eax]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x5ef7e6
mov edi, dword [ebx + 8]
cmp edi, 0x4bcec15d
jne 0x5ef60a
lea edi, [0x6d10e0]
cmp ebx, edi
je 0x5ef63b
jmp 0x5ef7e6
cmp edi, 0x8c7bd38d
jne 0x5ef621
lea edi, [0x6ee9c0]
cmp ebx, edi
je 0x5ef63b
jmp 0x5ef7e6
cmp edi, 0xc0d9e4a4
jne 0x5ef7e6
lea edi, [0x6c8960]
cmp ebx, edi
jne 0x5ef7e6
mov dword [ecx + 0x64], ebp
mov dword [ecx + 0x68], ebp
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5ef66f
call fcn.00477310
mov ebx, dword [esp + 0xc4]
mov dword [edi], ebx
mov edx, dword [ecx + 0x60]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov edx, dword [ecx + 0x54]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0xc4]
mov dword [ecx + 0x60], ebx
mov dword [ecx + 0x58], ebp
mov dword [ecx + 0x5c], ebp
mov dword [ecx + 0x54], eax
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5ef720
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ef720
mov ebx, dword [eax]
mov esi, dword [ecx + 0x6c]
mov edi, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x158]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov edx, eax
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5ef6dd
mov ecx, dword [esp + 0x14c]
movzx esi, byte [esp + 0x6f]
jmp 0x5ef720
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x160], eax
add esp, 0x148
ret
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5ef7c9
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ef7c9
mov dword [esp], ecx
call fcn.005e7d00
lea edi, [esp + 0xdc]
lea esi, [esp + 4]
call fcn.004777f6
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x94], ecx
lea edi, [esp]
lea esi, [esp + 0xdc]
call fcn.004777f6
mov ecx, dword [esp + 0x94]
call ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5ef7c9
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x160], eax
add esp, 0x148
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x148
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x2b
call fcn.005e4aa0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
lea eax, [0x719b97]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c8ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x148
ret
mov dword [esp + 0x90], esi
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005bd000
mov eax, dword [esp + 0x90]
lea esi, [eax + 1]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xc0]
cmp esi, ebx
jl 0x5ef874
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xdc]
call fcn.0047786e
call fcn.005c9b60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, ebp
mov ebp, dword [esp + 0x14c]
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], ecx
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5ef917
call fcn.004772f0
mov dword [edi], ebx
mov eax, dword [ebp + 0x6c]
mov dword [edi + 4], eax
mov dword [ebp + 0x6c], ebx
test edx, edx
jne 0x5ef93f
mov eax, dword [esp + 0xc0]
mov ecx, ebp
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x154]
movzx esi, byte [esp + 0x6f]
jmp 0x5ef5e3
mov dword [esp + 0x80], edx
mov dword [esp + 0xb0], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
lea eax, [0x6d4180]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x154]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x5ef993
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb0]
jmp 0x5ef9ab
call fcn.004772f0
mov ecx, dword [esp + 0xc0]
mov dword [edi], ecx
mov edx, dword [esp + 0xb0]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea ecx, [0x734830]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x148
ret
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov ebp, dword [esp + 0x154]
movzx esi, byte [esp + 0x6f]
jmp 0x5ef5e3
mov dword [esp + 0x90], esi
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005bd000
mov eax, dword [esp + 0x90]
lea esi, [eax + 1]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xc0]
cmp esi, ebx
jl 0x5ef9fb
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xdc]
call fcn.0047786e
call fcn.005c9b60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov esi, ebp
mov ebp, dword [esp + 0x14c]
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x74], ecx
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5efa9e
call fcn.004772f0
mov dword [edi], ebx
mov eax, dword [ebp + 0x6c]
mov dword [edi + 4], eax
mov dword [ebp + 0x6c], ebx
test edx, edx
je 0x5ef9d5
mov dword [esp + 0x84], edx
mov dword [esp + 0xb0], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005e4aa0
lea eax, [0x6d4180]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x154]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x5efafd
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb0]
jmp 0x5efb15
call fcn.004772f0
mov ecx, dword [esp + 0xc0]
mov dword [edi], ecx
mov edx, dword [esp + 0xb0]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea ecx, [0x734830]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x148
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6c1300]
mov dword [esp + 8], eax
call fcn.0040b180
nop
call fcn.00475ee0
jmp fcn.005ef0c0