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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x660c5613
sub esp, 0xdc
lea eax, [0x660f0ca0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0xe8]
mov dword [esp + 8], ecx
call fcn.65f4be80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.65f64b09
mov ecx, dword [esp + 0xe8]
cmp ecx, 8
jg 0x660c519c
lea edi, [esp + 0x88]
call fcn.65f64afb
lea ecx, [esp + 0x88]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xe8]
lea eax, [0x660f19c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 8], edx
call fcn.65f0c780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xe8]
xor edx, edx
xor ebx, ebx
mov ebp, dword [esp + 0x68]
mov esi, ecx
xor edi, edi
jmp 0x660c51e8
mov esi, dword [esp + 0x24]
dec esi
mov edi, ebx
mov ebx, edx
mov edx, ecx
mov ecx, esi
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], edx
test ecx, ecx
jle 0x660c552e
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xe4]
lea eax, [eax + ecx*8 - 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
movzx edx, byte [esp + 0xe1]
test dl, dl
je 0x660c523c
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x44]
jmp 0x660c5279
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call fcn.65f032d0
cmp dword [esp + 0xc], 0xffffffff
setne al
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0xe1]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x5c]
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x660c52e6
call fcn.660c7690
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0x60], ecx
lea edx, [0x660fa4a0]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c52c0
mov edx, dword [esp + 0x60]
jmp 0x660c52cb
call fcn.65f64950
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov dword [eax], edx
lea ecx, [0x661ef644]
mov edx, eax
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
jmp 0x660c51d3
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x66111de5]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.6600bf30
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x660c534f
mov edx, dword [esp + 0x38]
cmp edx, 1
jb 0x660c5606
lea eax, [edx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x5c]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x66111de5]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.6600bf30
mov eax, dword [esp + 0x10]
inc eax
test eax, eax
jge 0x660c53f3
mov edx, dword [esp + 0x38]
test edx, edx
je 0x660c53da
mov ebx, dword [esp + 0x28]
inc ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jb 0x660c5372
mov eax, dword [esp + 0x50]
jmp 0x660c53ac
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x660f0ca0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov eax, ebp
mov ebp, esi
lea esi, [eax + ebx*8 - 4]
mov dword [esi], edx
mov edx, dword [0x663128d0]
lea esi, [eax + ebx*8 - 8]
test edx, edx
jne 0x660c53c6
mov edx, dword [esp + 0x5c]
jmp 0x660c53d6
call fcn.65f64960
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], edx
jmp 0x660c53e6
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
jmp 0x660c51d3
mov edx, dword [esp + 0x38]
cmp eax, edx
ja 0x660c55ff
movzx ecx, byte [esp + 0xe0]
test cl, cl
jne 0x660c5411
mov ebx, dword [esp + 0x5c]
jmp 0x660c542d
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6600b530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], eax
lea ecx, [0x660f19c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.65f0f250
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x660c5477
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
jmp 0x660c51d3
lea eax, [0x660f19c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.65f0f8e0
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x660c54b9
mov ebp, dword [esp + 0x50]
mov esi, ecx
jmp 0x660c54eb
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x660f0ca0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [ebp + eax*8 - 4]
mov ebx, dword [esp + 0x38]
mov dword [edx], ebx
mov edx, dword [0x663128d0]
lea ebx, [ebp + eax*8 - 8]
test edx, edx
jne 0x660c5509
mov edx, dword [esp + 0x5c]
jmp 0x660c5519
call fcn.65f64960
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov ebx, eax
mov eax, ebp
mov ebp, esi
jmp 0x660c51d3
xor eax, eax
jmp 0x660c554d
mov dword [ecx], edx
mov eax, dword [esp + 0x3c]
inc eax
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov ecx, edi
shr edi, 1
cmp eax, edi
jge 0x660c55ce
mov edi, ecx
sub edi, eax
lea ebx, [edi - 1]
lea edx, [ebp + eax*8]
mov esi, dword [edx]
mov dword [esp + 0x64], esi
mov esi, dword [edx + 4]
cmp ecx, ebx
jbe 0x660c55f8
mov dword [esp + 0x3c], eax
lea ebx, [ebp + eax*8 + 4]
lea ecx, [ebp + edi*8 - 8]
mov eax, dword [ecx + 4]
lea edi, [ebp + edi*8 - 4]
mov ebp, dword [ecx]
mov dword [ebx], eax
mov ebx, dword [0x663128d0]
test ebx, ebx
je 0x660c55a2
mov eax, edi
call fcn.65f64960
mov dword [edi], ebp
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [edx], ebp
mov dword [edi], esi
mov edx, dword [0x663128d0]
test edx, edx
jne 0x660c55b9
mov edx, dword [esp + 0x64]
jmp 0x660c5532
call fcn.65f64960
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
jmp 0x660c5532
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], ebx
add esp, 0xdc
ret
mov eax, ebx
call fcn.65f649b0
mov ecx, eax
call fcn.65f649d0
mov eax, 1
xor ecx, ecx
call fcn.65f64a10
nop
call fcn.65f63530
jmp fcn.660c5120