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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x65a711
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00655970
lea edi, [esp + 0x60]
lea esi, [esp + 4]
call fcn.00471f3e
mov eax, dword [esp + 0x60]
cmp eax, 0xc
jg 0x65a1fd
cmp eax, 5
jle 0x65a15b
cmp eax, 9
je 0x65a063
cmp eax, 0xa
jne 0x65a012
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x14]
test ecx, 2
jne 0x65a00b
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x58], ebx
mov ebp, dword [eax + 0x20]
mov dword [esp + 0x90], ebp
xor esi, esi
jmp 0x65a6a1
xor ecx, ecx
jmp 0x65a582
cmp eax, 0xc
jne 0x65a43e
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea eax, [0x7009a7]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], 0x11
call fcn.00657970
mov eax, dword [esp + 0x10]
lea ecx, [0x7649a8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x94
ret
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x64]
cmp edx, 1
jb 0x65a576
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x68]
lea ecx, [edx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x7609a0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004b7aa0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
lea ebx, [0x6d6ec0]
mov dword [esp], ebx
call fcn.0040c000
mov eax, dword [0x95f020]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65a0f6
mov eax, dword [esp + 0x98]
jmp 0x65a104
call fcn.004717c0
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 8
mov eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x95f020]
test eax, eax
jne 0x65a132
mov eax, dword [esp + 0x5c]
jmp 0x65a13d
call fcn.004717c0
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov dword [ecx + 0xc], eax
lea eax, [0x76493c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
cmp eax, 1
jne 0x65a1ee
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x6c], 4
jne 0x65a182
mov ecx, dword [esp + 0x68]
cmp dword [ecx], 0x65757274
sete cl
jmp 0x65a184
xor ecx, ecx
mov byte [esp + 0x27], cl
lea eax, [0x6d6c40]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [0x95f020]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65a1ad
mov eax, dword [esp + 0x98]
jmp 0x65a1bb
call fcn.004717c0
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 2
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
movzx eax, byte [esp + 0x27]
mov byte [ecx + 0xc], al
lea eax, [0x764960]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
cmp eax, 3
je 0x65a20f
cmp eax, 5
je 0x65a20f
jmp 0x65a43e
cmp eax, 0x13
jg 0x65a427
cmp eax, 0xd
jne 0x65a2d3
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.00653c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x65a2b8
mov dword [esp + 0x7c], ecx
nop
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
je 0x65a26a
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea eax, [0x6f6893]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00655a50
mov ecx, dword [esp + 0x7c]
lea eax, [0x764984]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
cmp eax, 0xf
je 0x65a2e1
cmp eax, 0x13
jne 0x65a43e
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c8df0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x65a377
nop
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
je 0x65a32d
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea ecx, [0x6f6893]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
lea ecx, [esp + 0x88]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00655a50
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x48], edx
lea ebx, [0x6da840]
mov dword [esp], ebx
call fcn.0040c000
mov eax, dword [0x95f020]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65a3b4
mov eax, dword [esp + 0x98]
jmp 0x65a3c2
call fcn.004717c0
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 0x10
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [0x95f020]
test eax, eax
jne 0x65a3ed
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
jmp 0x65a3ff
call fcn.004717d0
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov edx, dword [esp + 0x74]
mov dword [edi + 4], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], edx
lea eax, [0x7649cc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
cmp eax, 0x15
je 0x65a532
cmp eax, 0x1a
je 0x65a4cc
cmp eax, 0x1f
je 0x65a466
nop
mov eax, dword [esp + 0x98]
inc dword [eax + 0x6c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
lea ecx, [0x6d0080]
mov dword [esp], ecx
call fcn.0040c000
mov eax, dword [0x95f020]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65a493
mov eax, dword [esp + 0x98]
jmp 0x65a4a1
call fcn.004717c0
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 0xc
mov eax, dword [esp + 0x40]
mov dword [ecx + 4], eax
lea eax, [0x764918]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
lea ecx, [0x6d0000]
mov dword [esp], ecx
call fcn.0040c000
mov eax, dword [0x95f020]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x65a4f9
mov eax, dword [esp + 0x98]
jmp 0x65a507
call fcn.004717c0
mov eax, dword [esp + 0x98]
mov dword [edi], eax
mov dword [ecx + 8], eax
mov dword [ecx], 5
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
lea eax, [0x7648f4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0065a760
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x94
ret
mov eax, 1
xor ecx, ecx
call fcn.004718a0
test cl, cl
je 0x65a604
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004663d0
mov eax, dword [esp + 8]
lea ecx, [0x6a7120]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea ecx, [0x70153c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x17
lea ecx, [esp + 0x88]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00655a50
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x84], ecx
lea edx, [0x6d7000]
mov dword [esp], edx
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax], 9
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x65a649
mov ecx, dword [esp + 0x84]
jmp 0x65a657
call fcn.004717c0
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
jne 0x65a66d
mov ecx, dword [esp + 0x98]
jmp 0x65a67b
call fcn.004717c0
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
lea ecx, [0x76478c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x94
ret
inc esi
cmp esi, ebx
jge 0x65a709
mov edi, dword [ebp + esi*4]
test edi, edi
je 0x65a6a0
mov dword [esp + 0x54], esi
lea eax, [0x6abdc0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e320
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x65a6f8
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x54]
jmp 0x65a6a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
mov eax, dword [esp + 0x98]
setge cl
jmp 0x65a582
call fcn.004703c0
jmp fcn.00659f70