Function at 0x10243b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x438
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x434], eax
mov ecx, dword [ebp + 0x18]
mov eax, ecx
mov edx, dword [ebp + 0x24]
and eax, 0xfffffff0
sub ecx, eax
mov dword [esp + 0x64], eax
mov dword [ebp + 0x18], ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ecx + ecx]
mov dword [esp + 0xc], 0
mov ecx, 0x108f0a88
sub ecx, eax
mov eax, 1
cmp dword [ebp + 0x2c], 0
push edi
mov edi, dword [ebp + 0x28]
vmovdqu ymm0, ymmword [ecx]
mov ecx, 4
mov dword [esp + 0x7c], edi
cmovne eax, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
sub edi, edx
lea eax, [esi + esi]
mov dword [esp + 0x74], edi
mov dword [esp + 0x34], eax
lea edi, [esi + esi*2]
lea eax, [edx + 0x30]
add edi, edi
vmovdqu ymmword [esp + 0x120], ymm0
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x58], eax
nop
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push 0xc0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x364]
push 0
vmovdqu ymmword [esp + 0x348], ymm0
push eax
vzeroupper
call fcn.10513d40
push 0xc0
vpxor xmm0, xmm0, xmm0
push 0
lea eax, [esp + 0x294]
vmovdqu ymmword [esp + 0x274], ymm0
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm0, ymmword [esp + 0x3d8]
vmovdqu ymm2, ymmword [esp + 0x398]
vmovdqu ymm1, ymmword [esp + 0x358]
mov eax, dword [esp + 0x58]
lea ecx, [esi*4]
vmovdqu ymm5, ymmword [esp + 0x418]
vmovdqu ymm7, ymmword [esp + 0x3f8]
vmovdqu ymm6, ymmword [esp + 0x338]
mov edx, dword [esp + 0x40]
add esp, 0x18
vmovdqu ymmword [esp + 0x140], ymm0
vmovdqu ymm0, ymmword [esp + 0x3a0]
vmovdqu ymmword [esp + 0x1a0], ymm0
vmovdqu ymm0, ymmword [esp + 0x360]
vmovdqu ymmword [esp + 0x160], ymm0
vmovdqu ymm0, ymmword [esp + 0x300]
vmovdqu ymmword [esp + 0x1c0], ymm2
vmovdqu ymm2, ymmword [esp + 0x2e0]
vmovdqu ymmword [esp + 0xe0], ymm0
vmovdqu ymm0, ymmword [esp + 0x2c0]
mov dword [esp + 0x20], ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
vmovdqu ymmword [esp + 0x180], ymm1
vmovdqu ymm1, ymmword [esp + 0x2a0]
vmovdqu ymmword [esp + 0x80], ymm2
vmovdqu ymm2, ymmword [esp + 0x260]
vmovdqu ymmword [esp + 0x1e0], ymm0
vmovdqu ymm0, ymmword [esp + 0x280]
mov dword [esp + 0x18], eax
lea eax, [esi + esi*4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x38], edi
vmovdqu ymmword [esp + 0x200], ymm1
vmovdqu ymmword [esp + 0x220], ymm0
vmovdqu ymmword [esp + 0x240], ymm2
nop word [eax + eax]
cmp dword [ebp + 0x2c], 0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x1c], eax
je 0x10243d9a
mov esi, dword [esp + 0x14]
mov eax, ecx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x48], edi
cmp eax, 4
jge 0x10243d9a
mov dword [esp + 0x2c], eax
lea edi, [esi + esi*2]
lea eax, [esi*4]
add edi, edi
mov dword [esp + 0x20], eax
lea eax, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edi
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x2c]
cwde
vmovd xmm0, eax
vpbroadcastw ymm4, xmm0
vmovdqu ymmword [esp + 0xc0], ymm4
jle 0x10243fc0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x70], edx
lea eax, [edx + edi*2]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
add eax, edi
lea eax, [edx + eax*2]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
add eax, edi
lea eax, [edx + eax*2]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add eax, edi
lea eax, [edx + eax*2]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
add eax, edi
lea eax, [edx + eax*2]
mov dword [esp + 0x20], eax
lea eax, [edi + esi*2]
mov edi, dword [esp + 0x50]
lea eax, [edx + eax*2]
mov dword [esp + 0x24], eax
sub edi, edx
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov esi, eax
shl esi, 4
mov dword [esp + 0x5c], esi
nop dword [eax + eax]
vpmullw ymm3, ymm4, ymmword [edi + edx]
vpmullw ymm2, ymm4, ymmword [edx]
mov esi, dword [esp + 0x48]
lea edx, [edx + 0x20]
add dword [esp + 0x48], 0x20
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm4, ymm0, ymmword [esp + 0x180]
vpmaddwd ymm0, ymm2, ymmword [esi]
vpaddd ymm1, ymm0, ymmword [esp + 0x240]
mov esi, dword [esp + 0x1c]
vmovdqu ymmword [esp + 0x180], ymm4
vmovdqu ymmword [esp + 0x240], ymm1
add dword [esp + 0x1c], 0x20
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm4, ymm0, ymmword [esp + 0x160]
vpmaddwd ymm0, ymm2, ymmword [esi]
vpaddd ymm1, ymm0, ymmword [esp + 0x220]
mov esi, dword [esp + 0x24]
vmovdqu ymmword [esp + 0x160], ymm4
vmovdqu ymmword [esp + 0x220], ymm1
add dword [esp + 0x24], 0x20
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm4, ymm0, ymmword [esp + 0x1c0]
vpmaddwd ymm0, ymm2, ymmword [esi]
vpaddd ymm1, ymm0, ymmword [esp + 0x200]
mov esi, dword [esp + 0x20]
add dword [esp + 0x20], 0x20
vmovdqu ymmword [esp + 0x1c0], ymm4
vmovdqu ymmword [esp + 0x200], ymm1
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm4, ymm0, ymmword [esp + 0x1a0]
vpmaddwd ymm0, ymm2, ymmword [esi]
vpaddd ymm1, ymm0, ymmword [esp + 0x1e0]
mov esi, dword [esp + 0x54]
add dword [esp + 0x54], 0x20
vmovdqu ymmword [esp + 0x1a0], ymm4
vmovdqu ymmword [esp + 0x1e0], ymm1
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm4, ymm0, ymmword [esp + 0x140]
vpmaddwd ymm0, ymm2, ymmword [esi]
mov esi, dword [esp + 0x4c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x4c], 0x20
vmovdqu ymmword [esp + 0x80], ymm1
vpmaddwd ymm0, ymm3, ymmword [esi]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm2, ymmword [esi]
mov esi, dword [esp + 0x38]
vpaddd ymm1, ymm0, ymmword [esp + 0xe0]
add dword [esp + 0x38], 0x20
vmovdqu ymmword [esp + 0x140], ymm4
vpmaddwd ymm0, ymm3, ymmword [esi]
vmovdqu ymm4, ymmword [esp + 0xc0]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm2, ymmword [esi]
mov esi, dword [ebp + 0xc]
vmovdqu ymmword [esp + 0xe0], ymm1
vpaddd ymm6, ymm0, ymm6
sub eax, 1
jne 0x10243e30
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*2]
mov dword [esp + 0x24], eax
lea edi, [esi + esi*2]
lea eax, [esi*4]
add edi, edi
mov dword [esp + 0x20], eax
lea eax, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edi
cmp dword [ebp + 0x18], 0
je 0x1024415d
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
vpmullw ymm3, ymm0, ymm4
vmovdqu ymm0, ymmword [edx + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x5c]
vpmullw ymm2, ymm0, ymm4
mov edi, dword [esp + 0x5c]
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm4, ymm0, ymmword [esp + 0x180]
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
vpaddd ymm1, ymm0, ymmword [esp + 0x240]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x5c]
add eax, esi
vmovdqu ymmword [esp + 0x180], ymm4
vmovdqu ymmword [esp + 0x240], ymm1
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm4, ymm0, ymmword [esp + 0x160]
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
vpaddd ymm1, ymm0, ymmword [esp + 0x220]
mov eax, dword [esp + 0x5c]
vmovdqu ymmword [esp + 0x160], ymm4
vmovdqu ymmword [esp + 0x220], ymm1
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm4, ymm0, ymmword [esp + 0x1c0]
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
vpaddd ymm1, ymm0, ymmword [esp + 0x200]
mov eax, dword [esp + 0x24]
add eax, edi
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x1c0], ymm4
vmovdqu ymmword [esp + 0x200], ymm1
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm4, ymm0, ymmword [esp + 0x1a0]
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x1e0]
add eax, edi
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x1a0], ymm4
vmovdqu ymmword [esp + 0x1e0], ymm1
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm4, ymm0, ymmword [esp + 0x140]
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
mov eax, dword [esp + 0x1c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, edi
mov edi, dword [esp + 0x48]
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymmword [esp + 0x140], ymm4
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
mov eax, dword [esp + 0x5c]
vpaddd ymm1, ymm0, ymmword [esp + 0xe0]
add eax, edi
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0xe0], ymm1
vpmaddwd ymm0, ymm3, ymmword [edx + eax*2]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm2, ymmword [edx + eax*2]
vpaddd ymm6, ymm0, ymm6
jmp 0x10244184
vmovdqu ymm4, ymmword [esp + 0x140]
lea eax, [esi + esi*4]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*2]
lea eax, [esi*4]
add edi, edi
mov dword [esp + 0x20], eax
lea eax, [esi + esi*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], eax
imul eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], edi
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x2c]
imul eax, esi
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x18], ecx
jl 0x10243d10
vmovdqu ymm2, ymmword [esp + 0x1c0]
vphaddd ymm0, ymm2, ymmword [esp + 0x1a0]
vmovdqu ymm1, ymmword [esp + 0x180]
vphaddd ymm1, ymm1, ymmword [esp + 0x160]
vphaddd ymm3, ymm1, ymm0
mov ecx, dword [esp + 0x58]
vphaddd ymm1, ymm5, ymm5
mov edx, dword [esp + 0x3c]
vphaddd ymm0, ymm4, ymm7
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm2, ymm0, ymm1
mov eax, dword [esp + 0x74]
vextracti128 xmm0, ymm3, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm3
vpaddq ymm0, ymm0, ymm1
vmovdqu ymm1, ymmword [esp + 0x200]
vphaddd ymm1, ymm1, ymmword [esp + 0x1e0]
vmovdqu ymmword [ecx - 0x30], ymm0
vmovdqu xmmword [ecx - 0x10], xmm2
vextracti128 xmm0, ymm2, 1
vmovdqu ymm2, ymmword [esp + 0x240]
vmovq qword [ecx], xmm0
vphaddd ymm0, ymm2, ymmword [esp + 0x220]
vmovdqu ymm2, ymmword [esp + 0x80]
vphaddd ymm3, ymm0, ymm1
vphaddd ymm0, ymm2, ymmword [esp + 0xe0]
add dword [esp + 0x34], 2
vphaddd ymm1, ymm6, ymm6
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm2, ymm0, ymm1
vextracti128 xmm0, ymm3, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm3
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vextracti128 xmm0, ymm2, 1
vmovdqu xmmword [edx + 0x20], xmm2
vmovq qword [eax + ecx], xmm0
mov eax, dword [esp + 0x10]
add ecx, 0x38
inc eax
mov dword [esp + 0x58], ecx
add edx, 0x38
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], edx
vpxor xmm0, xmm0, xmm0
cmp eax, 7
jl 0x10243ba0
cmp dword [ebp + 0x2c], 0
mov ecx, 1
mov eax, ecx
mov dword [esp + 0x58], ecx
mov edx, 4
mov dword [esp + 0x14], 7
cmovne eax, edx
mov dword [esp + 0x74], eax
lea eax, [esi + esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
add eax, 0x190
mov dword [esp + 0x30], eax
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
push 0
mov dword [esp + 0x18], edi
lea eax, [edx + edi*2]
mov dword [esp + 0x58], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
lea eax, [edx + ecx*2]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm3, ymmword [esp + 0x30c]
vmovdqu ymm2, ymmword [esp + 0x2ec]
vmovdqu ymm4, ymmword [esp + 0x2cc]
vmovdqu ymm5, ymmword [esp + 0x2ac]
vmovdqu ymm6, ymmword [esp + 0x28c]
vmovdqu ymm7, ymmword [esp + 0x26c]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*2]
mov eax, dword [ebp + 0x20]
lea edi, [esi*4]
add esp, 0xc
add ecx, ecx
nop
mov dword [esp + 0x18], edi
xor edi, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
cmp dword [ebp + 0x2c], edi
je 0x102443f5
sub eax, dword [esp + 0x2c]
cmp eax, 4
jge 0x102443f5
lea ecx, [esi + esi*2]
mov dword [esp + 0x54], eax
add ecx, ecx
mov eax, dword [esp + 0x54]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0x80], ymm1
cmp dword [esp + 0x6c], edi
jle 0x1024450f
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x28]
lea eax, [edx + eax*4]
mov dword [esp + 0x4c], eax
lea eax, [esi + esi*4]
lea eax, [edx + eax*2]
mov dword [esp + 0x38], eax
lea eax, [edx + esi*8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
dec eax
shr eax, 4
inc eax
mov edx, eax
mov dword [esp + 0x3c], eax
shl edx, 4
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
nop word [eax + eax]
vpmullw ymm1, ymm1, ymmword [ecx]
vpmaddwd ymm0, ymm1, ymmword [esi]
mov eax, dword [esp + 0x34]
lea ecx, [ecx + 0x20]
add dword [esp + 0x34], 0x20
lea esi, [esi + 0x20]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edi]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x38]
lea edi, [edi + 0x20]
add dword [esp + 0x38], 0x20
lea edx, [edx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x4c], 0x20
sub dword [esp + 0x3c], 1
vpaddd ymm2, ymm0, ymm2
vpmaddwd ymm0, ymm1, ymmword [eax]
vmovdqu ymm1, ymmword [esp + 0x80]
vpaddd ymm3, ymm0, ymm3
jne 0x10244480
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0x80]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
lea eax, [esi*4]
lea ecx, [esi + esi*2]
mov dword [esp + 0x18], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10244582
mov eax, dword [esp + 0x28]
vmovdqu ymm0, ymmword [eax + edi*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
vpmullw ymm1, ymm0, ymm1
lea eax, [edi + esi]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [esi + esi]
add eax, edi
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [edi + esi*2]
add eax, esi
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x18]
add eax, edi
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [edi + esi*4]
add eax, esi
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [edi + ecx]
mov edi, dword [esp + 0x18]
vpaddd ymm2, ymm0, ymm2
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
vpaddd ymm3, ymm0, ymm3
jmp 0x1024458e
lea ecx, [esi + esi*2]
add ecx, ecx
lea edi, [esi*4]
mov eax, dword [esp + 0x54]
add dword [esp + 0x2c], eax
imul eax, esi
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x50], edx
cmp dword [esp + 0x2c], eax
jl 0x102443d0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
vphaddd ymm1, ymm5, ymm4
vphaddd ymm0, ymm7, ymm6
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [eax], ymm0
vextracti128 xmm0, ymm2, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm2
vpaddq ymm2, ymm0, ymm1
vextracti128 xmm0, ymm3, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm3
vpaddq ymm0, ymm0, ymm1
vpunpcklqdq ymm1, ymm2, ymm0
vpunpckhqdq ymm0, ymm2, ymm0
vpaddq ymm1, ymm0, ymm1
vextracti128 xmm0, ymm1, 1
inc edi
mov dword [esp + 0x10], edi
vpaddq xmm0, xmm0, xmm1
vmovdqu xmmword [eax + 0x20], xmm0
cmp edi, 7
jge 0x10244a60
mov eax, dword [esp + 0x58]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x40], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x3c], eax
lea eax, [esi + esi]
add eax, edi
add eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x70], eax
add ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x50], eax
lea eax, [esi*4]
mov dword [esp + 0x48], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x1024474d
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x38]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x1024474d
mov dword [esp + 0x50], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x50]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x102448be
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x18], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x34]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x34], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x38]
lea esi, [esi + 0x20]
add dword [esp + 0x38], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x4c], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x54]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x54], 0x20
sub dword [esp + 0x18], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x102447f0
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10244990
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x102449aa
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x34], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], edx
jl 0x102446e0
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [esp + 0x5c], 2
inc eax
add dword [esp + 0x3c], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x70], edx
mov dword [esp + 0x44], edi
cmp eax, 7
jl 0x10244686
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
add eax, 0xaf0
mov dword [esp + 0x30], eax
add ecx, 7
mov eax, dword [esp + 0x14]
add eax, 0x31
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], eax
cmp eax, 0x157
jl 0x10244325
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov edx, 4
mov dword [esp + 0x5c], 0xe
cmovne eax, edx
mov ecx, 2
mov dword [esp + 0x70], eax
lea eax, [esi + esi]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x7c]
add eax, 0x320
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
push 0
mov dword [esp + 0x18], edi
lea eax, [edx + edi*2]
mov dword [esp + 0x3c], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
lea eax, [edx + ecx*2]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm2, ymmword [esp + 0x2ec]
vmovdqu ymm3, ymmword [esp + 0x2cc]
vmovdqu ymm4, ymmword [esp + 0x2ac]
vmovdqu ymm5, ymmword [esp + 0x28c]
vmovdqu ymm6, ymmword [esp + 0x26c]
mov edx, dword [ebp + 0x20]
lea ecx, [esi + esi*2]
mov edi, dword [esp + 0x40]
lea eax, [esi*4]
add esp, 0xc
add ecx, ecx
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], 0
je 0x10244b92
mov eax, edx
sub eax, dword [esp + 0x28]
cmp eax, 4
jge 0x10244b92
lea ecx, [esi + esi*2]
mov dword [esp + 0x3c], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x3c]
cwde
vmovd xmm0, eax
vpbroadcastw ymm7, xmm0
jle 0x10244c6e
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x18]
lea eax, [edi + eax*4]
mov dword [esp + 0x58], eax
lea eax, [esi + esi*4]
lea eax, [edi + eax*2]
mov dword [esp + 0x30], eax
lea eax, [edi + esi*8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
add eax, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov esi, eax
mov dword [esp + 0x44], eax
shl esi, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x64]
nop dword [eax]
vpmullw ymm1, ymm7, ymmword [ecx]
vpmaddwd ymm0, ymm1, ymmword [esi]
mov eax, dword [esp + 0x14]
lea ecx, [ecx + 0x20]
add dword [esp + 0x14], 0x20
lea esi, [esi + 0x20]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edi]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea edi, [edi + 0x20]
add dword [esp + 0x30], 0x20
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
sub dword [esp + 0x44], 1
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [eax]
vpaddd ymm2, ymm0, ymm2
jne 0x10244c00
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x34]
lea eax, [esi*4]
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10244ce4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
vmovdqu ymm0, ymmword [esi + eax*2]
add eax, dword [esp + 0x78]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov esi, dword [ebp + 0xc]
vpmullw ymm1, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
vpaddd ymm6, ymm0, ymm6
lea eax, [eax + esi*2]
add eax, esi
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*4]
add eax, esi
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
add eax, ecx
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
vpaddd ymm2, ymm0, ymm2
jmp 0x10244cf4
lea ecx, [esi + esi*2]
lea eax, [esi*4]
add ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x28], eax
imul eax, esi
add eax, eax
add dword [esp + 0x18], eax
add edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edi
cmp dword [esp + 0x28], edx
jl 0x10244b64
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
vphaddd ymm1, ymm4, ymm3
vphaddd ymm0, ymm6, ymm5
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [eax], ymm0
vextracti128 xmm0, ymm2, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm2
vpaddq ymm0, ymm0, ymm1
vpunpcklqdq ymm1, ymm0, ymm0
vpunpckhqdq ymm0, ymm0, ymm0
vpaddq ymm1, ymm0, ymm1
vextracti128 xmm0, ymm1, 1
inc edi
mov dword [esp + 0x10], edi
vpaddq xmm0, xmm0, xmm1
vmovq qword [eax + 0x20], xmm0
cmp edi, 7
jge 0x102451c0
mov eax, dword [esp + 0x50]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x64], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x54], eax
lea eax, [esi + esi]
add eax, edi
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x60], eax
add ecx, ecx
mov dword [esp + 0x40], eax
nop dword [eax]
mov eax, dword [esp + 0x64]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esi*4]
mov dword [esp + 0x38], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x10244ead
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x44]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x10244ead
mov dword [esp + 0x34], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x34]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x1024501e
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x44], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x14]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x14], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x44], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x10244f50
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x102450f0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x1024510a
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
jl 0x10244e40
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], 2
inc eax
add dword [esp + 0x54], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], edi
cmp eax, 7
jl 0x10244de0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 0xaf0
mov dword [esp + 0x48], eax
add ecx, 7
mov eax, dword [esp + 0x5c]
add eax, 0x31
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp eax, 0x157
jl 0x10244ac4
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov edx, 4
mov dword [esp + 0x5c], 0x15
cmovne eax, edx
mov ecx, 3
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
add eax, 0x4b0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
nop dword [eax]
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
push 0
mov dword [esp + 0x18], edi
lea eax, [edx + edi*2]
mov dword [esp + 0x20], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
lea eax, [edx + ecx*2]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm2, ymmword [esp + 0x2cc]
vmovdqu ymm3, ymmword [esp + 0x2ac]
vmovdqu ymm4, ymmword [esp + 0x28c]
vmovdqu ymm5, ymmword [esp + 0x26c]
mov eax, dword [ebp + 0x20]
lea ecx, [esi + esi*2]
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ecx, ecx
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov dword [esp + 0x1c], 0
je 0x102452dc
sub eax, dword [esp + 0x2c]
cmp eax, 4
cmovl edx, eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x6c], 0
movsx eax, dx
vmovd xmm0, eax
vpbroadcastw ymm6, xmm0
jle 0x10245380
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*2]
lea eax, [edi + eax*4]
add ecx, edi
mov dword [esp + 0x40], eax
lea eax, [esi + esi*4]
lea eax, [edi + eax*2]
mov dword [esp + 0x64], eax
lea eax, [edi + esi*8]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov esi, eax
mov dword [esp + 0x60], eax
shl esi, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x78]
vpmullw ymm1, ymm6, ymmword [edx]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x40]
lea edx, [edx + 0x20]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [esi]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edi]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [eax]
add eax, 0x20
lea ecx, [ecx + 0x20]
sub dword [esp + 0x60], 1
lea esi, [esi + 0x20]
vpaddd ymm2, ymm0, ymm2
lea edi, [edi + 0x20]
mov dword [esp + 0x40], eax
jne 0x10245332
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [esi + esi*2]
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x102453e5
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov edi, dword [esp + 0x18]
lea eax, [eax + esi*2]
add eax, esi
vpmullw ymm1, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
vpaddd ymm5, ymm0, ymm5
lea eax, [eax + esi*4]
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*4]
add eax, esi
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
mov eax, dword [esp + 0x1c]
add eax, ecx
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
vpaddd ymm2, ymm0, ymm2
jmp 0x102453ee
mov edi, dword [esp + 0x18]
lea ecx, [esi + esi*2]
add ecx, ecx
add dword [esp + 0x2c], edx
mov eax, edx
imul eax, esi
add eax, eax
add dword [esp + 0x28], eax
add edi, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x2c], eax
jl 0x102452c0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
inc edi
mov dword [esp + 0x10], edi
vphaddd ymm1, ymm3, ymm2
vphaddd ymm0, ymm5, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [eax], ymm0
cmp edi, 7
jge 0x10245880
mov eax, dword [esp + 0x50]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x78], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x54], eax
lea eax, [edi + esi*2]
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x70], eax
add ecx, ecx
mov dword [esp + 0x74], eax
nop
mov eax, dword [esp + 0x78]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esi*4]
mov dword [esp + 0x38], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x1024556d
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x1024556d
mov dword [esp + 0x34], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x34]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x102456de
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x40], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x14]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x14], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x40], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x10245610
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x102457b0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x102457ca
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
jl 0x10245500
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], 2
inc eax
add dword [esp + 0x54], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
cmp eax, 7
jl 0x102454a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 0xaf0
mov dword [esp + 0x48], eax
add ecx, 7
mov eax, dword [esp + 0x5c]
add eax, 0x31
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp eax, 0x157
jl 0x10245220
cmp dword [ebp + 0x2c], 0
mov ecx, 4
mov eax, 1
mov dword [esp + 0x50], ecx
mov edx, ecx
mov dword [esp + 0x5c], 0x1c
cmovne eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
add eax, 0x640
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
mov dword [esp + 0x14], edi
push 0
lea eax, [edx + edi*2]
mov dword [esp + 0x20], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x48], edi
lea eax, [edx + ecx*2]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm2, ymmword [esp + 0x2ac]
vmovdqu ymm3, ymmword [esp + 0x28c]
vmovdqu ymm4, ymmword [esp + 0x26c]
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp dword [ebp + 0x2c], ecx
je 0x10245977
sub eax, dword [esp + 0x14]
cmp eax, 4
cmovl edi, eax
mov dword [esp + 0x40], edi
movsx eax, di
vmovd xmm0, eax
vpbroadcastw ymm5, xmm0
cmp dword [esp + 0x6c], ecx
jle 0x102459fc
mov ecx, dword [esp + 0x28]
lea eax, [esi + esi*2]
lea eax, [edx + eax*4]
mov dword [esp + 0x64], eax
lea eax, [esi + esi*4]
mov edi, dword [esp + 0x64]
lea eax, [edx + eax*2]
mov dword [esp + 0x78], eax
lea edx, [edx + esi*8]
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov esi, eax
shl esi, 4
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x78]
nop
lea ecx, [ecx + 0x20]
lea edx, [edx + 0x20]
lea esi, [esi + 0x20]
lea edi, [edi + 0x20]
vpmullw ymm1, ymm5, ymmword [ecx - 0x20]
vpmaddwd ymm0, ymm1, ymmword [edx - 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [esi - 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edi - 0x20]
vpaddd ymm2, ymm0, ymm2
sub eax, 1
jne 0x102459c0
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
cmp dword [ebp + 0x18], 0
mov edx, dword [esp + 0x18]
je 0x10245a45
mov eax, dword [esp + 0x28]
vmovdqu ymm0, ymmword [eax + ecx*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
vpmullw ymm1, ymm0, ymm5
lea eax, [ecx + esi*4]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [ecx + esi*4]
add eax, esi
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*2]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
vpaddd ymm2, ymm0, ymm2
mov ecx, dword [esp + 0x14]
mov eax, edi
imul eax, esi
add ecx, edi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], edx
cmp ecx, eax
jl 0x10245962
vphaddd ymm1, ymm2, ymmword [esp + 0x2c0]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
inc edi
mov dword [esp + 0x10], edi
vphaddd ymm0, ymm4, ymm3
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [eax], ymm0
cmp edi, 7
jge 0x10245ee0
mov eax, dword [esp + 0x50]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x78], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x54], eax
lea eax, [edi + esi*2]
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x70], eax
add ecx, ecx
mov dword [esp + 0x74], eax
nop
mov eax, dword [esp + 0x78]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esi*4]
mov dword [esp + 0x38], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x10245bcd
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x40]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x10245bcd
mov dword [esp + 0x34], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x34]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x10245d3e
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x40], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x14]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x14], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x40], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x10245c70
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10245e10
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x10245e2a
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
jl 0x10245b60
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], 2
inc eax
add dword [esp + 0x54], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
cmp eax, 7
jl 0x10245b00
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 0xaf0
mov dword [esp + 0x48], eax
add ecx, 7
mov eax, dword [esp + 0x5c]
add eax, 0x31
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp eax, 0x157
jl 0x102458e0
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov edx, 4
mov dword [esp + 0x5c], 0x23
cmovne eax, edx
mov ecx, 5
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
add eax, 0x7d0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
nop dword [eax]
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
push 0
mov dword [esp + 0x18], edi
lea eax, [edx + edi*2]
mov dword [esp + 0x80], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
lea eax, [edx + ecx*2]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm2, ymmword [esp + 0x28c]
vmovdqu ymm3, ymmword [esp + 0x26c]
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
xor edx, edx
cmp dword [ebp + 0x2c], edx
je 0x10245fd5
sub eax, dword [esp + 0x30]
cmp eax, 4
cmovl ecx, eax
mov dword [esp + 0x14], ecx
movsx eax, cx
vmovd xmm0, eax
vpbroadcastw ymm4, xmm0
cmp dword [esp + 0x6c], edx
jle 0x10246041
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi*2]
lea eax, [edi + eax*4]
mov dword [esp + 0x78], eax
lea eax, [esi + esi*4]
lea edx, [edi + eax*2]
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov esi, eax
shl esi, 4
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x78]
lea ecx, [ecx + 0x20]
lea edx, [edx + 0x20]
lea esi, [esi + 0x20]
vpmullw ymm1, ymm4, ymmword [ecx - 0x20]
vpmaddwd ymm0, ymm1, ymmword [edx - 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi - 0x20]
vpaddd ymm2, ymm0, ymm2
sub eax, 1
jne 0x10246011
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
cmp dword [ebp + 0x18], 0
je 0x1024607a
mov eax, dword [esp + 0x18]
vmovdqu ymm0, ymmword [eax + edx*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
lea eax, [edx + esi*4]
add eax, esi
vpmullw ymm1, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
lea eax, [esi + esi*2]
lea eax, [edx + eax*2]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edi + eax*2]
vpaddd ymm2, ymm0, ymm2
mov edx, dword [esp + 0x30]
mov eax, ecx
imul eax, esi
add edx, ecx
mov dword [esp + 0x30], edx
add eax, eax
add dword [esp + 0x18], eax
add edi, eax
mov eax, dword [ebp + 0x20]
cmp edx, eax
jl 0x10245fc0
vmovdqu ymm0, ymmword [esp + 0x2a0]
vphaddd ymm1, ymm0, ymmword [esp + 0x2c0]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
inc edi
mov dword [esp + 0x10], edi
vphaddd ymm0, ymm3, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [eax], ymm0
cmp edi, 7
jge 0x10246520
mov eax, dword [esp + 0x50]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x78], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x54], eax
lea eax, [edi + esi*2]
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x70], eax
add ecx, ecx
mov dword [esp + 0x74], eax
nop dword [eax]
mov eax, dword [esp + 0x78]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esi*4]
mov dword [esp + 0x38], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x1024620d
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x60]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x1024620d
mov dword [esp + 0x34], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x34]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x1024637e
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x60], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x14]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x14], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x60], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x102462b0
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10246450
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x1024646a
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
jl 0x102461a0
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], 2
inc eax
add dword [esp + 0x54], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
cmp eax, 7
jl 0x10246140
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 0xaf0
mov dword [esp + 0x48], eax
add ecx, 7
mov eax, dword [esp + 0x5c]
add eax, 0x31
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp eax, 0x157
jl 0x10245f40
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov edx, 4
mov dword [esp + 0x5c], 0x2a
cmovne eax, edx
mov ecx, 6
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
add eax, 0x960
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
nop dword [eax]
mov eax, 0x24924925
mov edi, ecx
mul ecx
push 0xe0
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
push 0
mov dword [esp + 0x18], edi
lea eax, [edx + edi*2]
mov dword [esp + 0x20], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
mov edi, dword [ebp + 0x1c]
lea eax, [edx + ecx*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x268]
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm2, ymmword [esp + 0x26c]
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x14]
nop dword [eax]
xor edx, edx
cmp dword [ebp + 0x2c], edx
je 0x10246603
sub eax, edi
cmp eax, 4
cmovl ecx, eax
mov dword [esp + 0x14], ecx
movsx eax, cx
vmovd xmm0, eax
vpbroadcastw ymm3, xmm0
cmp dword [esp + 0x6c], edx
jle 0x10246656
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x6c]
dec eax
shr eax, 4
inc eax
mov dword [esp + 0x30], eax
shl dword [esp + 0x30], 4
lea ecx, [ecx + 0x20]
lea edx, [edx + 0x20]
vpmullw ymm1, ymm3, ymmword [ecx - 0x20]
vpmaddwd ymm0, ymm1, ymmword [edx - 0x20]
vpaddd ymm2, ymm0, ymm2
sub eax, 1
jne 0x10246635
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x10246687
mov eax, dword [esp + 0x28]
vmovdqu ymm0, ymmword [eax + edx*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
lea eax, [esi + esi*2]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x18]
vpmullw ymm1, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
vpaddd ymm2, ymm0, ymm2
jmp 0x1024668b
mov edx, dword [esp + 0x18]
mov eax, ecx
add edi, ecx
imul eax, esi
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], edx
cmp edi, eax
jl 0x102465f0
vmovdqu ymm0, ymmword [esp + 0x2a0]
vphaddd ymm1, ymm0, ymmword [esp + 0x2c0]
vphaddd ymm0, ymm2, ymmword [esp + 0x280]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
inc edi
mov dword [esp + 0x10], edi
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovq qword [eax], xmm0
cmp edi, 7
jge 0x10246b30
mov eax, dword [esp + 0x50]
mov ecx, 7
cdq
idiv ecx
imul edx, esi
add edx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + edx*2]
mov dword [esp + 0x78], eax
lea eax, [edi + esi]
add eax, eax
mov dword [esp + 0x54], eax
lea eax, [edi + esi*2]
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
lea ecx, [esi + esi*2]
mov dword [esp + 0x70], eax
add ecx, ecx
mov dword [esp + 0x74], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x78]
lea edi, [esi + esi*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
lea ecx, [esi + esi*2]
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x34], eax
lea eax, [esi*4]
mov dword [esp + 0x38], edx
vpxor xmm3, xmm3, xmm3
vpxor xmm4, xmm4, xmm4
vpxor xmm5, xmm5, xmm5
vpxor xmm6, xmm6, xmm6
vpxor xmm7, xmm7, xmm7
vmovdqu ymmword [esp + 0x80], ymm0
vpxor xmm2, xmm2, xmm2
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
cmp dword [ebp + 0x2c], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
je 0x1024681d
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x60]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x1024681d
mov dword [esp + 0x34], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x34]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x1024698e
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
lea eax, [edx + ecx*2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x60], eax
shl ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
nop dword [eax + eax]
vpmullw ymm1, ymm1, ymmword [edi]
vpmaddwd ymm0, ymm1, ymmword [ecx]
mov eax, dword [esp + 0x14]
lea edi, [edi + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [esi]
add dword [esp + 0x14], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [edx]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea edx, [edx + 0x20]
vpaddd ymm6, ymm0, ymm6
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x60], 1
vmovdqu ymm0, ymmword [eax]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x102468c0
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea edi, [esi + esi*4]
lea eax, [esi*4]
mov dword [esp + 0x18], edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x24], eax
add ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x10246a60
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
vpmullw ymm1, ymm0, ymm1
mov edi, dword [esp + 0x18]
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
add eax, esi
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm4, ymm0, ymm4
lea eax, [eax + esi*2]
add eax, dword [esp + 0x10]
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x10]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
add eax, edi
add eax, dword [esp + 0x10]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [edx + eax*2]
mov eax, dword [esp + 0x20]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add eax, ecx
add eax, dword [esp + 0x10]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm0, ymmword [edx + eax*2]
vpmaddwd ymm0, ymm0, ymmword [esp + 0xc0]
vpaddd ymm2, ymm0, ymm2
jmp 0x10246a7a
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea ecx, [esi + esi*2]
lea eax, [esi + esi*2]
add ecx, ecx
lea edi, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], ecx
add eax, eax
add dword [esp + 0x28], eax
add edx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
jl 0x102467b0
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
add dword [esp + 0x4c], 2
inc eax
add dword [esp + 0x54], 2
vphaddd ymm1, ymm5, ymm6
vphaddd ymm0, ymm3, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vphaddd ymm0, ymm7, ymmword [esp + 0x80]
vphaddd ymm1, ymm2, ymm2
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edi + 0x20], ymm0
add edx, 0x38
mov dword [esp + 0x10], eax
add edi, 0x38
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
cmp eax, 7
jl 0x10246750
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 0xaf0
mov dword [esp + 0x48], eax
add ecx, 7
mov eax, dword [esp + 0x5c]
add eax, 0x31
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp eax, 0x157
jl 0x10246580
cmp dword [ebp + 0x2c], 0
mov eax, 1
mov edx, 4
mov dword [esp + 0x20], 0x31
cmovne eax, edx
mov ecx, 7
mov dword [esp + 0x74], eax
lea eax, [esi + esi]
mov dword [esp + 0x118], eax
add eax, eax
mov dword [esp + 0x5c], ecx
vpxor xmm0, xmm0, xmm0
mov dword [esp + 0x78], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, 0x24924925
mov dword [esp + 0x10], 0
mul ecx
mov edi, ecx
sub edi, edx
shr edi, 1
add edi, edx
mov edx, dword [ebp + 8]
shr edi, 2
lea eax, [edx + edi*2]
mov dword [esp + 0x64], eax
lea eax, [edi*8]
sub eax, edi
sub ecx, eax
imul ecx, esi
add ecx, edi
lea edi, [esi + esi*2]
lea eax, [edx + ecx*2]
mov dword [esp + 0x68], eax
lea eax, [esi + esi]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, 0x92492493
imul dword [esp + 0x5c]
add edx, dword [esp + 0x5c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x11c], eax
add eax, dword [esp + 0x20]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x7c]
shl ecx, 3
add eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], eax
add edi, edi
mov dword [esp + 0x48], eax
nop
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
push 0xc0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x284]
push 0
vmovdqu ymmword [esp + 0x268], ymm0
push eax
vzeroupper
call fcn.10513d40
vmovdqu ymm0, ymmword [esp + 0x26c]
vmovdqu ymm2, ymmword [esp + 0x32c]
vmovdqu ymm4, ymmword [esp + 0x30c]
vmovdqu ymm5, ymmword [esp + 0x2ec]
vmovdqu ymm3, ymmword [esp + 0x2cc]
vmovdqu ymm6, ymmword [esp + 0x2ac]
vmovdqu ymm7, ymmword [esp + 0x28c]
lea ecx, [esi + esi*2]
mov dword [esp + 0x20], edi
add esp, 0xc
mov dword [esp + 0x1c], ecx
lea edx, [esi + esi*4]
lea eax, [esi*4]
vmovdqu ymmword [esp + 0x80], ymm0
nop
cmp dword [ebp + 0x2c], 0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
je 0x10246d40
mov eax, dword [ebp + 0x20]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], edi
cmp eax, 4
jge 0x10246d40
lea edi, [esi + esi*2]
mov dword [esp + 0x38], eax
lea eax, [esi*4]
add edi, edi
mov dword [esp + 0x24], eax
lea edx, [esi + esi*4]
mov dword [esp + 0x18], edi
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x38]
cwde
vmovd xmm0, eax
vpbroadcastw ymm1, xmm0
vmovdqu ymmword [esp + 0xe0], ymm1
jle 0x10246eae
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, esi
mov edx, dword [esp + 0x28]
lea edi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
add eax, esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xbc]
add eax, esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add eax, esi
lea eax, [ecx + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0xbc]
dec eax
shr eax, 4
inc eax
mov ecx, eax
mov dword [esp + 0x40], eax
shl ecx, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x60]
nop dword [eax]
vpmullw ymm1, ymm1, ymmword [edx]
vpmaddwd ymm0, ymm1, ymmword [edi]
mov eax, dword [esp + 0x14]
lea edx, [edx + 0x20]
vmovdqu ymmword [esp + 0xc0], ymm1
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
add dword [esp + 0x14], 0x20
lea edi, [edi + 0x20]
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xc0]
vpmaddwd ymm0, ymm1, ymmword [esi]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [ecx]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x30]
lea esi, [esi + 0x20]
add dword [esp + 0x30], 0x20
lea ecx, [ecx + 0x20]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x58]
add dword [esp + 0x58], 0x20
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [eax]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x3c], 0x20
sub dword [esp + 0x40], 1
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [eax]
vmovdqu ymm1, ymmword [esp + 0xe0]
vpaddd ymm2, ymm0, ymm2
jne 0x10246de0
mov esi, dword [ebp + 0xc]
vmovdqu ymm1, ymmword [esp + 0xe0]
mov ecx, dword [esp + 0x4c]
lea eax, [esi + esi*2]
lea edi, [esi + esi*2]
mov dword [esp + 0x1c], eax
lea eax, [esi*4]
add edi, edi
mov dword [esp + 0x24], eax
lea edx, [esi + esi*4]
mov dword [esp + 0x18], edi
cmp dword [ebp + 0x18], 0
je 0x10246f7a
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
vmovdqu ymm0, ymmword [edi + eax*2]
mov edi, dword [esp + 0x34]
vpand ymm0, ymm0, ymmword [esp + 0x120]
mov eax, dword [esp + 0x10]
add eax, edi
vpmullw ymm1, ymm0, ymm1
vmovdqu ymmword [esp + 0xc0], ymm1
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
vpaddd ymm1, ymm0, ymmword [esp + 0x80]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, esi
vmovdqu ymmword [esp + 0x80], ymm1
vmovdqu ymm1, ymmword [esp + 0xc0]
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, dword [esp + 0x118]
vpaddd ymm7, ymm0, ymm7
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, dword [esp + 0x1c]
vpaddd ymm6, ymm0, ymm6
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, dword [esp + 0x24]
vpaddd ymm3, ymm0, ymm3
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
mov eax, dword [esp + 0x10]
add eax, edi
add eax, edx
vpaddd ymm5, ymm0, ymm5
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
mov eax, dword [esp + 0x10]
add eax, edi
mov edi, dword [esp + 0x18]
add eax, edi
vpaddd ymm4, ymm0, ymm4
vpmaddwd ymm0, ymm1, ymmword [ecx + eax*2]
vpaddd ymm2, ymm0, ymm2
jmp 0x10246f94
lea eax, [esi*4]
mov dword [esp + 0x24], eax
lea edi, [esi + esi*2]
lea eax, [esi + esi*2]
add edi, edi
lea edx, [esi + esi*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x14], edi
add eax, eax
add dword [esp + 0x28], eax
add ecx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
jl 0x10246cd0
vmovdqu ymm0, ymmword [esp + 0x80]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
vphaddd ymm1, ymm0, ymm7
vphaddd ymm0, ymm6, ymm3
vphaddd ymm3, ymm1, ymm0
vphaddd ymm1, ymm2, ymm2
add dword [esp + 0x54], 2
add dword [esp + 0x50], 2
add dword [esp + 0x48], 0x38
vphaddd ymm0, ymm5, ymm4
vphaddd ymm0, ymm0, ymm1
vpmovsxdq ymm1, xmm0
vextracti128 xmm0, ymm0, 1
vpmovsxdq ymm0, xmm0
vpaddq ymm2, ymm0, ymm1
vextracti128 xmm0, ymm3, 1
vpmovsxdq ymm0, xmm0
vpmovsxdq ymm1, xmm3
vpaddq ymm0, ymm0, ymm1
vmovdqu ymmword [edx], ymm0
vmovdqu xmmword [eax + 0x20], xmm2
mov eax, dword [esp + 0x7c]
add edx, 0x38
vextracti128 xmm0, ymm2, 1
mov dword [esp + 0x70], edx
vmovq qword [eax + ecx + 0x30], xmm0
mov eax, dword [esp + 0x10]
add ecx, 0x38
inc eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
add eax, dword [esp + 0x11c]
vpxor xmm0, xmm0, xmm0
cmp eax, 7
jl 0x10246c30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
add eax, 0x31
add ecx, 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], ecx
cmp eax, 0x157
jl 0x10246ba0
push dword [esp + 0x7c]
push 0x31
vzeroupper
call fcn.102470c0
mov ecx, dword [esp + 0x444]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret