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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a0146
sub esp, 0x60
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.004b9ad0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x5a012d
mov dword [esp + 0x38], eax
mov dword [esp], 0xc
lea eax, [0x61e7c8]
mov dword [esp + 4], eax
call fcn.00425a90
test eax, eax
jne 0x5a0123
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
xor edx, edx
jmp 0x59fe58
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x5a0109
mov dword [esp + 0x28], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.004ba420
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x5a00f7
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
test byte [eax], al
mov dword [esp], 0xc
lea ecx, [eax + 0x10]
mov dword [esp + 4], ecx
call fcn.00425a90
test eax, eax
jne 0x5a00ed
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x44]
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
lea ebx, [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b8810
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
lea edx, [0x63ee40]
test byte [edx], al
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call fcn.004be200
movzx eax, byte [esp + 4]
test al, al
je 0x59ff67
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004be660
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049a000
jmp 0x59fe49
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
lea edx, [0x60b2b6]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004b54a0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jle 0x5a00e4
mov ecx, dword [esp + 0x20]
cmp eax, ecx
ja 0x5a013f
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.004be660
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0049a000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5a00d2
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004be660
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x241
mov dword [esp + 0xc], eax
call fcn.00498c10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5a00c0
mov dword [esp + 0x3c], edx
mov dword [esp + 8], edx
mov dword [esp], 0xc
lea eax, [0x61ea24]
mov dword [esp + 4], eax
call fcn.00425a90
test eax, eax
jne 0x5a00b6
lea eax, [0x5d75c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0040b9b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [0x63d2e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00451dc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x59fe49
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.004262b0
add esp, 0x60
ret
nop
call fcn.004262b0
add esp, 0x60
ret
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
nop
call fcn.004262b0
add esp, 0x60
ret
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.004262b0
add esp, 0x60
ret
xor eax, eax
xor edx, edx
jmp 0x59ffaa
nop
call fcn.004262b0
add esp, 0x60
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
nop
call fcn.004262b0
add esp, 0x60
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.004262b0
add esp, 0x60
ret
nop
call fcn.004262b0
add esp, 0x60
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
nop
call fcn.004262b0
add esp, 0x60
ret
call fcn.00425870
ud2
call fcn.0044a470
jmp fcn.0059fdc0