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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e8a38
sub esp, 0x70
lea eax, [0x62e780]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404540
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea ecx, [0x630e60]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
jmp 0x5e875f
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004708f0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.00516240
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
test edx, edx
jne 0x5e8a25
mov eax, dword [esp + 0x74]
test byte [eax], al
lea ecx, [eax + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
call fcn.00470550
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x70]
lea esi, [0x635400]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.0040ee30
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5e874f
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x70]
mov ebp, dword [esp + 0x20]
lea esi, [0x635400]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
call fcn.0040efa0
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5e8869
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
jmp 0x5e8872
mov eax, dword [esp + 0x3c]
call fcn.0045f3a0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004708f0
lea eax, [0x62e500]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404540
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x645560]
mov dword [esp], ecx
call fcn.0040b470
mov eax, dword [esp + 4]
lea ecx, [0x5e8a50]
mov dword [eax], ecx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5e88d7
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
jmp 0x5e88ff
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.0045f3a0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x44]
call fcn.0045f3a0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x38]
call fcn.0045f3a0
mov eax, ecx
mov dword [esp], eax
call fcn.0043f4c0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x18]
lea edi, [esp + 0x50]
mov ebx, eax
xor eax, eax
call fcn.0045f638
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
lea eax, [esp + 0x50]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 4
mov byte [esp + 0x14], 1
call fcn.004451f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e8a09
cmp eax, 1
je 0x5e89df
cmp eax, 2
je 0x5e89c5
cmp eax, 3
jne 0x5e8a37
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x70
ret
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
nop
call fcn.0045df90
jmp fcn.005e8700