Function at 0x1011dfa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [ebp + 8]
vmovdqu xmm3, xmmword [0x1044ad90]
vmovdqu xmm1, xmmword [0x1044ada0]
vpshuflw xmm5, xmmword [eax + 0x30], 0xd8
vpshufhw xmm2, xmm5, 0xd8
vpshufd xmm6, xmm2, 0x50
vpshufd xmm5, xmm2, 0xfa
vpmaddwd xmm0, xmm6, xmm3
vpmaddwd xmm7, xmm5, xmm1
vpaddd xmm4, xmm0, xmm7
vpshufd xmm2, xmm4, 0x4e
vpaddd xmm6, xmm4, xmmword [0x1044adb0]
vpaddd xmm5, xmm6, xmm2
vpsubd xmm0, xmm6, xmm2
vpshuflw xmm6, xmmword [eax + 0x50], 0xd8
vshufps xmm7, xmm5, xmm0, 0x14
vpshufhw xmm0, xmm6, 0xd8
vpsrad xmm4, xmm7, 0xc
vpshufd xmm2, xmm0, 0x50
vpmaddwd xmm6, xmm2, xmm3
vpshufd xmm3, xmm0, 0xfa
vpmaddwd xmm1, xmm3, xmm1
vpaddd xmm6, xmm6, xmm1
vpshufd xmm1, xmm6, 0x4e
vpaddd xmm3, xmm6, xmmword [0x1044adc0]
vpshuflw xmm6, xmmword [eax + 0x20], 0xd8
vpaddd xmm2, xmm3, xmm1
vpsubd xmm0, xmm3, xmm1
vshufps xmm7, xmm2, xmm0, 0x14
vpshufhw xmm2, xmm6, 0xd8
vmovdqu xmm6, xmmword [0x1044add0]
vmovdqu xmm3, xmmword [0x1044ade0]
vpshufd xmm1, xmm2, 0x50
vpshufd xmm0, xmm2, 0xfa
vpackssdw xmm5, xmm4, xmm4
vpsrad xmm4, xmm7, 0xc
vpmaddwd xmm7, xmm1, xmm6
vpmaddwd xmm1, xmm0, xmm3
vpaddd xmm2, xmm7, xmm1
vpshufd xmm7, xmm2, 0x4e
vpaddd xmm0, xmm2, xmmword [0x1044adf0]
vpaddd xmm1, xmm0, xmm7
vpsubd xmm2, xmm0, xmm7
vshufps xmm0, xmm1, xmm2, 0x14
vpshuflw xmm2, xmmword [eax + 0x60], 0xd8
vpsrad xmm7, xmm0, 0xc
vpackssdw xmm1, xmm7, xmm7
vpshufhw xmm7, xmm2, 0xd8
vpshufd xmm0, xmm7, 0x50
vmovdqu xmmword [esp], xmm1
vpmaddwd xmm1, xmm0, xmm6
vpshufd xmm6, xmm7, 0xfa
vpmaddwd xmm3, xmm6, xmm3
vpaddd xmm6, xmm1, xmm3
vpshufd xmm1, xmm6, 0x4e
vpaddd xmm3, xmm6, xmmword [0x1044ae00]
vpaddd xmm2, xmm3, xmm1
vpsubd xmm0, xmm3, xmm1
vpshuflw xmm1, xmmword [eax + 0x10], 0xd8
vshufps xmm7, xmm2, xmm0, 0x14
vpshufhw xmm1, xmm1, 0xd8
vpsrad xmm6, xmm7, 0xc
vmovdqu xmm7, xmmword [0x1044ae10]
vpshufd xmm0, xmm1, 0x50
vmovdqu xmm2, xmmword [0x1044ae20]
vpackssdw xmm3, xmm6, xmm6
vpmaddwd xmm6, xmm0, xmm7
vpshufd xmm0, xmm1, 0xfa
vpmaddwd xmm1, xmm0, xmm2
vpaddd xmm6, xmm6, xmm1
vpshufd xmm1, xmm6, 0x4e
vpaddd xmm0, xmm6, xmmword [0x1044ae30]
vpaddd xmm6, xmm0, xmm1
vpsubd xmm1, xmm0, xmm1
vpshuflw xmm0, xmmword [eax + 0x70], 0xd8
vshufps xmm6, xmm6, xmm1, 0x14
vpshufhw xmm1, xmm0, 0xd8
vpsrad xmm6, xmm6, 0xc
vpshufd xmm0, xmm1, 0x50
vpmaddwd xmm0, xmm0, xmm7
vpshufd xmm7, xmm1, 0xfa
vpmaddwd xmm2, xmm7, xmm2
vpaddd xmm1, xmm0, xmm2
vpshufd xmm0, xmm1, 0x4e
vpaddd xmm2, xmm1, xmmword [0x1044ae40]
vpaddd xmm7, xmm2, xmm0
vpsubd xmm1, xmm2, xmm0
vshufps xmm2, xmm7, xmm1, 0x14
vpshuflw xmm7, xmmword [eax], 0xd8
vpsrad xmm0, xmm2, 0xc
vpshufhw xmm7, xmm7, 0xd8
vpshufd xmm1, xmm7, 0x50
vpmaddwd xmm2, xmm1, xmmword [0x1044ae50]
vpshufd xmm1, xmm7, 0xfa
vpmaddwd xmm7, xmm1, xmmword [0x1044ae60]
vpaddd xmm2, xmm2, xmm7
vpshufd xmm1, xmm2, 0x4e
vpaddd xmm7, xmm2, xmmword [0x1044ae70]
vpaddd xmm2, xmm7, xmm1
vpsubd xmm1, xmm7, xmm1
vpackssdw xmm4, xmm4, xmm4
vshufps xmm2, xmm2, xmm1, 0x14
vmovdqu xmm7, xmmword [0x1044ae80]
vpsrad xmm1, xmm2, 0xc
vpmulhw xmm2, xmm4, xmm7
vpmulhw xmm7, xmm5, xmm7
vpaddsw xmm2, xmm2, xmm4
vpackssdw xmm0, xmm0, xmm0
vpaddsw xmm2, xmm2, xmm5
vpaddsw xmm5, xmm7, xmm5
vmovdqu xmm7, xmmword [0x1044ae90]
vpsubsw xmm4, xmm4, xmm5
vpmulhw xmm5, xmm0, xmm7
vpackssdw xmm6, xmm6, xmm6
vpaddsw xmm5, xmm6, xmm5
vpmulhw xmm6, xmm6, xmm7
vpsubsw xmm6, xmm6, xmm0
vpsubsw xmm0, xmm5, xmm2
vmovdqu xmmword [esp + 0x20], xmm6
vpsubsw xmm6, xmm6, xmm4
vmovdqu xmmword [esp + 0x10], xmm4
vpsubsw xmm4, xmm0, xmm6
vpaddsw xmm0, xmm0, xmm6
vpaddsw xmm2, xmm5, xmm2
vmovdqu xmm6, xmmword [0x1044aea0]
vpmulhw xmm7, xmm3, xmm6
vmovdqu xmmword [esp + 0x30], xmm4
vmovdqu xmm4, xmmword [esp]
vpaddsw xmm7, xmm4, xmm7
vpmulhw xmm4, xmm4, xmm6
vpackssdw xmm1, xmm1, xmm1
vpsubsw xmm3, xmm4, xmm3
vpaddsw xmm1, xmm1, xmm1
vpaddsw xmm6, xmm7, xmm3
vpaddsw xmm3, xmm1, xmm6
vpsubsw xmm1, xmm1, xmm6
vpunpcklqdq xmm6, xmm3, xmm1
vmovdqu xmm1, xmmword [0x1044aeb0]
vpmulhw xmm4, xmm0, xmm1
vpaddsw xmm0, xmm4, xmm0
vpaddsw xmm3, xmm0, xmm2
vmovdqu xmm2, xmmword [esp + 0x30]
vpmulhw xmm1, xmm2, xmm1
vmovdqu xmm0, xmmword [esp + 0x20]
vpaddsw xmm5, xmm1, xmm2
vpaddsw xmm4, xmm0, xmmword [esp + 0x10]
vpaddsw xmm7, xmm4, xmm5
vpunpcklqdq xmm0, xmm3, xmm7
vpaddsw xmm3, xmm6, xmm0
vpsubsw xmm6, xmm6, xmm0
mov edx, dword [ebp + 0xc]
vpsraw xmm1, xmm3, 6
vpshufd xmm0, xmm6, 0x4e
vpsraw xmm2, xmm0, 6
vmovdqu xmmword [edx], xmm1
vmovdqu xmmword [edx + 0x10], xmm2
mov esp, ebp
pop ebp
ret