Function at 0x5e4aa0
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 0x5e4f64
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], 6
call fcn.0040d430
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
lea ecx, [0x69ee60]
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 0x5e4b39
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 0x5e4f00
mov dword [esp + 0x30], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5e4b66
mov edi, dword [0x8e2600]
mov esi, dword [0x8e2604]
mov dword [esp + 0x54], esi
xor esi, esi
jmp 0x5e4ba5
mov edi, dword [ecx + 0x28c]
cmp ebx, edi
ja 0x5e4f5a
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 0x5e4f4e
mov edi, dword [ecx + 0x288]
mov esi, dword [edi + esi]
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 0x5e4edc
lea esi, [ebx + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffe
cmp edi, esi
jae 0x5e4be5
mov esi, dword [0x8e2600]
mov edi, dword [0x8e2604]
mov dword [esp + 0x3c], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x3c]
jmp 0x5e4c2a
mov edi, dword [ecx + 0x28c]
cmp edi, esi
jb 0x5e4f45
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, 1
jbe 0x5e4f39
mov edx, dword [ecx + 0x288]
movzx edx, word [esi + edx]
xor esi, esi
mov word [esp + 0x2a], dx
xor edi, edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], edi
lea edi, [eax + ebp*4 + 4]
movzx edx, word [esp + 0x2a]
mov word [edi], dx
test esi, esi
jne 0x5e4eb1
lea edx, [ebx + 6]
mov esi, dword [ecx + 0x2ac]
add esi, 0xfffffffe
cmp esi, edx
jae 0x5e4c62
mov edx, dword [0x8e2600]
mov esi, dword [0x8e2604]
xor edi, edi
jmp 0x5e4ca2
mov esi, dword [ecx + 0x28c]
cmp esi, edx
jb 0x5e4f30
mov edi, dword [ecx + 0x290]
sub edi, ebx
sub esi, ebx
add esi, 0xfffffffa
add edi, 0xfffffffa
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edx, edi
cmp esi, 1
jbe 0x5e4f24
mov edi, dword [ecx + 0x288]
movzx edi, word [edx + edi]
xor edx, edx
xor esi, esi
mov dword [esp + 0x54], esi
lea esi, [eax + ebp*4 + 6]
mov word [esi], di
test edx, edx
jne 0x5e4e86
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 0x5e4e57
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax + 8]
movzx ebx, byte [0x8e3e10]
mov ebp, dword [0x8e3e14]
mov esi, dword [0x8e3e18]
mov edi, dword [0x8e3e1c]
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 0x5e4e2f
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx + 8]
movzx ebx, byte [0x8e3da0]
mov ebp, dword [0x8e3da4]
mov esi, dword [0x8e3da8]
mov edi, dword [0x8e3dac]
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 + 0x48]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebx, dword [esp + 0x44]
lea ebp, [edx + ebx]
lea edx, [edx + ebx + 8]
test eax, eax
je 0x5e4b18
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, 6
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov ecx, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
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, 1
mov ecx, esi
call fcn.004714e0
mov eax, edx
mov ecx, esi
call fcn.00471550
mov eax, 1
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.005e4aa0