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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59cb5c
sub esp, 0x68
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0045e873
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
lea ebp, [0x613d20]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00409090
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + 0x4c]
mov dword [esp + 0x50], edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 0xa
call fcn.00483bc0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x59cb4a
mov ecx, dword [esp + 0x6c]
cmp byte [ecx + 0x4c], 0x1f
jne 0x59c5d9
cmp byte [ecx + 0x4d], 0x8b
jne 0x59c5d9
cmp byte [ecx + 0x4e], 8
je 0x59c5f7
mov eax, dword [0x7ef680]
mov ecx, dword [0x7ef684]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x68
ret
mov edx, dword [ecx + 0x50]
test edx, edx
seta bl
movzx ebp, byte [ecx + 0x4f]
xchg ebp, eax
mov byte [esp + 0x27], al
xchg ebp, eax
and ebx, 1
test bl, bl
je 0x59c655
add edx, 0x7791f700
lea edi, [esp + 0x54]
mov eax, 0
call fcn.0045e87b
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
adc eax, 0xe
mov dword [esp + 0x60], eax
mov ecx, dword [0x7e9908]
mov dword [esp + 0x64], ecx
lea edi, [esp + 0x84]
lea esi, [esp + 0x54]
call fcn.0045ed5e
mov ecx, dword [esp + 0x6c]
movzx eax, byte [ecx + 0x55]
mov byte [esp + 0xa0], al
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0x200
call fcn.0059ba90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x44], eax
movzx eax, byte [esp + 0x27]
test al, 4
je 0x59c8bd
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
lea ebx, [0x613d20]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.00483bc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x59c750
mov ebp, dword [0x7ef7ec]
cmp dword [0x7ef7e8], edx
jne 0x59c73e
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00403610
movzx eax, byte [esp + 0xc]
test al, al
je 0x59c736
mov eax, dword [0x7ef810]
mov ecx, dword [0x7ef814]
jmp 0x59c73e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x68
ret
mov eax, dword [0x7ef114]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call fcn.0059b780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x44], eax
movzx eax, word [ecx + 0x4c]
mov dword [esp + 0x34], eax
lea edx, [0x60da40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447550
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
lea ebp, [0x613d20]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00409090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.00483bc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x59c869
mov ebp, dword [0x7ef7ec]
cmp dword [0x7ef7e8], edx
jne 0x59c857
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00403610
movzx eax, byte [esp + 0xc]
test al, al
je 0x59c84f
mov eax, dword [0x7ef810]
mov ecx, dword [0x7ef814]
jmp 0x59c857
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x68
ret
mov eax, dword [0x7ef114]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
call fcn.0059b780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0x27]
test al, 8
je 0x59c8fd
mov dword [esp], ecx
call fcn.0059c2e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x59cb38
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x6c]
test al, 0x10
je 0x59c937
mov dword [esp], ecx
call fcn.0059c2e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x59cb26
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x6c]
test al, 2
je 0x59ca0f
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x34]
lea ebx, [0x613d20]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
mov dword [esp + 0x14], 2
call fcn.00483bc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x59c9fb
mov ebp, dword [0x7ef7ec]
cmp dword [0x7ef7e8], edx
jne 0x59c9e9
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00403610
movzx eax, byte [esp + 0xc]
test al, al
je 0x59c9e1
mov eax, dword [0x7ef810]
mov ecx, dword [0x7ef814]
jmp 0x59c9e9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x44]
cmp word [eax + 0x4c], cx
jne 0x59cb08
mov ecx, eax
mov dword [ecx + 0x44], 0
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x40]
test eax, eax
je 0x59ca98
mov dword [esp + 0x48], edx
lea ecx, [0x613780]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409110
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x38]
lea ebx, [0x613d20]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00409090
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
jmp 0x59caee
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
lea ebx, [0x613d20]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0059aac0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x59cae6
mov dword [edx + 0x40], eax
jmp 0x59caee
lea edi, [edx + 0x40]
call fcn.0045e5d0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x68
ret
mov eax, dword [0x7ef680]
mov ecx, dword [0x7ef684]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x68
ret
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x68
ret
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
add esp, 0x68
ret
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
add esp, 0x68
ret
call fcn.0045d190
jmp fcn.0059c530