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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59cfa7
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x59ccff
cmp ecx, 1
je 0x59cc97
cmp ecx, 0x10
jne 0x59cc2f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x607340]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409a90
mov eax, dword [esp + 8]
lea ecx, [0x66a05c]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x59cd03
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x6073c0]
mov dword [esp], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00409a90
mov eax, dword [esp + 8]
lea ecx, [0x66a084]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x59cd03
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x607340]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409a90
mov eax, dword [esp + 8]
lea ecx, [0x66a05c]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x59cd03
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x59ce65
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x59cd77
mov edx, dword [ecx + 4]
test edx, edx
je 0x59cd77
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0059c6c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x59cd3c
mov eax, dword [esp + 0x78]
jmp 0x59cd77
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0059c3a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x59ce2a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x59cdd0
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
lea ebx, [edx - 1]
neg ebx
sar ebx, 0x1f
and ebx, 4
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
add ebx, ebp
mov dword [esp + 0x48], ebx
lea esi, [ecx - 1]
mov dword [esp + 0x38], esi
xor eax, eax
jmp 0x59ce99
lea eax, [0x5f7ae0]
mov dword [esp], eax
call fcn.0040c490
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3d
lea ecx, [0x62dc3c]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x669cac]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
inc eax
cmp eax, esi
jge 0x59cf72
mov edi, dword [ebx + eax*4]
cmp dword [edi + 0x4c], 3
jne 0x59ce98
cmp eax, ecx
jae 0x59cfa1
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + eax*4]
mov edx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x50]
mov edi, dword [edi + 0x54]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov byte [esp + 0x24], 1
call fcn.005a37c0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x59cf37
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
jmp 0x59ce98
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x70
ret
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
call fcn.00467310
nop
call fcn.00465ea0
jmp fcn.0059cbb0