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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x660c39a6
sub esp, 0xd4
mov eax, 0
mov dword [esp + 0xd0], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x660c371c
mov byte [esp + 0x26], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x660c3b20]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x26]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0xd0], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x660c2f86
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x660c2f86
mov ecx, dword [eax + 0xac]
test ecx, ecx
jne 0x660c2f86
call fcn.660c9430
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
lea edx, [0x660fa4a0]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c2f4d
mov ecx, dword [esp + 0x74]
jmp 0x660c2f58
call fcn.65f64950
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x661ef644]
mov ebx, dword [esp + 0xd8]
mov dword [ebx + 0x60], ecx
mov ebp, dword [0x663128d0]
test ebp, ebp
je 0x660c2f81
call fcn.65f64960
mov dword [edi], eax
mov ebp, dword [ebx + 0x64]
mov dword [edi + 4], ebp
mov dword [ebx + 0x64], eax
jmp 0x660c2f8e
lea ecx, [0x661ef644]
mov ebx, eax
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x660c2f9f
mov ebp, dword [ebx + 0xac]
test ebp, ebp
je 0x660c2ffc
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x660c2fd4
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.660c2b60
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x660c36ef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xd8]
mov dword [edx + 4], eax
mov eax, dword [0x663128d0]
test eax, eax
je 0x660c304f
call fcn.65f64960
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
mov eax, dword [edx + 0x68]
test eax, eax
je 0x660c30d5
mov eax, dword [edx + 0x58]
test eax, eax
jne 0x660c30d5
call fcn.660c9510
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0x70], ecx
lea edx, [0x660fa4a0]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c309d
mov ecx, dword [esp + 0x70]
jmp 0x660c30a8
call fcn.65f64950
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x661ef644]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [edx + 0x58]
test eax, eax
je 0x660c3107
mov ecx, dword [edx + 0x5c]
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.65f06070
movzx eax, byte [esp + 8]
test al, al
jne 0x660c36ad
mov edx, dword [esp + 0xd8]
mov eax, dword [edx + 0x44]
mov dword [esp + 0x44], eax
lea ecx, [0x6610f9e0]
mov dword [esp], ecx
mov dword [esp + 4], 0
lea ebx, [eax + 3]
mov dword [esp + 0x30], ebx
mov dword [esp + 8], ebx
call fcn.65f4be80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
call fcn.660c1fe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x660c3680
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x44]
cmp eax, 0xfffffffd
je 0x660c3173
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
jmp 0x660c31ac
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6610f9e0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c31c0
mov ecx, dword [esp + 0x68]
jmp 0x660c31d0
call fcn.65f64960
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [esp + 0x60], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x34]
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.660c2650
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x660c3653
mov eax, dword [esp + 0x30]
cmp eax, 2
jb 0x660c3213
mov edx, dword [esp + 0x60]
jmp 0x660c3251
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6610f9e0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, eax
mov eax, ebx
mov dword [esp + 0x30], eax
mov ebx, dword [0x663128d0]
test ebx, ebx
je 0x660c326c
call fcn.65f64960
mov dword [edi], ecx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [esp + 0x60], edx
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.660c2590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x660c3626
mov eax, dword [esp + 0x30]
cmp eax, 3
jb 0x660c32a5
mov edx, dword [esp + 0x60]
jmp 0x660c32df
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6610f9e0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [0x663128d0]
test ebx, ebx
je 0x660c32f6
call fcn.65f64960
mov dword [edi], ecx
mov ebx, dword [edx + 8]
mov dword [edi + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xd8]
mov ebx, dword [ecx + 0x44]
lea ebp, [ebx + 3]
mov esi, dword [ecx + 0x40]
cmp eax, ebp
jae 0x660c334d
mov dword [esp + 0x44], ebx
mov dword [esp + 0x84], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x6610f9e0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], eax
lea ecx, [0x6610f9e0]
mov dword [esp], ecx
lea ecx, [ebp - 3]
lea edi, [eax - 3]
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 0xc
add edi, edx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.65f10170
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
call fcn.660c5010
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x660c35f9
mov ebp, dword [esp + 0xd8]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x660c33c8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
jmp 0x660c3403
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [ebp]
mov esi, dword [ebp + 4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
mov edi, 1
mov esi, 1
lea eax, [esp + 0x8c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0xac]
xor eax, eax
call fcn.65f64b07
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov ecx, dword [ebp + 0x4c]
mov dword [esp + 0xcc], ecx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x14], ecx
call fcn.66000d90
mov ecx, dword [0x663128d0]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test ecx, ecx
jne 0x660c34c9
mov eax, dword [esp + 0xd8]
jmp 0x660c34dd
call fcn.65f64960
mov dword [edi], edx
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x50]
mov dword [edi + 4], ecx
mov dword [eax + 0x50], edx
test ebx, ebx
jne 0x660c35d4
mov byte [esp + 0x26], 1
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x660c3782
lea eax, [0x660ef1c0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65f04ba0
mov eax, dword [0x663128d0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x660c3528
mov eax, dword [esp + 0xd8]
jmp 0x660c353f
call fcn.65f64960
mov dword [edi], ecx
mov eax, dword [esp + 0xd8]
mov edx, dword [eax + 0x98]
mov dword [edi + 4], edx
mov dword [esp + 0x58], ecx
mov dword [eax + 0x98], ecx
lea edx, [0x660ef180]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.65f04ba0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x90]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa0], edx
mov dword [esp], eax
lea edx, [esp + 0xa0]
mov dword [esp + 4], edx
call fcn.65f04d70
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x90]
mov dword [esp + 0x44], edx
xor ebx, ebx
jmp 0x660c38bb
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], esi
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
call fcn.660c9340
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0x78], ecx
lea edx, [0x660fa4a0]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c375a
mov ecx, dword [esp + 0x78]
jmp 0x660c3765
call fcn.65f64950
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x661ef644]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
add esp, 0xd4
ret
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x660c37a3
mov ecx, dword [eax + 0x6c]
mov ebx, dword [eax + 0x70]
test ebx, ebx
setne bl
test ecx, ecx
setne cl
or ebx, ecx
test bl, bl
je 0x660c3867
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x660c3867
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x660c3867
lea eax, [0x660ef140]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.65f04ba0
mov eax, dword [0x663128d0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x660c37f2
mov eax, dword [esp + 0xd8]
jmp 0x660c3809
call fcn.65f64960
mov dword [edi], ecx
mov eax, dword [esp + 0xd8]
mov edx, dword [eax + 0x9c]
mov dword [edi + 4], edx
mov dword [esp + 0x54], ecx
mov dword [eax + 0x9c], ecx
lea edx, [0x660fbd60]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
lea ecx, [0x660c39b0]
mov dword [eax], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x660c3844
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x54]
jmp 0x660c3859
call fcn.65f64960
mov ecx, dword [esp + 0xd8]
mov dword [edi], ecx
mov edx, dword [esp + 0x54]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.65f42230
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xd0]
mov eax, dword [edx]
call eax
add esp, 0xd4
ret
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [esp], eax
call fcn.65f42230
mov eax, dword [esp + 0x40]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x44]
cmp ebx, edx
jge 0x660c3960
mov dword [esp + 0x40], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x64], eax
lea edx, [0x660fbe80]
mov dword [esp], edx
call fcn.65f0bca0
mov eax, dword [esp + 4]
lea ecx, [0x660c3a40]
mov dword [eax], ecx
mov edx, dword [0x663128d0]
test edx, edx
jne 0x660c38fc
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
jmp 0x660c390e
call fcn.65f64960
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebx, dword [esp + 0x58]
mov dword [edi + 4], ebx
mov dword [esp + 0x7c], eax
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
lea ecx, [0x660fbd00]
mov dword [esp], ecx
call fcn.65f0bca0
mov eax, dword [esp + 4]
lea ecx, [0x660c3a00]
mov dword [eax], ecx
mov edx, dword [0x663128d0]
test edx, edx
jne 0x660c3949
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x64]
jmp 0x660c3894
call fcn.65f64960
mov edx, dword [esp + 0x7c]
mov dword [edi], edx
mov ebx, dword [esp + 0x64]
mov dword [edi + 4], ebx
jmp 0x660c3894
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov ecx, dword [0x663128d0]
test ecx, ecx
je 0x660c398b
mov ecx, dword [eax + 0x8c]
call fcn.65f64950
mov dword [edi], ecx
mov dword [eax + 0x8c], 0
jmp 0x660c3782
call fcn.65f63530
jmp fcn.660c2e40