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

Disassembly:
push 0xffffffffffffffff
push 0x69c7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi]
mov dword [esp + 0x1c], esi
call dword [eax + 0x3c]
mov ecx, esi
call fcn.00605950
lea ebx, [esi + 0x134]
mov dword [esp + 0x14], 5
cmp dword [ebx], 0
je 0x60677b
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00403350
test al, al
je 0x606754
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], ebp
mov byte [eax + ebp], 0
mov ecx, dword [ebx]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x38], 0
mov edx, dword [ecx]
call dword [edx + 0x78]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.004031c0
mov eax, dword [esp + 0x14]
add ebx, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x6066ee
mov eax, dword [esi + 0x160]
xor ebx, ebx
cmp eax, ebx
je 0x606810
mov cl, byte [esp + 0x13]
mov edi, 0x6dfe28
mov byte [esp + 0x1c], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x20], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ebx
push ecx
push 0x6dfe28
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], ebx
call fcn.004083a0
mov ecx, dword [esi + 0x160]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x38], 1
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], 0xffffffff
cmp eax, ebx
je 0x606810
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x606807
cmp al, 0xff
je 0x606807
dec al
mov byte [ecx], al
jmp 0x606810
push ecx
call fcn.006713a0
add esp, 4
lea ebp, [esi + 0xec]
mov edi, 4
mov esi, ebp
mov ecx, dword [esi]
test ecx, ecx
je 0x60682a
mov edx, dword [ecx]
push 2
call dword [edx + 0x34]
add esi, 4
dec edi
jne 0x60681d
mov ebx, dword [esp + 0x18]
mov edi, 4
lea esi, [ebx + 0xcc]
mov ecx, dword [esi]
test ecx, ecx
je 0x60684c
mov eax, dword [ecx]
push 2
call dword [eax + 0x34]
add esi, 4
dec edi
jne 0x60683f
lea esi, [ebx + 0xdc]
mov edi, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x60686a
mov edx, dword [ecx]
push 2
call dword [edx + 0x34]
add esi, 4
dec edi
jne 0x60685d
mov esi, ebp
mov edi, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x606884
mov eax, dword [ecx]
push 2
call dword [eax + 0x34]
add esi, 4
dec edi
jne 0x606877
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x6068c9
lea edx, [ecx + 0x80]
mov edi, dword [ecx]
mov eax, edx
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [0x6e2710]
push eax
mov eax, dword [0x6e270c]
sub eax, esi
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
call dword [edi + 0x1c]
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x606900
mov eax, dword [ecx + 0x84]
mov esi, dword [ecx + 0x8c]
mov edi, dword [ecx + 0x88]
sub eax, esi
mov esi, dword [0x6e2710]
mov edx, dword [ecx]
lea eax, [eax + esi - 0x1e]
push eax
mov eax, dword [ecx + 0x80]
sub eax, edi
push eax
call dword [edx + 0x1c]
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x60692e
mov eax, dword [ecx + 0x84]
mov ebx, dword [ecx + 0x8c]
mov esi, dword [0x6e2710]
mov edx, dword [ecx]
sub eax, ebx
lea eax, [eax + esi - 0x1e]
push eax
mov eax, dword [0x6e270c]
push eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret