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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d07b4
sub esp, 0x68
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x10], 0
mov edx, dword [0x8326a0]
lea edi, [ecx + 0x14]
test edx, edx
jne 0x5d078b
mov dword [ecx + 0x14], 0
mov dword [esp + 0x64], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test eax, eax
jne 0x5d077a
lea eax, [ecx + 0x20]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], 9
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005cfd10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
lea esi, [esp + 0x14]
lea edi, [esp + 0x44]
call fcn.0045b482
test eax, eax
jne 0x5d075a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
cmp dword [ecx + 0x1c], eax
jb 0x5d0732
mov edx, dword [ecx + 0x2c]
mov dword [esp], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x6c]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call fcn.00489c50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5d0716
movzx eax, byte [esp + 0x45]
mov byte [esp + 0x2f], al
lea eax, [0x6355c0]
mov dword [esp], eax
mov eax, dword [0x81b500]
mov dword [esp + 4], eax
lea eax, [esp + 0x2f]
mov dword [esp + 8], eax
call fcn.0040c390
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x5d070b
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x74]
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0x44]
call fcn.0045b482
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test ebx, ebx
je 0x5d0562
lea eax, [0x6c8c30]
cmp eax, ebx
jne 0x5d0546
mov eax, dword [ebp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [ebp]
mov dword [esp + 0x40], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
lea ebx, [0x63eca0]
mov dword [esp], ebx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5d0537
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5d052c
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00408b00
mov eax, dword [esp + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6c8bd0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov edi, dword [esp + 0x64]
call fcn.0045ace0
jmp 0x5d04fa
mov edi, eax
mov eax, dword [esp + 0x60]
call fcn.0045ace0
mov eax, edi
jmp 0x5d04e0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
add esp, 0x68
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005d07c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5d06ef
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0x60]
test cl, cl
jne 0x5d0614
cmp byte [esp + 0x45], 1
jne 0x5d05f0
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x5d05f0
mov ecx, dword [esp + 0x30]
lea edx, [0x6c9f30]
cmp ecx, edx
jne 0x5d0797
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.005d3e10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea ebx, [0x6c9f70]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.005d4500
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
lea edx, [0x62ec00]
mov dword [esp], edx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea ecx, [0x668d60]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5d06de
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x633ac0]
mov edx, dword [esp + 0x5c]
mov dword [edx + 8], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5d06d4
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x6c]
lea ebx, [0x67790b]
mov dword [esp], ebx
mov dword [esp + 4], 0x19
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
mov ebx, dword [ecx]
mov edx, ecx
call ebx
mov eax, dword [esp + 0x6c]
jmp 0x5d059a
lea edi, [edx + 0xc]
call fcn.0045ace0
jmp 0x5d0699
lea edi, [eax + 4]
mov eax, dword [esp + 0x6c]
call fcn.0045ace0
jmp 0x5d0667
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
lea eax, [0x689680]
jmp 0x5d0447
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [0x81bd40]
mov ecx, dword [0x81bd44]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov eax, dword [eax + 0x14]
mov dword [esp], edx
call eax
mov ecx, dword [esp + 0x6c]
jmp 0x5d035e
xor eax, eax
call fcn.0045ace0
jmp 0x5d034c
mov dword [esp], ecx
lea eax, [0x65e8c0]
mov dword [esp + 4], eax
lea eax, [0x640300]
mov dword [esp + 8], eax
call fcn.00408960
nop
call fcn.00459790
jmp fcn.005d0310