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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e9b3d
add esp, 0xffffff80
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 4]
mov eax, dword [esp + 0x88]
cmp eax, ebx
jg 0x5e9a88
xor ecx, ecx
jmp 0x5e97bb
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
cmp eax, ecx
jle 0x5e9955
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
cmp ecx, ebx
jae 0x5e9a7f
mov dword [esp + 0x28], ecx
lea eax, [ecx + ecx*4]
lea esi, [ebp + eax*4]
lea edi, [esp + 0x6c]
call fcn.0045ffae
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x3c], ecx
add ecx, 1
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [edx + 0x14]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea eax, [0x660f20]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0040f8e0
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x40]
add edx, ecx
mov edx, dword [esp + 0x38]
adc edx, eax
mov eax, dword [esp + 0x3c]
add eax, 1
adc edx, 0
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
cmp dword [eax], ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp dword [eax + 4], edx
sete al
and ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e9896
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
lea ebp, [0x660f20]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00410310
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x84]
mov esi, dword [ebp + 0x18]
lea edi, [0x6611a0]
mov dword [esp], edi
mov dword [esp + 4], esi
lea esi, [esp + 0x4c]
mov dword [esp + 8], esi
call fcn.0040c2a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
sete cl
mov edx, dword [esp + 0x34]
cmp dword [eax + 4], edx
sete al
and ecx, eax
test cl, cl
jne 0x5e990c
jmp 0x5e97a6
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x18]
lea edx, [0x6611a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.0040ccd0
jmp 0x5e97a6
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
cmp eax, ecx
ja 0x5e9a7a
lea edx, [0x67f660]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea edx, [eax + eax*4]
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and edx, ebp
add edx, ebx
mov dword [esp + 0xc], edx
sub ecx, eax
mov dword [esp + 0x10], ecx
call fcn.00410b00
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x88]
sub ecx, edx
jmp 0x5e99b8
mov ebp, dword [esp + 0x24]
lea ecx, [ebp + 1]
mov eax, ebx
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax]
cmp ecx, ebx
jge 0x5e9a0b
jae 0x5e9a71
mov dword [esp + 0x24], ecx
lea ebx, [ecx + ecx*4]
lea edi, [esi + ebx*4]
mov ebx, dword [0x894e10]
test ebx, ebx
jne 0x5e99e9
mov ebx, eax
xor eax, eax
call fcn.0045facb
jmp 0x5e99af
lea eax, [0x67f660]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00410bd0
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
jmp 0x5e99af
sub ebx, edx
cmp ebp, ebx
jb 0x5e9a68
mov dword [eax + 4], ebx
mov ecx, dword [eax + 0xc]
mov ebx, edx
add edx, ecx
mov ebp, dword [eax + 0x10]
mov esi, ebx
sar ebx, 0x1f
add esi, ecx
adc ebx, ebp
cmp edx, ecx
setb cl
cmp ebp, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and ecx, ebp
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5e9a50
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
sub esp, 0xffffff80
ret
lea eax, [0x65f240]
mov dword [esp], eax
lea eax, [0x702fd0]
mov dword [esp + 4], eax
call fcn.004341e0
mov ecx, ebx
mov edx, ebp
call fcn.0045f8f0
mov eax, ecx
mov ecx, ebx
call fcn.0045f8b0
call fcn.0045f910
mov eax, ecx
mov ecx, ebx
call fcn.0045f8b0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], eax
call fcn.00408cb0
mov eax, dword [esp + 4]
lea ecx, [0x65ea00]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00408cb0
mov eax, dword [esp + 4]
lea ecx, [0x65ea00]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x6a09be]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c36d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408dc0
mov eax, dword [esp + 8]
lea ecx, [0x65f240]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004341e0
nop
call fcn.0045e420
jmp fcn.005e9770