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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e9226
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x254]
lea edx, [0x679c40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x27
call fcn.0040d430
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
lea ecx, [0x69b640]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0046c2a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
jmp 0x5e8eb9
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edi, dword [esp + 0x38]
inc edi
lea ebx, [eax + ecx + 8]
lea esi, [eax + ebp + 8]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov ebp, edi
cmp ebp, edx
jge 0x5e91d7
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5e8ee6
mov edi, dword [0x8e2600]
mov esi, dword [0x8e2604]
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x5e8f25
mov edi, dword [ecx + 0x28c]
cmp ebx, edi
ja 0x5e921c
mov esi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edi, 3
jbe 0x5e9210
mov edi, dword [ecx + 0x288]
mov esi, dword [esi + edi]
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x38], ebp
lea ebp, [ebp + ebp*4]
mov dword [eax + ebp*4], esi
test edi, edi
jne 0x5e91b3
lea esi, [ebx + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp edi, esi
jae 0x5e8f64
mov esi, dword [0x8e2600]
mov edi, dword [0x8e2604]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x5e8fa7
mov edi, dword [ecx + 0x28c]
cmp edi, esi
jb 0x5e9207
mov edx, dword [ecx + 0x290]
sub edx, ebx
sub edi, ebx
add edi, 0xfffffffc
add edx, 0xfffffffc
neg edx
sar edx, 0x1f
and esi, edx
cmp edi, 3
jbe 0x5e91fb
mov edx, dword [ecx + 0x288]
mov edx, dword [esi + edx]
xor esi, esi
mov dword [esp + 0x28], edx
xor edi, edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ebp*4 + 4], edi
test esi, esi
jne 0x5e918c
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 8]
movzx esi, byte [0x8e3e00]
mov edi, dword [0x8e3e04]
mov ebx, dword [0x8e3e08]
mov eax, dword [0x8e3e0c]
mov dword [esp], ecx
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x58]
lea edx, [eax + ebp*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005e3b10
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5e915d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 8]
movzx ebx, byte [0x8e3e00]
mov ebp, dword [0x8e3e04]
mov esi, dword [0x8e3e08]
mov edi, dword [0x8e3e0c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + edx*4 + 0xc]
mov dword [esp + 0x18], ebp
call fcn.005e3b10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + ecx]
lea ecx, [ebx + ecx + 8]
test eax, eax
jne 0x5e9135
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx + 8]
movzx ebx, byte [0x8e3d60]
mov ebp, dword [0x8e3d64]
mov esi, dword [0x8e3d68]
mov edi, dword [0x8e3d6c]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], bl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
lea ecx, [ebx + ecx*4 + 0x10]
mov dword [esp + 0x18], ecx
call fcn.005e3b10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebx, dword [esp + 0x48]
lea ebp, [edx + ebx]
lea edx, [edx + ebx + 8]
test eax, eax
je 0x5e8e98
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 8
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, 3
mov ecx, edi
call fcn.004714e0
mov eax, esi
mov ecx, edi
call fcn.00471550
mov eax, 3
mov ecx, edi
call fcn.004714e0
mov eax, ebx
mov ecx, edi
call fcn.00471550
nop
call fcn.00470060
jmp fcn.005e8e20