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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x71a00c]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
mov ebp, edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0
mov edi, ecx
mov dword [esp + 0x20], 0
push eax
xor ecx, ecx
call fcn.0066ac20
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movq qword [esp + 0x79], xmm0
mov ecx, 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x81], 0
mov dword [esp + 0x80], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x88], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
call fcn.0066ac20
mov eax, dword [esp + 0x38]
add esp, 0x20
mov ecx, eax
xor bl, bl
shr ecx, 0x17
and ecx, 0xffffff01
mov dword [esp + 0x60], ecx
mov ecx, eax
shr ecx, 0x19
and ecx, 0xffffff01
shr eax, 0x1a
mov dword [esp + 0x5c], ecx
and al, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov cl, al
and cl, 1
mov byte [esp + 0x23], cl
mov ecx, eax
shr ecx, 9
and ecx, 0xffffff01
mov dword [esp + 0x54], ecx
mov ecx, eax
shr ecx, 0x13
and ecx, 0xffffff01
mov dword [esp + 0x50], ecx
mov ecx, eax
shr eax, 0x1c
shr ecx, 0x14
and al, 1
and ecx, 0xffffff01
mov dword [esp + 0x48], eax
cmp dword [esp + 0x10], 7
mov dword [esp + 0x4c], ecx
jb 0x66ae43
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], 0
push eax
mov ecx, 7
call fcn.0066ac20
mov ebx, dword [esp + 0x20]
add esp, 0x10
shr ebx, 5
and bl, 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
mov ecx, 0x80000000
call fcn.0066ac20
push 0x31
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.0066eb00
add esp, 0x1c
cmp dword [esp + 0x10], 0x80000004
jb 0x66afe6
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], 0
push eax
mov ecx, CreateStatusWindowA
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
call fcn.0066ac20
lea eax, [esp + 0x4c]
mov ecx, CreateStatusWindowA
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0066ac20
lea eax, [esp + 0x3c]
mov ecx, CreateStatusWindowA
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0066ac20
mov eax, dword [esp + 0x40]
add esp, 0x30
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov byte [esp + 0xa8], 0
cmp byte [esp + 0x68], 0
jne 0x66aff1
xor ecx, ecx
jmp 0x66b001
lea ecx, [esp + 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x66aff8
sub ecx, edx
push ecx
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
call fcn.004023e0
mov eax, dword [esp + 0x44]
mov dword [ebp], eax
mov eax, dword [esp + 0x48]
movzx eax, al
movzx ecx, bl
add ecx, ecx
or ecx, eax
mov eax, dword [esp + 0x4c]
add ecx, ecx
movzx eax, al
or ecx, eax
mov eax, dword [esp + 0x50]
add ecx, ecx
movzx eax, al
or ecx, eax
mov eax, dword [esp + 0x54]
add ecx, ecx
movzx eax, al
or ecx, eax
movzx eax, byte [esp + 0x23]
add ecx, ecx
or ecx, eax
mov eax, dword [esp + 0x58]
add ecx, ecx
movzx eax, al
or ecx, eax
mov eax, dword [esp + 0x5c]
add ecx, ecx
movzx eax, al
or ecx, eax
mov eax, dword [esp + 0x60]
add ecx, ecx
movzx eax, al
or ecx, eax
cmp byte [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
jne 0x66b07f
xor eax, eax
jmp 0x66b08f
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x66b086
sub eax, edx
push eax
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call fcn.004023e0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0066bc45
add esp, 0xa0
ret