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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x148]
cmp eax, dword [ecx + 8]
jbe 0x59cc56
sub esp, 0x1c8
mov eax, dword [esp + 0x1d0]
mov ecx, dword [eax]
test byte [eax], al
mov ecx, dword [ecx + 0x68]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov edx, dword [esp + 0x1cc]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebp
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea ebx, [esp + 0xdc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.005c8b70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x59c311
mov dword [esp + 0x48], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x1cc]
mov dword [esp], eax
mov ecx, dword [esp + 0x1d4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1d8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0xc], ecx
call fcn.0059bf40
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0xa0]
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x34]
mov edx, dword [esp + 0x1cc]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
call fcn.005cc610
mov eax, dword [esp + 0x10]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
call fcn.005cc2a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
lea eax, [0x61c079]
mov dword [esp], eax
mov dword [esp + 4], 0xa
lea eax, [esp + 0xf0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004e18f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x48]
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x78], ebp
jmp 0x59c333
add esp, 0x1c8
ret
mov ecx, dword [esp + 0xc8]
lea edx, [ecx + 0xc]
mov ecx, dword [esp + 0x78]
inc ecx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
jge 0x59c365
mov dword [esp + 0xc8], edx
mov ebx, dword [edx]
mov dword [esp + 0x90], ebx
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
jmp 0x59cbb9
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x59c37c
mov edx, dword [esp + 0x44]
jmp 0x59c50d
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x98], esi
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x1cc]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.005bb400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
lea eax, [0x61c4fa]
mov dword [esp], eax
mov dword [esp + 4], 0xb
lea eax, [esp + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e18f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ec90
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xa4], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x44], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00409b20
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x40]
cmp edx, eax
jb 0x59c490
mov esi, dword [esp + 0x98]
jmp 0x59c4d5
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5f12a0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
mov edx, ebp
lea ebx, [esi + eax*8 - 8]
lea ebp, [0x5f1960]
mov dword [ebx], ebp
lea edi, [esi + eax*8 - 4]
mov ebx, dword [0x7f8db0]
test ebx, ebx
jne 0x59c4f3
mov dword [edi], ecx
jmp 0x59c4fe
mov ebx, eax
mov eax, ecx
call fcn.00464380
mov eax, ebx
mov ebp, edx
mov edi, eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x1d0]
mov ebx, dword [ecx]
mov ecx, dword [ebx + 0x40]
mov ebx, dword [ebx + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.005cd0b0
mov eax, dword [esp + 8]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
call fcn.00409b20
mov eax, dword [esp + 0xac]
mov dword [esp], eax
lea eax, [0x5f1960]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.005ae500
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
call fcn.005aff10
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
je 0x59c610
mov edx, dword [esp + 0x1cc]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b3720
nop
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x59c6a9
nop
movzx ecx, byte [0x7d3b68]
test cl, cl
je 0x59c663
mov ecx, dword [esp + 0xd0]
mov dword [0x7d3b6c], ecx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x59c64f
mov eax, dword [esp + 0x9c]
mov dword [0x7d3b70], eax
jmp 0x59c671
lea edi, [0x7d3b70]
mov eax, dword [esp + 0x9c]
call fcn.00464380
jmp 0x59c671
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x59c6a1
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x59c6af
or edx, 0x80
jmp 0x59c6af
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x59c6af
xor edx, edx
xor ecx, ecx
xor eax, eax
nop
jmp 0x59c6ce
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004bd5d0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 0x16
je 0x59c6b2
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp], eax
call fcn.005bb130
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, ecx
and ecx, 0x1f
cmp ecx, 0x17
je 0x59c731
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
xor ebp, ebp
jmp 0x59cab6
mov dword [esp + 0x68], ebx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], eax
lea edi, [esp + 0x100]
xor eax, eax
call fcn.004645c9
lea edi, [esp + 0x11c]
call fcn.004645a5
lea ecx, [esp + 0x11c]
mov dword [esp + 0x10c], ecx
call fcn.0044fff0
mov ecx, dword [esp]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
xor eax, eax
jmp 0x59c7b1
mov esi, dword [esp + 0x60]
lea eax, [esi + 1]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x60], eax
cmp ecx, 0x17
jne 0x59c7bf
mov esi, dword [ebx + 4]
jmp 0x59c7ed
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004bf170
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
cmp eax, esi
jge 0x59c8eb
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004be220
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0xc0], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0xbc], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x64], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.005cd210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409ba0
mov eax, dword [esp + 0xc]
lea ecx, [0x5e6100]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005ccde0
lea eax, [0x5f3f60]
mov dword [esp], eax
lea ecx, [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.00410c50
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov eax, dword [0x7f8db0]
test eax, eax
jne 0x59c8cb
mov eax, dword [esp + 0xc0]
mov dword [edi], eax
mov eax, dword [esp + 0xbc]
mov dword [edi + 4], eax
jmp 0x59c794
mov eax, dword [esp + 0xc0]
call fcn.00464380
add edi, 4
mov eax, dword [esp + 0xbc]
call fcn.00464380
jmp 0x59c794
xor eax, eax
jmp 0x59c8f6
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xc8]
cmp dword [ecx + 4], eax
jle 0x59ca66
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004be220
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x59ca89
mov dword [esp + 0x70], ebx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0xa0]
mov ebp, dword [edx + 0x38]
mov esi, dword [edx + 0x3c]
mov edi, dword [edx + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.005cd210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409ba0
mov eax, dword [esp + 0xc]
lea ecx, [0x5e6100]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005ccde0
lea eax, [0x5f3f60]
mov dword [esp], eax
lea ecx, [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.004108f0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
test cl, cl
je 0x59c8ef
mov dword [esp + 0xc0], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x1d0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004bde90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
call fcn.004c0f10
jmp 0x59c8ef
add esp, 0x1c8
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004bd5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 0x16
je 0x59ca6d
jmp 0x59c93a
mov esi, dword [esp + 0x5c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x5c], ebp
cmp eax, 0x17
jne 0x59cac4
mov esi, dword [edx + 4]
jmp 0x59caf2
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004bf170
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x5c]
cmp ebp, esi
jge 0x59ca66
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.004be220
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
lea eax, [0x61a0c0]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.00409940
mov eax, dword [esp + 0x1d0]
mov dword [esp], eax
lea ecx, [0x61a0c0]
mov dword [esp + 4], ecx
call fcn.005a8dc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x59ca99
mov edx, dword [esp + 0x1cc]
mov ebx, dword [edx + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005b3720
jmp 0x59ca99
mov ecx, dword [esp + 0x74]
inc ecx
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc8]
mov edx, dword [esp + 0x74]
cmp edx, ecx
jge 0x59c318
lea ebx, [ebx + edx*8]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
lea edx, [edi + 1]
cmp ebp, edx
jae 0x59cc1f
mov dword [esp + 0x94], ecx
mov dword [esp + 0x34], ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f12a0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x34]
mov edi, ebp
lea ebp, [esi + edx*8 - 8]
mov dword [ebp], ebx
lea ebx, [esi + edx*8 - 4]
mov ebp, dword [0x7f8db0]
test ebp, ebp
jne 0x59cc3d
mov dword [ebx], ecx
jmp 0x59cb94
mov ebp, edi
mov edi, ebx
mov eax, ecx
call fcn.00464380
mov eax, dword [esp + 0xa4]
mov edi, ebp
jmp 0x59cb94
call fcn.00462f70
jmp fcn.0059c0a0