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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x660b4b
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x32c]
mov edx, dword [eax + 0x330]
mov dword [esp + 0x44], edx
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x60]
call fcn.00465fea
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
lea edi, [esp + 0x78]
lea esi, [esp + 0x60]
call fcn.004664c4
lea edi, [esp + 0x48]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x48]
lea esi, [esp + 0x78]
call fcn.004664c4
lea edi, [esp]
lea esi, [esp + 0x48]
call fcn.004664c4
mov eax, dword [esp + 0xdc]
lea ecx, [eax + 0x1e0]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x18], ecx
call fcn.004dfbe0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xb8], ebx
mov ebp, dword [esp + 0xe0]
mov esi, dword [ebp + 8]
mov dword [esp + 0x44], esi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x34], edi
nop
mov ebx, dword [esp + 0xdc]
mov edx, dword [ebx + 0x1e8]
add edx, 0x11
mov ecx, dword [ebx + 0x1ec]
mov eax, dword [ebx + 0x1e4]
cmp ecx, edx
jae 0x660841
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x11
lea eax, [0x69be80]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xb4], eax
lea ebx, [edx + eax - 0x11]
mov dword [esp], ebx
mov dword [esp + 4], 0x11
call fcn.00466510
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xdc]
mov dword [ecx + 0x1e8], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x1ec], eax
mov eax, dword [0x1eaa9f0]
test eax, eax
jne 0x660898
mov edx, dword [esp + 0xb4]
mov dword [ecx + 0x1e4], edx
jmp 0x6608aa
lea edi, [ecx + 0x1e4]
mov eax, dword [esp + 0xb4]
call fcn.00465d80
mov edx, dword [ecx + 0x1f4]
inc edx
mov ebx, dword [ecx + 0x1f0]
mov ebp, dword [ecx + 0x1f8]
cmp ebp, edx
jae 0x660924
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x69b740]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x1f8], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x66090e
mov dword [ebx + 0x1f0], eax
jmp 0x660919
lea edi, [ebx + 0x1f0]
call fcn.00465d80
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0xdc]
mov dword [ecx + 0x1f4], edx
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x687600]
mov dword [ebp], esi
lea edi, [ebx + edx*8 - 4]
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x660950
mov edx, dword [esp + 0xe0]
mov dword [edi], edx
jmp 0x66095c
mov eax, dword [esp + 0xe0]
call fcn.00465d80
mov edx, dword [ecx + 0x1e8]
mov ebx, dword [ecx + 0x1e4]
mov ebp, dword [ecx + 0x1ec]
lea eax, [edx - 0x11]
cmp edx, eax
jb 0x660b43
sub ebp, edx
lea ecx, [ebp + 0x11]
neg ecx
sar ecx, 0x1f
and ecx, eax
mov byte [ebx + ecx], 0xc9
lea eax, [ebp + 0x10]
neg eax
sar eax, 0x1f
and eax, 1
add ecx, ebx
mov dword [ecx + eax], 0
lea eax, [ebp + 0xc]
neg eax
sar eax, 0x1f
and eax, 5
mov dword [ecx + eax], 0
lea eax, [ebp + 8]
neg eax
sar eax, 0x1f
and eax, 9
mov edx, dword [esp + 0x44]
mov dword [ecx + eax], edx
lea eax, [ebp + 4]
neg eax
sar eax, 0x1f
and eax, 0xd
mov edx, dword [esp + 0x34]
mov dword [ecx + eax], edx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], eax
call fcn.004dfe50
mov eax, dword [esp + 0xdc]
lea esi, [eax + 0x334]
lea edi, [esp + 0xc4]
call fcn.004664ce
lea edi, [esp]
lea esi, [esp + 0xc4]
call fcn.004664ce
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], ecx
call fcn.004df9f0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x324]
mov edx, dword [eax + 0x328]
movzx ebx, byte [eax + 0x320]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x14], ecx
call fcn.006600a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x660b1e
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.00661f80
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc0], eax
lea eax, [0x6b5800]
mov dword [esp], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.004095e0
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x2f0]
mov eax, dword [eax + 0x2f4]
mov ecx, dword [ecx + 0x2c]
mov dword [esp], eax
lea eax, [0x78550c]
mov dword [esp + 4], eax
call ecx
add esp, 0xd8
ret
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.00660b60
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.006640b0
add esp, 0xd8
ret
mov ecx, edx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.00660690