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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e8f88
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5e8ed9
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
mov byte [esp + 0x2e], dl
mov byte [esp], 7
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.005e8680
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
test edx, edx
jne 0x5e8eab
mov dword [esp + 0x38], ebp
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov ecx, ebx
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x5e8b5a
mov edx, ebx
sar ebx, 0x1f
cmp esi, ebx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp edi, edx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5e8b0e
mov ebp, dword [esp + 0x38]
mov edi, edx
jmp 0x5e8b5a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [0x86dabc]
mov ecx, dword [0x86dab8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
cmp edi, ebp
seta bl
mov edi, ebp
sar ebp, 0x1f
cmp esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and ebx, ebp
or ebx, edi
test bl, bl
jne 0x5e8e63
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
movzx ebx, byte [esp + 0x2e]
test bl, 0x80
je 0x5e8dbf
movzx ebx, byte [esp + 0x70]
test bl, bl
jne 0x5e8ba8
xor ecx, ecx
jmp 0x5e8cf4
lea eax, [0x868090]
mov dword [esp], eax
call fcn.00466d20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x68a240]
cmp ecx, edx
jne 0x5e8f68
nop
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ebx, [0x5e8fa0]
mov dword [esp + 0x48], ebx
lea ebx, [0x868090]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x2f], 1
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5e8f5b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x5e8f56
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005e9030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5e8d5b
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x5e8f51
mov dword [esp], 0
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
lea edx, [ebx + ebp]
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044bc20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, 1
test esi, esi
jne 0x5e8f4a
cmp eax, edx
ja 0x5e8f43
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x44]
add ebx, esi
mov dword [esp + 0x7c], ebx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
test cl, 1
je 0x5e8d57
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
movzx ebx, byte [esp + 0x70]
test bl, bl
je 0x5e8e10
test esi, esi
jne 0x5e8f38
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
ja 0x5e8f2f
mov dword [esp], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044bc20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5e8f28
cmp eax, edx
ja 0x5e8f21
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x44]
add ecx, ebp
mov dword [esp + 0x7c], ecx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [0x86dac4]
mov ecx, dword [0x86dac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [0x86dac4]
mov ecx, dword [0x86dac0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov ecx, edx
call fcn.0045f920
mov ecx, edx
call fcn.0045fa30
mov ecx, eax
mov edx, ebx
call fcn.0045f900
mov ecx, eax
mov edx, dword [esp + 0x3c]
call fcn.0045f9f0
mov ecx, edx
call fcn.0045f920
mov ecx, edx
call fcn.0045fa30
call fcn.0045f910
call fcn.0045f900
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
call fcn.0045f9f0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x65eb40]
mov dword [esp + 8], eax
call fcn.00408a10
nop
call fcn.00433730
add esp, 0x5c
ret
call fcn.0045e420
jmp fcn.005e89f0