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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x900
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x8f8], eax
lea eax, [esp + 0x1f0]
push 0x708
push 0xff
push eax
call fcn.006ccfc0
add esp, 0xc
lea edi, [esp + 0x240]
mov eax, 0xf
lea esi, [esp + 0xd0]
lea ebx, [esp + 0x30]
nop word cs:[eax + eax]
nop
mov dword [esp + 0xc], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov ecx, esi
mov esi, dword [esp + 0x20]
mov edx, esi
call fcn.0066b920
lea edx, [esi + 0x20]
mov ecx, ebx
call fcn.0066b920
movdqa xmm0, xmmword [esp + 0x30]
movdqa xmm1, xmmword [esp + 0x40]
movdqa xmm2, xmmword [esp + 0xd0]
movdqa xmm3, xmmword [esp + 0xe0]
movdqa xmm4, xmm2
paddd xmm4, xmm0
movdqa xmm5, xmm3
paddd xmm5, xmm1
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xf0]
lea esi, [ebx + eax]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xf4]
movdqu xmmword [edi - 0x50], xmm4
movdqu xmmword [edi - 0x40], xmm5
mov dword [edi - 0x30], esi
lea esi, [edx + ecx]
mov dword [edi - 0x2c], esi
sub eax, ebx
lea ebx, [esp + 0x30]
lea esi, [esp + 0xd0]
sub ecx, edx
psubd xmm0, xmm2
paddd xmm0, xmmword [0x778c20]
psubd xmm1, xmm3
paddd xmm1, xmmword [0x778c30]
add eax, 0x7fffffe
movdqu xmmword [edi - 0x28], xmm0
movdqu xmmword [edi - 0x18], xmm1
mov dword [edi - 8], eax
add ecx, 0x3fffffe
mov dword [edi - 4], ecx
mov ecx, edi
mov edx, esi
push ebx
call fcn.00674dd0
add esp, 4
mov ecx, edi
mov edx, edi
push 0x778cb0
call fcn.00674dd0
mov eax, dword [esp + 0x10]
add esp, 4
add dword [esp + 0x20], 0x40
add edi, 0x78
add eax, 0xffffffff
jne 0x66b400
pxor xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
lea ecx, [eax + 0x28]
mov dword [esp + 0x18], ecx
movdqu xmmword [eax + 0x2c], xmm0
movdqu xmmword [eax + 0x3c], xmm0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x28], 1
lea ecx, [eax + 0x50]
mov dword [esp + 0x14], ecx
movdqu xmmword [eax + 0x54], xmm0
movdqu xmmword [eax + 0x64], xmm0
mov dword [eax + 0x74], 0
mov dword [eax + 0x50], 1
lea ecx, [eax + 0x78]
mov dword [esp + 0x10], ecx
movdqu xmmword [eax + 0x78], xmm0
movdqu xmmword [eax + 0x88], xmm0
mov dword [eax + 0x9c], 0
mov dword [eax + 0x98], 0
mov ecx, 0x3f
nop dword [eax + eax]
mov eax, ecx
shr eax, 3
mov edi, dword [ebp + 0xc]
movzx edx, byte [edi + eax]
mov dword [esp + 0x1c], ecx
and cl, 7
shr edx, cl
movzx esi, byte [edi + eax + 8]
shr esi, cl
and edx, 1
and esi, 1
lea edx, [edx + esi*2]
movzx esi, byte [edi + eax + 0x10]
shr esi, cl
movzx eax, byte [edi + eax + 0x18]
shr eax, cl
and esi, 1
lea ecx, [edx + esi*4]
and eax, 1
lea eax, [ecx + eax*8]
mov dword [esp + 0xc], eax
xor eax, eax
mov edx, 1
lea edi, [esp + 0x264]
xor esi, esi
movdqa xmm0, xmmword [0x6fb870]
pxor xmm2, xmm2
movdqa xmm3, xmmword [0x6fbb40]
pxor xmm4, xmm4
pxor xmm5, xmm5
pxor xmm6, xmm6
xorps xmm7, xmm7
nop word cs:[eax + eax]
movaps xmmword [esp + 0x20], xmm7
mov ecx, dword [esp + 0xc]
xor ecx, edx
add ecx, 0xffffffff
movd xmm7, ecx
pshufd xmm7, xmm7, 0
psrad xmm7, 0x1f
pshufd xmm7, xmm7, 0x55
movdqa xmm1, xmm7
pandn xmm1, xmm0
movdqu xmm0, xmmword [edi - 0x74]
pand xmm0, xmm7
por xmm0, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm2
movdqu xmm2, xmmword [edi - 0x64]
pand xmm2, xmm7
por xmm2, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm3
movdqu xmm3, xmmword [edi - 0x54]
pand xmm3, xmm7
por xmm3, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm4
movdqu xmm4, xmmword [edi - 0x44]
pand xmm4, xmm7
por xmm4, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm5
movdqu xmm5, xmmword [edi - 0x34]
pand xmm5, xmm7
por xmm5, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm6
movdqu xmm6, xmmword [edi - 0x24]
pand xmm6, xmm7
por xmm6, xmm1
movd ebx, xmm7
movdqu xmm1, xmmword [edi - 0x14]
pand xmm1, xmm7
pandn xmm7, xmmword [esp + 0x20]
por xmm7, xmm1
mov ecx, esi
mov esi, eax
mov eax, dword [edi - 4]
xor eax, esi
and eax, ebx
xor eax, esi
mov esi, dword [edi]
xor esi, ecx
and esi, ebx
xor esi, ecx
add edx, 1
add edi, 0x78
cmp edx, 0x10
jne 0x66b640
movdqu xmmword [esp + 0x178], xmm0
movdqu xmmword [esp + 0x188], xmm2
movdqu xmmword [esp + 0x198], xmm3
movdqu xmmword [esp + 0x1a8], xmm4
movdqu xmmword [esp + 0x1b8], xmm5
movdqu xmmword [esp + 0x1c8], xmm6
movdqu xmmword [esp + 0x1d8], xmm7
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov esi, dword [ebp + 8]
push esi
lea edi, [esp + 0xd4]
push edi
call fcn.0066a820
add esp, 8
push edi
push esi
lea edi, [esp + 0x38]
push edi
call fcn.0066a8f0
add esp, 0xc
mov ecx, esi
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.00674dd0
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, ebx
lea edx, [esp + 0x58]
lea eax, [esp + 0x80]
push eax
call fcn.00674dd0
add esp, 4
mov esi, dword [esp + 0x14]
mov ecx, esi
lea edx, [esp + 0x80]
lea eax, [esp + 0xa8]
push eax
call fcn.00674dd0
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.00674dd0
add esp, 4
mov ecx, edi
mov edx, dword [ebp + 8]
lea eax, [esp + 0x178]
push eax
call fcn.0066bad0
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.00674dd0
add esp, 4
mov ecx, ebx
lea edx, [esp + 0x58]
lea ebx, [esp + 0x80]
push ebx
call fcn.00674dd0
add esp, 4
mov ecx, esi
mov edx, ebx
lea eax, [esp + 0xa8]
push eax
call fcn.00674dd0
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.00674dd0
add esp, 4
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
cmp ecx, 0x40
jb 0x66b5c0
mov ecx, dword [esp + 0x8f8]
xor ecx, ebp
call fcn.006c9121
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret