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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x59d7d8
sub esp, 0xf4
mov eax, 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
call fcn.0059bf60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
test ecx, ecx
jne 0x59d127
mov dword [esp + 0x64], ebx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x59d830]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0xf0], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.00467545
mov dword [esp + 0xc0], 0x2c
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x24]
test edx, edx
jne 0x59d0f1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 1
mov edx, 1
lea ebp, [esp + 0x4c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x38], edx
lea eax, [0x5e2d60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044d6b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x59d16a
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
inc ecx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov edx, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x59d248
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x59d244
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], eax
mov eax, dword [0x7cc57c]
lea ecx, [0x5f1fe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.0040efa0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
test cl, cl
je 0x59d233
mov ebx, dword [eax + 4]
test ebx, ebx
jbe 0x59d7c2
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x59d1d6
mov eax, dword [esp + 0x68]
jmp 0x59d212
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5e2d60]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [0x7f7690]
test ecx, ecx
je 0x59d22a
call fcn.004672b0
mov dword [edi], edx
mov ecx, dword [eax + ebx*4 - 4]
mov dword [edi + 4], ecx
mov dword [eax + ebx*4 - 4], edx
jmp 0x59d14f
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x59d14f
xor eax, eax
xor esi, esi
test eax, eax
je 0x59d26f
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], esi
test esi, esi
jbe 0x59d7b9
mov dword [esp + 0xcc], eax
jmp 0x59d290
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xfc]
lea esi, [ecx + 0x10]
mov dword [esp + 0x84], esi
lea edi, [esp + 0xac]
call fcn.00467a2e
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
test ecx, 0x80000000
je 0x59d2e7
mov ebx, edx
shl edx, 1
shl ecx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x59d2f9
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, edx
mov edx, ecx
test ebx, ebx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x59d314
test ebp, 0x3fffffff
sete cl
jmp 0x59d316
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x59d3e7
lea edi, [esp + 0x98]
mov esi, dword [esp + 0x84]
call fcn.00467a2e
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
test ecx, 0x80000000
je 0x59d36e
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x59d380
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov ebp, edx
mov edx, ecx
imul ecx, ebx, 0x3b9aca00
mov eax, 0x3b9aca00
mul edx
add ecx, edx
and ebp, 0x3fffffff
mov edx, ebp
sar ebp, 0x1f
add eax, edx
adc ecx, ebp
add eax, 0x3d1a0000
adc ecx, 0xa1b203eb
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call fcn.0045f950
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xd53e8000
mov dword [esp + 0x54], ecx
adc edx, 0x19db1de
mov dword [esp + 0x58], edx
lea eax, [esp + 0x54]
jmp 0x59d3e9
xor eax, eax
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
call fcn.0047acd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test edx, edx
jne 0x59d5d0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x59d7f0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xec], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
call fcn.0059cbb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
test eax, eax
jne 0x59d590
mov edi, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
inc eax
mov esi, dword [esp + 0x100]
cmp edi, eax
jae 0x59d55a
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x74], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x5e8980]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x104], eax
lea edi, [eax + eax*2]
mov dword [esi + edi*4 - 8], edx
mov dword [esi + edi*4 - 4], ebx
mov ebx, dword [0x7f7690]
test ebx, ebx
je 0x59d588
mov eax, edi
call fcn.004672b0
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [esi + edi*4 - 0xc], ecx
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jbe 0x59d608
jl 0x59d7b4
mov eax, 4
mul ebx
jo 0x59d7a3
mov edi, dword [ecx + 0x18]
mov edx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp eax, edi
ja 0x59d7a3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], edx
xor eax, eax
jmp 0x59d6c0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x59d669
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], esi
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
cmp eax, ebx
jge 0x59d608
mov dword [esp + 0x50], eax
mov ecx, dword [edx + eax*4]
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
call fcn.0059cbb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x59d6a6
mov eax, dword [esp + 0x108]
mov ebp, dword [esp + 0x104]
inc ebp
mov esi, dword [esp + 0x100]
cmp eax, ebp
jae 0x59d76f
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x78], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5e8980]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x104], ebp
lea eax, [ebp + ebp*2]
mov dword [esi + eax*4 - 8], edx
mov dword [esi + eax*4 - 4], ebx
mov ebx, dword [0x7f7690]
test ebx, ebx
je 0x59d79a
call fcn.004672b0
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 0xc], ecx
jmp 0x59d6a6
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x59d7af
call fcn.0045f0e0
call fcn.0045f170
call fcn.0045f0e0
xor eax, eax
mov ecx, eax
call fcn.00467310
xor eax, eax
mov ecx, eax
call fcn.00467310
nop
call fcn.00437230
add esp, 0xf4
ret
call fcn.00465ea0
jmp fcn.0059cfc0