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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6613f5
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x10], 0
mov ecx, dword [0x995310]
test ecx, ecx
je 0x660f16
mov ecx, dword [eax + 0x14]
call fcn.00468e60
mov dword [edi], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x660f33
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x7c]
lea ecx, [eax + 0x24]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], 9
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00660900
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x54]
lea esi, [esp + 0x14]
call fcn.004695f2
lea edi, [esp + 0x48]
lea esi, [esp + 0x54]
call fcn.004695f2
test eax, eax
jne 0x6613ac
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x7c]
cmp dword [ecx + 0x20], eax
jb 0x661378
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x38], edi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.004977b0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x661348
movzx eax, byte [esp + 0x49]
mov byte [esp + 0x33], al
mov eax, dword [0x96e8f8]
lea ecx, [0x6f8460]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x33]
mov dword [esp + 8], eax
call fcn.0040d350
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x66102a
lea eax, [0x758b28]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0x78]
mov edx, dword [ebx + 0x18]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x48]
call fcn.004695f2
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov edx, eax
mov eax, dword [esp + 0x44]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x66116f
mov eax, dword [esp + 0x28]
lea ecx, [0x7b1218]
cmp eax, ecx
jne 0x661143
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
lea ebx, [0x701240]
mov dword [esp], ebx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6610d1
mov ecx, dword [esp + 0x74]
jmp 0x6610dc
call fcn.00468e60
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov edx, dword [esp + 0x7c]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x661102
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7b118c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x78
ret
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00661400
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x661318
mov eax, dword [esp + 0x7c]
movzx ecx, byte [eax + 0x64]
test cl, cl
je 0x661288
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.006656a0
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
lea edx, [0x6f0c40]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
lea ecx, [0x733720]
mov dword [eax], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x661201
mov ecx, dword [esp + 0x7c]
jmp 0x66120c
call fcn.00468e60
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [esp + 0x6c], eax
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov edx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x66124f
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x70]
mov ebx, dword [ecx]
lea ebp, [0x742f08]
mov dword [esp], ebp
mov dword [esp + 4], 0x19
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
mov edx, ecx
call ebx
mov eax, dword [esp + 0x7c]
cmp byte [esp + 0x49], 1
jne 0x6612e8
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x6612e8
mov ecx, dword [esp + 0x74]
lea edx, [0x7b1ddc]
cmp ecx, edx
jne 0x6613d8
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.006646d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x78
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov eax, dword [0x967470]
mov ecx, dword [0x967474]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
add esp, 0x78
ret
mov eax, dword [0x7b1de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7036e0]
mov dword [esp + 8], eax
call fcn.00409a60
nop
call fcn.00467a60
jmp fcn.00660ee0