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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], 0
mov al, byte [esi + 0x243d]
mov edi, dword [esi + 0x244c]
dec al
and al, 0xf
mov ecx, eax
mov byte [esi + 0x243d], al
and ecx, 0xff
mov edx, ecx
and edx, 1
mov eax, edx
mov dword [ebp - 0x24], edx
xor eax, 1
add ecx, eax
test edi, edi
mov dword [ebp - 8], ecx
jle 0x663818
mov edi, dword [ebp + 8]
push ebx
lea eax, [eax + eax*8]
lea ebx, [edx + edx*8]
shl eax, 6
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
lea ecx, [esi + ecx*2 + 4]
mov dword [ebp - 0xc], edi
shl ebx, 5
add ecx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
lea edi, [esi + 4]
mov dword [ebp - 0x18], ecx
jmp 0x6616ea
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
push ecx
mov cl, byte [esi + 0x243d]
add edx, ecx
and edx, 0xf
add edx, ebx
lea edx, [edi + edx*2]
push edx
call fcn.0066b89e
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x6637de
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [0x783ba8]
test eax, eax
mov eax, dword [esi + 0x244c]
jne 0x662cd2
cmp eax, 2
jne 0x662206
mov eax, dword [ebp - 8]
lea ebx, [0x7e33dc]
add eax, eax
mov ecx, dword [ebp - 4]
sub ebx, eax
mov edx, dword [ebp + 0xc]
movq mm0, qword [ecx]
pmaddwd mm0, qword [ebx]
movq mm2, qword [ebx + 8]
pmaddwd mm2, qword [ecx + 8]
movq mm4, qword [ebx + 0x10]
pmaddwd mm4, qword [ecx + 0x10]
movq mm6, qword [ebx + 0x18]
pmaddwd mm6, qword [ecx + 0x18]
paddd mm0, mm2
movq mm1, qword [ebx + 0x40]
paddd mm0, mm4
movq mm3, qword [ebx + 0x48]
paddd mm0, mm6
movq mm5, qword [ebx + 0x50]
movq mm2, mm0
movq mm7, qword [ebx + 0x58]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x28]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm2
mov word [edx], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x80]
paddd mm1, mm5
movq mm2, qword [ebx + 0x88]
paddd mm1, mm7
movq mm4, qword [ebx + 0x90]
movq mm3, mm1
movq mm6, qword [ebx + 0x98]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x48]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm3
mov word [edx + 4], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0xc0]
paddd mm0, mm4
movq mm3, qword [ebx + 0xc8]
paddd mm0, mm6
movq mm5, qword [ebx + 0xd0]
movq mm2, mm0
movq mm7, qword [ebx + 0xd8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x68]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm2
mov word [edx + 8], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x100]
paddd mm1, mm5
movq mm2, qword [ebx + 0x108]
paddd mm1, mm7
movq mm4, qword [ebx + 0x110]
movq mm3, mm1
movq mm6, qword [ebx + 0x118]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x88]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm3
mov word [edx + 0xc], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x140]
paddd mm0, mm4
movq mm3, qword [ebx + 0x148]
paddd mm0, mm6
movq mm5, qword [ebx + 0x150]
movq mm2, mm0
movq mm7, qword [ebx + 0x158]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm2
mov word [edx + 0x10], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x180]
paddd mm1, mm5
movq mm2, qword [ebx + 0x188]
paddd mm1, mm7
movq mm4, qword [ebx + 0x190]
movq mm3, mm1
movq mm6, qword [ebx + 0x198]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm3
mov word [edx + 0x14], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x1c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x1c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x1d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x1d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm2
mov word [edx + 0x18], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x200]
paddd mm1, mm5
movq mm2, qword [ebx + 0x208]
paddd mm1, mm7
movq mm4, qword [ebx + 0x210]
movq mm3, mm1
movq mm6, qword [ebx + 0x218]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x108]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm3
mov word [edx + 0x1c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x240]
paddd mm0, mm4
movq mm3, qword [ebx + 0x248]
paddd mm0, mm6
movq mm5, qword [ebx + 0x250]
movq mm2, mm0
movq mm7, qword [ebx + 0x258]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x128]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm2
mov word [edx + 0x20], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x280]
paddd mm1, mm5
movq mm2, qword [ebx + 0x288]
paddd mm1, mm7
movq mm4, qword [ebx + 0x290]
movq mm3, mm1
movq mm6, qword [ebx + 0x298]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x148]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm3
mov word [edx + 0x24], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x2c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x2c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x2d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x2d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x168]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm2
mov word [edx + 0x28], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x300]
paddd mm1, mm5
movq mm2, qword [ebx + 0x308]
paddd mm1, mm7
movq mm4, qword [ebx + 0x310]
movq mm3, mm1
movq mm6, qword [ebx + 0x318]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x188]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm3
mov word [edx + 0x2c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x340]
paddd mm0, mm4
movq mm3, qword [ebx + 0x348]
paddd mm0, mm6
movq mm5, qword [ebx + 0x350]
movq mm2, mm0
movq mm7, qword [ebx + 0x358]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm2
mov word [edx + 0x30], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x380]
paddd mm1, mm5
movq mm2, qword [ebx + 0x388]
paddd mm1, mm7
movq mm4, qword [ebx + 0x390]
movq mm3, mm1
movq mm6, qword [ebx + 0x398]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm3
mov word [edx + 0x34], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x3c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x3c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x3d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x3d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1e0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1e8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1f0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1f8]
movd eax, mm2
mov word [edx + 0x38], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x400]
paddd mm1, mm5
movq mm2, qword [ebx + 0x408]
paddd mm1, mm7
movq mm4, qword [ebx + 0x410]
movq mm3, mm1
movq mm6, qword [ebx + 0x418]
psrlq mm1, 0x20
pmulhw mm0, qword [ecx + 0x200]
paddd mm3, mm1
pmulhw mm2, qword [ecx + 0x208]
psrad mm3, 0xd
pmulhw mm4, qword [ecx + 0x210]
packssdw mm3, mm3
pmulhw mm6, qword [ecx + 0x218]
pslld mm0, 0x10
pslld mm2, 0x10
mov ebx, dword [ebp - 8]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm3
mov word [edx + 0x3c], ax
lea ebx, [ebx*2 + 0x7e2fdc]
movq mm1, qword [ebx]
paddd mm0, mm2
movq mm3, qword [ebx + 8]
paddd mm0, mm4
movq mm5, qword [ebx + 0x10]
paddd mm0, mm6
movq mm7, qword [ebx + 0x18]
movq mm2, mm0
pmaddwd mm1, qword [ecx + 0x1e0]
psrlq mm2, 0x20
pmaddwd mm3, qword [ecx + 0x1e8]
paddd mm0, mm2
pmaddwd mm5, qword [ecx + 0x1f0]
psrad mm0, 0xd
pmaddwd mm7, qword [ecx + 0x1f8]
packssdw mm0, mm0
movd eax, mm0
mov word [edx + 0x40], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x40]
paddd mm1, mm5
movq mm2, qword [ebx + 0x48]
paddd mm1, mm7
movq mm4, qword [ebx + 0x50]
movq mm3, mm1
movq mm6, qword [ebx + 0x58]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm1
mov word [edx + 0x44], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x80]
paddd mm0, mm4
movq mm3, qword [ebx + 0x88]
paddd mm0, mm6
movq mm5, qword [ebx + 0x90]
movq mm2, mm0
movq mm7, qword [ebx + 0x98]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm0
mov word [edx + 0x48], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0xc0]
paddd mm1, mm5
movq mm2, qword [ebx + 0xc8]
paddd mm1, mm7
movq mm4, qword [ebx + 0xd0]
movq mm3, mm1
movq mm6, qword [ebx + 0xd8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x4c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x100]
paddd mm0, mm4
movq mm3, qword [ebx + 0x108]
paddd mm0, mm6
movq mm5, qword [ebx + 0x110]
movq mm2, mm0
movq mm7, qword [ebx + 0x118]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x168]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm0
mov word [edx + 0x50], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x140]
paddd mm1, mm5
movq mm2, qword [ebx + 0x148]
paddd mm1, mm7
movq mm4, qword [ebx + 0x150]
movq mm3, mm1
movq mm6, qword [ebx + 0x158]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x148]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm1
mov word [edx + 0x54], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x180]
paddd mm0, mm4
movq mm3, qword [ebx + 0x188]
paddd mm0, mm6
movq mm5, qword [ebx + 0x190]
movq mm2, mm0
movq mm7, qword [ebx + 0x198]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x128]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm0
mov word [edx + 0x58], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x1c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x1c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x1d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x1d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0x5c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x200]
paddd mm0, mm4
movq mm3, qword [ebx + 0x208]
paddd mm0, mm6
movq mm5, qword [ebx + 0x210]
movq mm2, mm0
movq mm7, qword [ebx + 0x218]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm0
mov word [edx + 0x60], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x240]
paddd mm1, mm5
movq mm2, qword [ebx + 0x248]
paddd mm1, mm7
movq mm4, qword [ebx + 0x250]
movq mm3, mm1
movq mm6, qword [ebx + 0x258]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm1
mov word [edx + 0x64], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x280]
paddd mm0, mm4
movq mm3, qword [ebx + 0x288]
paddd mm0, mm6
movq mm5, qword [ebx + 0x290]
movq mm2, mm0
movq mm7, qword [ebx + 0x298]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm0
mov word [edx + 0x68], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x2c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x2c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x2d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x2d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 0x6c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x300]
paddd mm0, mm4
movq mm3, qword [ebx + 0x308]
paddd mm0, mm6
movq mm5, qword [ebx + 0x310]
movq mm2, mm0
movq mm7, qword [ebx + 0x318]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x68]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm0
mov word [edx + 0x70], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x340]
paddd mm1, mm5
movq mm2, qword [ebx + 0x348]
paddd mm1, mm7
movq mm4, qword [ebx + 0x350]
movq mm3, mm1
movq mm6, qword [ebx + 0x358]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x48]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm1
mov word [edx + 0x74], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x380]
paddd mm0, mm4
movq mm3, qword [ebx + 0x388]
paddd mm0, mm6
movq mm5, qword [ebx + 0x390]
movq mm2, mm0
movq mm7, qword [ebx + 0x398]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x28]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm0
paddd mm1, mm3
mov word [edx + 0x78], ax
paddd mm1, mm5
paddd mm1, mm7
movq mm3, mm1
psrlq mm3, 0x20
paddd mm1, mm3
psrad mm1, 0xd
packssdw mm1, mm1
movd eax, mm1
mov word [edx + 0x7c], ax
jmp 0x6637de
mov eax, dword [ebp - 8]
lea ebx, [0x7e33dc]
add eax, eax
mov ecx, dword [ebp - 4]
sub ebx, eax
mov edx, dword [ebp + 0xc]
movq mm0, qword [ecx]
pmaddwd mm0, qword [ebx]
movq mm2, qword [ebx + 8]
pmaddwd mm2, qword [ecx + 8]
movq mm4, qword [ebx + 0x10]
pmaddwd mm4, qword [ecx + 0x10]
movq mm6, qword [ebx + 0x18]
pmaddwd mm6, qword [ecx + 0x18]
paddd mm0, mm2
movq mm1, qword [ebx + 0x40]
paddd mm0, mm4
movq mm3, qword [ebx + 0x48]
paddd mm0, mm6
movq mm5, qword [ebx + 0x50]
movq mm2, mm0
movq mm7, qword [ebx + 0x58]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x28]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm2
mov word [edx], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x80]
paddd mm1, mm5
movq mm2, qword [ebx + 0x88]
paddd mm1, mm7
movq mm4, qword [ebx + 0x90]
movq mm3, mm1
movq mm6, qword [ebx + 0x98]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x48]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm3
mov word [edx + 2], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0xc0]
paddd mm0, mm4
movq mm3, qword [ebx + 0xc8]
paddd mm0, mm6
movq mm5, qword [ebx + 0xd0]
movq mm2, mm0
movq mm7, qword [ebx + 0xd8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x68]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm2
mov word [edx + 4], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x100]
paddd mm1, mm5
movq mm2, qword [ebx + 0x108]
paddd mm1, mm7
movq mm4, qword [ebx + 0x110]
movq mm3, mm1
movq mm6, qword [ebx + 0x118]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x88]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm3
mov word [edx + 6], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x140]
paddd mm0, mm4
movq mm3, qword [ebx + 0x148]
paddd mm0, mm6
movq mm5, qword [ebx + 0x150]
movq mm2, mm0
movq mm7, qword [ebx + 0x158]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm2
mov word [edx + 8], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x180]
paddd mm1, mm5
movq mm2, qword [ebx + 0x188]
paddd mm1, mm7
movq mm4, qword [ebx + 0x190]
movq mm3, mm1
movq mm6, qword [ebx + 0x198]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm3
mov word [edx + 0xa], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x1c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x1c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x1d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x1d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm2
mov word [edx + 0xc], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x200]
paddd mm1, mm5
movq mm2, qword [ebx + 0x208]
paddd mm1, mm7
movq mm4, qword [ebx + 0x210]
movq mm3, mm1
movq mm6, qword [ebx + 0x218]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x108]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm3
mov word [edx + 0xe], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x240]
paddd mm0, mm4
movq mm3, qword [ebx + 0x248]
paddd mm0, mm6
movq mm5, qword [ebx + 0x250]
movq mm2, mm0
movq mm7, qword [ebx + 0x258]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x128]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm2
mov word [edx + 0x10], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x280]
paddd mm1, mm5
movq mm2, qword [ebx + 0x288]
paddd mm1, mm7
movq mm4, qword [ebx + 0x290]
movq mm3, mm1
movq mm6, qword [ebx + 0x298]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x148]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm3
mov word [edx + 0x12], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x2c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x2c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x2d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x2d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x168]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm2
mov word [edx + 0x14], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x300]
paddd mm1, mm5
movq mm2, qword [ebx + 0x308]
paddd mm1, mm7
movq mm4, qword [ebx + 0x310]
movq mm3, mm1
movq mm6, qword [ebx + 0x318]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x188]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm3
mov word [edx + 0x16], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x340]
paddd mm0, mm4
movq mm3, qword [ebx + 0x348]
paddd mm0, mm6
movq mm5, qword [ebx + 0x350]
movq mm2, mm0
movq mm7, qword [ebx + 0x358]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm2
mov word [edx + 0x18], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x380]
paddd mm1, mm5
movq mm2, qword [ebx + 0x388]
paddd mm1, mm7
movq mm4, qword [ebx + 0x390]
movq mm3, mm1
movq mm6, qword [ebx + 0x398]
psrlq mm1, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm3, mm1
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm3, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm3, mm3
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm3
mov word [edx + 0x1a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x3c0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x3c8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x3d0]
movq mm2, mm0
movq mm7, qword [ebx + 0x3d8]
psrlq mm0, 0x20
pmaddwd mm1, qword [ecx + 0x1e0]
paddd mm2, mm0
pmaddwd mm3, qword [ecx + 0x1e8]
psrad mm2, 0xd
pmaddwd mm5, qword [ecx + 0x1f0]
packssdw mm2, mm2
pmaddwd mm7, qword [ecx + 0x1f8]
movd eax, mm2
mov word [edx + 0x1c], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x400]
paddd mm1, mm5
movq mm2, qword [ebx + 0x408]
paddd mm1, mm7
movq mm4, qword [ebx + 0x410]
movq mm3, mm1
movq mm6, qword [ebx + 0x418]
psrlq mm1, 0x20
pmulhw mm0, qword [ecx + 0x200]
paddd mm3, mm1
pmulhw mm2, qword [ecx + 0x208]
psrad mm3, 0xd
pmulhw mm4, qword [ecx + 0x210]
packssdw mm3, mm3
pmulhw mm6, qword [ecx + 0x218]
pslld mm0, 0x10
pslld mm2, 0x10
mov ebx, dword [ebp - 8]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm3
mov word [edx + 0x1e], ax
lea ebx, [ebx*2 + 0x7e2fdc]
movq mm1, qword [ebx]
paddd mm0, mm2
movq mm3, qword [ebx + 8]
paddd mm0, mm4
movq mm5, qword [ebx + 0x10]
paddd mm0, mm6
movq mm7, qword [ebx + 0x18]
movq mm2, mm0
pmaddwd mm1, qword [ecx + 0x1e0]
psrlq mm2, 0x20
pmaddwd mm3, qword [ecx + 0x1e8]
paddd mm0, mm2
pmaddwd mm5, qword [ecx + 0x1f0]
psrad mm0, 0xd
pmaddwd mm7, qword [ecx + 0x1f8]
packssdw mm0, mm0
movd eax, mm0
mov word [edx + 0x20], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x40]
paddd mm1, mm5
movq mm2, qword [ebx + 0x48]
paddd mm1, mm7
movq mm4, qword [ebx + 0x50]
movq mm3, mm1
movq mm6, qword [ebx + 0x58]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x1c0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x1c8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x1d0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x1d8]
movd eax, mm1
mov word [edx + 0x22], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x80]
paddd mm0, mm4
movq mm3, qword [ebx + 0x88]
paddd mm0, mm6
movq mm5, qword [ebx + 0x90]
movq mm2, mm0
movq mm7, qword [ebx + 0x98]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x1a0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x1a8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x1b0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x1b8]
movd eax, mm0
mov word [edx + 0x24], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0xc0]
paddd mm1, mm5
movq mm2, qword [ebx + 0xc8]
paddd mm1, mm7
movq mm4, qword [ebx + 0xd0]
movq mm3, mm1
movq mm6, qword [ebx + 0xd8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x26], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x100]
paddd mm0, mm4
movq mm3, qword [ebx + 0x108]
paddd mm0, mm6
movq mm5, qword [ebx + 0x110]
movq mm2, mm0
movq mm7, qword [ebx + 0x118]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x160]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x168]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x170]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x178]
movd eax, mm0
mov word [edx + 0x28], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x140]
paddd mm1, mm5
movq mm2, qword [ebx + 0x148]
paddd mm1, mm7
movq mm4, qword [ebx + 0x150]
movq mm3, mm1
movq mm6, qword [ebx + 0x158]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x140]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x148]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x150]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x158]
movd eax, mm1
mov word [edx + 0x2a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x180]
paddd mm0, mm4
movq mm3, qword [ebx + 0x188]
paddd mm0, mm6
movq mm5, qword [ebx + 0x190]
movq mm2, mm0
movq mm7, qword [ebx + 0x198]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x120]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x128]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x130]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x138]
movd eax, mm0
mov word [edx + 0x2c], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x1c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x1c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x1d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x1d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0x2e], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x200]
paddd mm0, mm4
movq mm3, qword [ebx + 0x208]
paddd mm0, mm6
movq mm5, qword [ebx + 0x210]
movq mm2, mm0
movq mm7, qword [ebx + 0x218]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xe0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xe8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xf0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xf8]
movd eax, mm0
mov word [edx + 0x30], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x240]
paddd mm1, mm5
movq mm2, qword [ebx + 0x248]
paddd mm1, mm7
movq mm4, qword [ebx + 0x250]
movq mm3, mm1
movq mm6, qword [ebx + 0x258]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0xc0]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0xc8]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0xd0]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0xd8]
movd eax, mm1
mov word [edx + 0x32], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x280]
paddd mm0, mm4
movq mm3, qword [ebx + 0x288]
paddd mm0, mm6
movq mm5, qword [ebx + 0x290]
movq mm2, mm0
movq mm7, qword [ebx + 0x298]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xa0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xa8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xb0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xb8]
movd eax, mm0
mov word [edx + 0x34], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x2c0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x2c8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x2d0]
movq mm3, mm1
movq mm6, qword [ebx + 0x2d8]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 0x36], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x300]
paddd mm0, mm4
movq mm3, qword [ebx + 0x308]
paddd mm0, mm6
movq mm5, qword [ebx + 0x310]
movq mm2, mm0
movq mm7, qword [ebx + 0x318]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x60]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x68]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x70]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x78]
movd eax, mm0
mov word [edx + 0x38], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x340]
paddd mm1, mm5
movq mm2, qword [ebx + 0x348]
paddd mm1, mm7
movq mm4, qword [ebx + 0x350]
movq mm3, mm1
movq mm6, qword [ebx + 0x358]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x40]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x48]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x50]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x58]
movd eax, mm1
mov word [edx + 0x3a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x380]
paddd mm0, mm4
movq mm3, qword [ebx + 0x388]
paddd mm0, mm6
movq mm5, qword [ebx + 0x390]
movq mm2, mm0
movq mm7, qword [ebx + 0x398]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x20]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x28]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x30]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x38]
movd eax, mm0
paddd mm1, mm3
mov word [edx + 0x3c], ax
paddd mm1, mm5
paddd mm1, mm7
movq mm3, mm1
psrlq mm3, 0x20
paddd mm1, mm3
psrad mm1, 0xd
packssdw mm1, mm1
movd eax, mm1
mov word [edx + 0x3e], ax
jmp 0x6637de
cmp eax, 2
jne 0x66325f
mov eax, dword [ebp - 8]
lea ebx, [0x7e33dc]
add eax, eax
mov ecx, dword [ebp - 4]
sub ebx, eax
mov edx, dword [ebp + 0xc]
movq mm0, qword [ecx]
pmaddwd mm0, qword [ebx]
movq mm2, qword [ebx + 8]
pmaddwd mm2, qword [ecx + 8]
movq mm4, qword [ebx + 0x10]
pmaddwd mm4, qword [ecx + 0x10]
movq mm6, qword [ebx + 0x18]
pmaddwd mm6, qword [ecx + 0x18]
paddd mm0, mm2
movq mm1, qword [ebx + 0x80]
paddd mm0, mm4
movq mm3, qword [ebx + 0x88]
paddd mm0, mm6
movq mm5, qword [ebx + 0x90]
movq mm2, mm0
movq mm7, qword [ebx + 0x98]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x40]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x48]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x50]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x58]
movd eax, mm0
mov word [edx], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x100]
paddd mm1, mm5
movq mm2, qword [ebx + 0x108]
paddd mm1, mm7
movq mm4, qword [ebx + 0x110]
movq mm3, mm1
movq mm6, qword [ebx + 0x118]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 4], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x180]
paddd mm0, mm4
movq mm3, qword [ebx + 0x188]
paddd mm0, mm6
movq mm5, qword [ebx + 0x190]
movq mm2, mm0
movq mm7, qword [ebx + 0x198]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xc0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xc8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xd0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xd8]
movd eax, mm0
mov word [edx + 8], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x200]
paddd mm1, mm5
movq mm2, qword [ebx + 0x208]
paddd mm1, mm7
movq mm4, qword [ebx + 0x210]
movq mm3, mm1
movq mm6, qword [ebx + 0x218]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0xc], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x280]
paddd mm0, mm4
movq mm3, qword [ebx + 0x288]
paddd mm0, mm6
movq mm5, qword [ebx + 0x290]
movq mm2, mm0
movq mm7, qword [ebx + 0x298]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x140]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x148]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x150]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x158]
movd eax, mm0
mov word [edx + 0x10], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x300]
paddd mm1, mm5
movq mm2, qword [ebx + 0x308]
paddd mm1, mm7
movq mm4, qword [ebx + 0x310]
movq mm3, mm1
movq mm6, qword [ebx + 0x318]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x14], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x380]
paddd mm0, mm4
movq mm3, qword [ebx + 0x388]
paddd mm0, mm6
movq mm5, qword [ebx + 0x390]
movq mm2, mm0
movq mm7, qword [ebx + 0x398]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x1c0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x1c8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x1d0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x1d8]
movd eax, mm0
mov word [edx + 0x18], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x400]
paddd mm1, mm5
movq mm2, qword [ebx + 0x408]
paddd mm1, mm7
movq mm4, qword [ebx + 0x410]
movq mm3, mm1
movq mm6, qword [ebx + 0x418]
psrlq mm3, 0x20
pmulhw mm0, qword [ecx + 0x200]
paddd mm1, mm3
pmulhw mm2, qword [ecx + 0x208]
psrad mm1, 0xd
pmulhw mm4, qword [ecx + 0x210]
packssdw mm1, mm1
pmulhw mm6, qword [ecx + 0x218]
pslld mm0, 0x10
pslld mm2, 0x10
mov ebx, dword [ebp - 8]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm1
mov word [edx + 0x1c], ax
lea ebx, [ebx*2 + 0x7e2fdc]
movq mm1, qword [ebx]
paddd mm0, mm2
movq mm3, qword [ebx + 8]
paddd mm0, mm4
movq mm5, qword [ebx + 0x10]
paddd mm0, mm6
movq mm7, qword [ebx + 0x18]
movq mm2, mm0
pmaddwd mm1, qword [ecx + 0x1c0]
psrlq mm2, 0x20
pmaddwd mm3, qword [ecx + 0x1c8]
paddd mm0, mm2
pmaddwd mm5, qword [ecx + 0x1d0]
psrad mm0, 0xd
pmaddwd mm7, qword [ecx + 0x1d8]
packssdw mm0, mm0
movd eax, mm0
mov word [edx + 0x20], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x80]
paddd mm1, mm5
movq mm2, qword [ebx + 0x88]
paddd mm1, mm7
movq mm4, qword [ebx + 0x90]
movq mm3, mm1
movq mm6, qword [ebx + 0x98]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x24], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x100]
paddd mm0, mm4
movq mm3, qword [ebx + 0x108]
paddd mm0, mm6
movq mm5, qword [ebx + 0x110]
movq mm2, mm0
movq mm7, qword [ebx + 0x118]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x140]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x148]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x150]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x158]
movd eax, mm0
mov word [edx + 0x28], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x180]
paddd mm1, mm5
movq mm2, qword [ebx + 0x188]
paddd mm1, mm7
movq mm4, qword [ebx + 0x190]
movq mm3, mm1
movq mm6, qword [ebx + 0x198]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0x2c], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x200]
paddd mm0, mm4
movq mm3, qword [ebx + 0x208]
paddd mm0, mm6
movq mm5, qword [ebx + 0x210]
movq mm2, mm0
movq mm7, qword [ebx + 0x218]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xc0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xc8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xd0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xd8]
movd eax, mm0
mov word [edx + 0x30], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x280]
paddd mm1, mm5
movq mm2, qword [ebx + 0x288]
paddd mm1, mm7
movq mm4, qword [ebx + 0x290]
movq mm3, mm1
movq mm6, qword [ebx + 0x298]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 0x34], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x300]
paddd mm0, mm4
movq mm3, qword [ebx + 0x308]
paddd mm0, mm6
movq mm5, qword [ebx + 0x310]
movq mm2, mm0
movq mm7, qword [ebx + 0x318]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x40]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x48]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x50]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x58]
movd eax, mm0
paddd mm1, mm3
mov word [edx + 0x38], ax
paddd mm1, mm5
paddd mm1, mm7
movq mm3, mm1
psrlq mm3, 0x20
paddd mm1, mm3
psrad mm1, 0xd
packssdw mm1, mm1
movd eax, mm1
mov word [edx + 0x3c], ax
jmp 0x6637de
mov eax, dword [ebp - 8]
lea ebx, [0x7e33dc]
add eax, eax
mov ecx, dword [ebp - 4]
sub ebx, eax
mov edx, dword [ebp + 0xc]
movq mm0, qword [ecx]
pmaddwd mm0, qword [ebx]
movq mm2, qword [ebx + 8]
pmaddwd mm2, qword [ecx + 8]
movq mm4, qword [ebx + 0x10]
pmaddwd mm4, qword [ecx + 0x10]
movq mm6, qword [ebx + 0x18]
pmaddwd mm6, qword [ecx + 0x18]
paddd mm0, mm2
movq mm1, qword [ebx + 0x80]
paddd mm0, mm4
movq mm3, qword [ebx + 0x88]
paddd mm0, mm6
movq mm5, qword [ebx + 0x90]
movq mm2, mm0
movq mm7, qword [ebx + 0x98]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x40]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x48]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x50]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x58]
movd eax, mm0
mov word [edx], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x100]
paddd mm1, mm5
movq mm2, qword [ebx + 0x108]
paddd mm1, mm7
movq mm4, qword [ebx + 0x110]
movq mm3, mm1
movq mm6, qword [ebx + 0x118]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 2], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x180]
paddd mm0, mm4
movq mm3, qword [ebx + 0x188]
paddd mm0, mm6
movq mm5, qword [ebx + 0x190]
movq mm2, mm0
movq mm7, qword [ebx + 0x198]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xc0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xc8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xd0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xd8]
movd eax, mm0
mov word [edx + 4], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x200]
paddd mm1, mm5
movq mm2, qword [ebx + 0x208]
paddd mm1, mm7
movq mm4, qword [ebx + 0x210]
movq mm3, mm1
movq mm6, qword [ebx + 0x218]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 6], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x280]
paddd mm0, mm4
movq mm3, qword [ebx + 0x288]
paddd mm0, mm6
movq mm5, qword [ebx + 0x290]
movq mm2, mm0
movq mm7, qword [ebx + 0x298]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x140]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x148]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x150]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x158]
movd eax, mm0
mov word [edx + 8], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x300]
paddd mm1, mm5
movq mm2, qword [ebx + 0x308]
paddd mm1, mm7
movq mm4, qword [ebx + 0x310]
movq mm3, mm1
movq mm6, qword [ebx + 0x318]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0xa], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x380]
paddd mm0, mm4
movq mm3, qword [ebx + 0x388]
paddd mm0, mm6
movq mm5, qword [ebx + 0x390]
movq mm2, mm0
movq mm7, qword [ebx + 0x398]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x1c0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x1c8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x1d0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x1d8]
movd eax, mm0
mov word [edx + 0xc], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x400]
paddd mm1, mm5
movq mm2, qword [ebx + 0x408]
paddd mm1, mm7
movq mm4, qword [ebx + 0x410]
movq mm3, mm1
movq mm6, qword [ebx + 0x418]
psrlq mm3, 0x20
pmulhw mm0, qword [ecx + 0x200]
paddd mm1, mm3
pmulhw mm2, qword [ecx + 0x208]
psrad mm1, 0xd
pmulhw mm4, qword [ecx + 0x210]
packssdw mm1, mm1
pmulhw mm6, qword [ecx + 0x218]
pslld mm0, 0x10
pslld mm2, 0x10
mov ebx, dword [ebp - 8]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm1
mov word [edx + 0xe], ax
lea ebx, [ebx*2 + 0x7e2fdc]
movq mm1, qword [ebx]
paddd mm0, mm2
movq mm3, qword [ebx + 8]
paddd mm0, mm4
movq mm5, qword [ebx + 0x10]
paddd mm0, mm6
movq mm7, qword [ebx + 0x18]
movq mm2, mm0
pmaddwd mm1, qword [ecx + 0x1c0]
psrlq mm2, 0x20
pmaddwd mm3, qword [ecx + 0x1c8]
paddd mm0, mm2
pmaddwd mm5, qword [ecx + 0x1d0]
psrad mm0, 0xd
pmaddwd mm7, qword [ecx + 0x1d8]
packssdw mm0, mm0
movd eax, mm0
mov word [edx + 0x10], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x80]
paddd mm1, mm5
movq mm2, qword [ebx + 0x88]
paddd mm1, mm7
movq mm4, qword [ebx + 0x90]
movq mm3, mm1
movq mm6, qword [ebx + 0x98]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x180]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x188]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x190]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x198]
movd eax, mm1
mov word [edx + 0x12], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x100]
paddd mm0, mm4
movq mm3, qword [ebx + 0x108]
paddd mm0, mm6
movq mm5, qword [ebx + 0x110]
movq mm2, mm0
movq mm7, qword [ebx + 0x118]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x140]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x148]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x150]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x158]
movd eax, mm0
mov word [edx + 0x14], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x180]
paddd mm1, mm5
movq mm2, qword [ebx + 0x188]
paddd mm1, mm7
movq mm4, qword [ebx + 0x190]
movq mm3, mm1
movq mm6, qword [ebx + 0x198]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x100]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x108]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x110]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x118]
movd eax, mm1
mov word [edx + 0x16], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x200]
paddd mm0, mm4
movq mm3, qword [ebx + 0x208]
paddd mm0, mm6
movq mm5, qword [ebx + 0x210]
movq mm2, mm0
movq mm7, qword [ebx + 0x218]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0xc0]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0xc8]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0xd0]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0xd8]
movd eax, mm0
mov word [edx + 0x18], ax
paddd mm1, mm3
movq mm0, qword [ebx + 0x280]
paddd mm1, mm5
movq mm2, qword [ebx + 0x288]
paddd mm1, mm7
movq mm4, qword [ebx + 0x290]
movq mm3, mm1
movq mm6, qword [ebx + 0x298]
psrlq mm3, 0x20
pmaddwd mm0, qword [ecx + 0x80]
paddd mm1, mm3
pmaddwd mm2, qword [ecx + 0x88]
psrad mm1, 0xd
pmaddwd mm4, qword [ecx + 0x90]
packssdw mm1, mm1
pmaddwd mm6, qword [ecx + 0x98]
movd eax, mm1
mov word [edx + 0x1a], ax
paddd mm0, mm2
movq mm1, qword [ebx + 0x300]
paddd mm0, mm4
movq mm3, qword [ebx + 0x308]
paddd mm0, mm6
movq mm5, qword [ebx + 0x310]
movq mm2, mm0
movq mm7, qword [ebx + 0x318]
psrlq mm2, 0x20
pmaddwd mm1, qword [ecx + 0x40]
paddd mm0, mm2
pmaddwd mm3, qword [ecx + 0x48]
psrad mm0, 0xd
pmaddwd mm5, qword [ecx + 0x50]
packssdw mm0, mm0
pmaddwd mm7, qword [ecx + 0x58]
movd eax, mm0
paddd mm1, mm3
mov word [edx + 0x1c], ax
paddd mm1, mm5
paddd mm1, mm7
movq mm3, mm1
psrlq mm3, 0x20
paddd mm1, mm3
psrad mm1, 0xd
packssdw mm1, mm1
movd eax, mm1
mov word [edx + 0x1e], ax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
add edx, 0x40
inc eax
mov dword [ebp - 0xc], edx
mov edx, dword [esi + 0x244c]
add edi, 0x480
add ecx, 0x480
add ebx, 2
cmp eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
jl 0x6616e1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8