Function at 0x532aa0
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 - 0x20], 0
mov al, byte [esi + 0x24bc]
dec al
and al, 0xf
mov ecx, eax
mov byte [esi + 0x24bc], al
and ecx, 0xff
mov edi, ecx
and edi, 1
mov eax, edi
xor eax, 1
lea edx, [ecx + eax]
mov ecx, dword [esi + 0x24cc]
test ecx, ecx
mov dword [ebp - 0x18], edx
jle 0x534110
push ebx
lea ebx, [eax + eax*8]
mov eax, dword [ebp + 8]
lea ecx, [edi + edi*8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [esi + 4]
shl ebx, 6
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + edx*2 + 4]
shl ecx, 5
add eax, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], eax
jmp 0x532b1d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
add edx, ebx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
push edx
push eax
mov al, byte [esi + 0x24bc]
add eax, edi
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
push edx
call fcn.00534120
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x5340d3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24cc]
cmp eax, 2
jne 0x533609
mov eax, dword [ebp - 0x18]
lea ebx, [0x8b3724]
imul eax, eax, 0x220
mov ecx, dword [ebp - 0x14]
add ebx, eax
mov edx, dword [ebp - 0x10]
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 + 0x20]
paddd mm0, mm4
movq mm3, qword [ebx + 0x28]
paddd mm0, mm6
movq mm5, qword [ebx + 0x30]
movq mm2, mm0
movq mm7, qword [ebx + 0x38]
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 + 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 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 + 0x60]
paddd mm0, mm4
movq mm3, qword [ebx + 0x68]
paddd mm0, mm6
movq mm5, qword [ebx + 0x70]
movq mm2, mm0
movq mm7, qword [ebx + 0x78]
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 + 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 + 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 + 0xa0]
paddd mm0, mm4
movq mm3, qword [ebx + 0xa8]
paddd mm0, mm6
movq mm5, qword [ebx + 0xb0]
movq mm2, mm0
movq mm7, qword [ebx + 0xb8]
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 + 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 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 + 0xe0]
paddd mm0, mm4
movq mm3, qword [ebx + 0xe8]
paddd mm0, mm6
movq mm5, qword [ebx + 0xf0]
movq mm2, mm0
movq mm7, qword [ebx + 0xf8]
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 + 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 + 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 + 0x120]
paddd mm0, mm4
movq mm3, qword [ebx + 0x128]
paddd mm0, mm6
movq mm5, qword [ebx + 0x130]
movq mm2, mm0
movq mm7, qword [ebx + 0x138]
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 + 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 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 + 0x160]
paddd mm0, mm4
movq mm3, qword [ebx + 0x168]
paddd mm0, mm6
movq mm5, qword [ebx + 0x170]
movq mm2, mm0
movq mm7, qword [ebx + 0x178]
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 + 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 + 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 + 0x1a0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x1a8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x1b0]
movq mm2, mm0
movq mm7, qword [ebx + 0x1b8]
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 + 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 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 + 0x1e0]
paddd mm0, mm4
movq mm3, qword [ebx + 0x1e8]
paddd mm0, mm6
movq mm5, qword [ebx + 0x1f0]
movq mm2, mm0
movq mm7, qword [ebx + 0x1f8]
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 + 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
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 - 0x18]
pslld mm4, 0x10
imul ebx, ebx, 0x1e0
pslld mm6, 0x10
movd eax, mm3
mov word [edx + 0x3c], ax
lea ebx, [ebx + 0x8b1924]
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 + 0x20]
paddd mm1, mm5
movq mm2, qword [ebx + 0x28]
paddd mm1, mm7
movq mm4, qword [ebx + 0x30]
movq mm3, mm1
movq mm6, qword [ebx + 0x38]
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 + 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 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 + 0x60]
paddd mm1, mm5
movq mm2, qword [ebx + 0x68]
paddd mm1, mm7
movq mm4, qword [ebx + 0x70]
movq mm3, mm1
movq mm6, qword [ebx + 0x78]
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 + 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 + 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 + 0xa0]
paddd mm1, mm5
movq mm2, qword [ebx + 0xa8]
paddd mm1, mm7
movq mm4, qword [ebx + 0xb0]
movq mm3, mm1
movq mm6, qword [ebx + 0xb8]
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 + 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 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 + 0xe0]
paddd mm1, mm5
movq mm2, qword [ebx + 0xe8]
paddd mm1, mm7
movq mm4, qword [ebx + 0xf0]
movq mm3, mm1
movq mm6, qword [ebx + 0xf8]
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 + 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 + 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 + 0x120]
paddd mm1, mm5
movq mm2, qword [ebx + 0x128]
paddd mm1, mm7
movq mm4, qword [ebx + 0x130]
movq mm3, mm1
movq mm6, qword [ebx + 0x138]
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 + 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 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 + 0x160]
paddd mm1, mm5
movq mm2, qword [ebx + 0x168]
paddd mm1, mm7
movq mm4, qword [ebx + 0x170]
movq mm3, mm1
movq mm6, qword [ebx + 0x178]
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 + 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 + 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 + 0x1a0]
paddd mm1, mm5
movq mm2, qword [ebx + 0x1a8]
paddd mm1, mm7
movq mm4, qword [ebx + 0x1b0]
movq mm3, mm1
movq mm6, qword [ebx + 0x1b8]
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 + 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 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 0x5340d0
mov eax, dword [ebp - 0x18]
lea ebx, [0x5b730c]
add eax, eax
mov ecx, dword [ebp - 0x14]
sub ebx, eax
mov edx, dword [ebp - 0x10]
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 - 0x18]
pslld mm4, 0x10
neg ebx
pslld mm6, 0x10
movd eax, mm3
mov word [edx + 0x1e], ax
lea ebx, [ebx*2 + 0x5b6f0c]
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
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov ecx, 0x480
add edx, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 4]
add edx, ecx
mov ecx, dword [ebp - 8]
add ecx, 0x40
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x24cc]
inc eax
add edx, 2
cmp eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], edx
jl 0x532b17
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8