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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c868e
sub esp, 0x64
lea eax, [0x6077c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404620
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea ecx, [0x60a140]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
jmp 0x5c83df
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046fae0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.005306e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5c8681
mov eax, dword [esp + 0x68]
test byte [eax], al
lea ecx, [eax + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.0046f740
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x48]
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 + 0x68]
mov ebp, dword [ebx + 0x68]
lea esi, [0x60e7e0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.0040efc0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5c83cf
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x68]
mov ebp, dword [esp + 0x20]
lea esi, [0x60e7e0]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
call fcn.0040f130
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x816df0]
test eax, eax
jne 0x5c84d1
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
jmp 0x5c84da
mov eax, dword [esp + 0x3c]
call fcn.0045e5d0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046fae0
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0xd8]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.0046f740
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x74]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 5], edx
mov dword [esp + 9], ecx
call fcn.005b8b20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5c8659
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x6c]
mov dword [esp], ecx
call fcn.0058bee0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5c8631
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046fae0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x18]
lea edi, [esp + 0x4c]
mov ebx, eax
xor eax, eax
call fcn.0045e87a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x4c]
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], 3
mov byte [esp + 0x14], 1
call fcn.00444290
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5c861b
cmp eax, 1
je 0x5c85f7
cmp eax, 2
jne 0x5c868d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046fae0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046fae0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x64
ret
nop
call fcn.0045d190
jmp fcn.005c8380