Function at 0x5728f0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
movq mm0, qword [esi + 0x20]
movq mm1, qword [edi + 0x20]
movq mm2, qword [esi + 0x60]
pmullw mm0, mm1
movq mm3, qword [edi + 0x60]
movq mm6, qword [0x5996d8]
pmullw mm2, mm3
movq mm7, qword [0x5996f8]
movq mm4, mm0
pmaddwd mm4, mm6
movq mm5, mm0
movq mm3, mm2
psrlq mm5, 0x10
movq mm1, qword [str.internal_error:_non_vectorized_pool_violated_port_constraints]
pmaddwd mm5, mm6
psrlq mm3, 0x10
paddw mm0, mm2
pmaddwd mm2, mm7
movq mm6, mm0
psrlq mm6, 0x10
pmaddwd mm3, mm7
movq mm7, qword [0x599720]
pmaddwd mm0, mm1
pmaddwd mm6, mm1
pxor mm2, mm7
movq mm1, qword [0x599728]
pxor mm3, mm7
paddd mm2, mm1
paddd mm3, mm1
paddd mm2, mm0
paddd mm4, mm0
movq mm0, qword [esi]
paddd mm3, mm6
movq mm1, qword [edi]
paddd mm5, mm6
movq mm6, qword [esi + 0x40]
pmullw mm0, mm1
movq mm7, qword [edi + 0x40]
nop
movq qword [ebp - 0xfc], mm2
pmullw mm6, mm7
movq mm7, qword [0x599730]
movq mm1, mm0
paddw mm0, mm6
nop
psubw mm1, mm6
movq mm6, mm0
pmaddwd mm0, mm7
psrlq mm6, 0x10
pmaddwd mm6, mm7
movq mm2, mm1
pmaddwd mm1, mm7
psrlq mm2, 0x10
pmaddwd mm2, mm7
pslld mm0, 0xd
movq mm7, mm4
pslld mm6, 0xd
paddd mm4, mm0
psubd mm0, mm7
movq mm7, mm5
pslld mm2, 0xd
movq qword [ebp - 0xec], mm0
paddd mm5, mm6
movq mm0, qword [ebp - 0xfc]
psubd mm6, mm7
movq qword [ebp - 0xdc], mm5
movq mm7, mm3
movq qword [ebp - 0xcc], mm6
paddd mm3, mm2
movq qword [ebp - 0xbc], mm4
pslld mm1, 0xd
movq qword [ebp - 0xac], mm3
psubd mm2, mm7
movq mm6, qword [esi + 0x10]
movq mm3, mm0
movq qword [ebp - 0x9c], mm2
paddd mm0, mm1
movq mm7, qword [edi + 0x10]
movq qword [ebp - 0x8c], mm0
psubd mm1, mm3
movq mm0, qword [esi + 0x70]
pmullw mm6, mm7
movq qword [ebp - 0x7c], mm1
movq mm1, qword [edi + 0x70]
movq mm2, qword [esi + 0x50]
pmullw mm0, mm1
movq mm3, qword [edi + 0x50]
movq mm4, qword [esi + 0x30]
pmullw mm2, mm3
movq mm5, qword [edi + 0x30]
movq mm1, mm0
movq qword [ebp - 0x6c], mm6
pmullw mm4, mm5
movq qword [ebp - 0x5c], mm0
paddw mm0, mm6
movq qword [ebp - 0x4c], mm2
movq mm3, mm2
movq qword [ebp - 0x3c], mm4
paddw mm2, mm4
paddw mm1, mm4
movq mm4, qword [0x5996e8]
paddw mm3, mm6
movq mm5, mm1
movq mm7, mm0
psrlq mm7, 0x10
paddw mm5, mm3
movq mm6, mm5
pmaddwd mm5, mm4
pmaddwd mm0, qword [0x5996e0]
psrlq mm6, 0x10
pmaddwd mm6, mm4
movq mm4, mm2
movq qword [ebp - 0x2c], mm5
psrlq mm4, 0x10
pxor mm0, qword [0x599720]
movq mm5, mm1
movq qword [ebp - 0x24], mm6
psrlq mm5, 0x10
movq mm6, qword [str.internal_error:_result_violated_port_constraints]
nop
paddd mm0, qword [0x599728]
pmaddwd mm2, mm6
movq qword [ebp - 0xc4], mm0
pmaddwd mm4, mm6
pmaddwd mm7, qword [0x5996e0]
movq mm0, mm3
movq mm6, qword [0x599700]
psrlq mm0, 0x10
pxor mm2, qword [0x599720]
pmaddwd mm1, mm6
paddd mm2, qword [0x599728]
pmaddwd mm5, mm6
movq mm6, qword [0x5996c8]
nop
pxor mm4, qword [0x599720]
pmaddwd mm3, mm6
paddd mm4, qword [0x599728]
pmaddwd mm0, mm6
movq mm6, qword [0x599720]
nop
pxor mm1, mm6
pxor mm7, mm6
paddd mm1, qword [0x599728]
pxor mm5, mm6
paddd mm7, qword [0x599728]
pxor mm3, mm6
paddd mm5, qword [0x599728]
nop
movq qword [ebp - 0x84], mm7
pxor mm0, mm6
paddd mm1, qword [ebp - 0x2c]
nop
movq mm6, qword [ebp - 0xc4]
nop
paddd mm5, qword [ebp - 0x24]
paddd mm6, mm1
paddd mm3, qword [0x599728]
paddd mm1, mm2
paddd mm0, qword [0x599728]
paddd mm7, mm5
paddd mm3, qword [ebp - 0x2c]
paddd mm5, mm4
paddd mm0, qword [ebp - 0x24]
paddd mm2, mm3
paddd mm3, qword [ebp - 0xc4]
paddd mm4, mm0
paddd mm0, qword [ebp - 0x84]
movq qword [ebp - 0x1c], mm1
nop
movq qword [ebp - 0x74], mm0
nop
movq mm0, qword [ebp - 0x5c]
nop
movq qword [ebp - 0xb4], mm2
movq mm1, mm0
movq mm2, qword [0x5996c0]
psrlq mm1, 0x10
movq qword [ebp - 0x64], mm3
pmaddwd mm0, mm2
movq mm3, qword [ebp - 0x4c]
pmaddwd mm1, mm2
movq qword [ebp - 0xd4], mm4
movq mm2, mm3
movq mm4, qword [0x599708]
psrlq mm2, 0x10
movq qword [ebp - 0x54], mm5
pmaddwd mm3, mm4
movq mm5, qword [ebp - 0x3c]
pmaddwd mm2, mm4
movq qword [ebp - 0xa4], mm6
movq mm4, mm5
movq mm6, qword [0x599718]
psrlq mm4, 0x10
movq qword [ebp - 0x44], mm7
pmaddwd mm5, mm6
movq mm7, qword [ebp - 0x6c]
pmaddwd mm4, mm6
paddd mm0, qword [ebp - 0xa4]
movq mm6, mm7
paddd mm1, qword [ebp - 0x44]
psrlq mm6, 0x10
movq qword [ebp - 0xe4], mm0
nop
movq mm0, qword [0x5996f0]
nop
movq qword [ebp - 0x34], mm1
pmaddwd mm7, mm0
paddd mm3, qword [ebp - 0xb4]
pmaddwd mm6, mm0
movq mm0, qword [ebp - 0xbc]
nop
paddd mm7, qword [ebp - 0x64]
nop
paddd mm6, qword [ebp - 0x74]
psubd mm0, mm7
movq mm1, qword [ebp - 0xdc]
nop
movq qword [ebp - 0x94], mm3
psubd mm1, mm6
movq mm3, qword [0x599738]
nop
paddd mm2, qword [ebp - 0xd4]
paddd mm0, mm3
paddd mm7, qword [ebp - 0xbc]
psrad mm0, 0xb
movq qword [ebp - 0xf4], mm2
paddd mm1, mm3
paddd mm6, qword [ebp - 0xdc]
psrad mm1, 0xb
paddd mm5, qword [ebp - 0x1c]
movq mm2, mm0
paddd mm4, qword [ebp - 0x54]
punpcklwd mm0, mm1
paddd mm6, mm3
punpckhwd mm2, mm1
paddd mm7, mm3
punpckldq mm0, mm2
mov edi, dword [ebp - 0x10]
movq qword [edi + 0x70], mm0
psrad mm6, 0xb
movq mm2, qword [ebp - 0x8c]
psrad mm7, 0xb
psubd mm2, mm5
movq mm0, mm7
movq mm1, qword [ebp - 0xac]
punpcklwd mm7, mm6
psubd mm1, mm4
punpckhwd mm0, mm6
paddd mm5, qword [ebp - 0x8c]
punpckldq mm7, mm0
paddd mm4, qword [ebp - 0xac]
paddd mm2, mm3
paddd mm1, mm3
paddd mm5, mm3
paddd mm4, mm3
psrad mm2, 0xb
movq qword [edi], mm7
psrad mm1, 0xb
movq mm0, mm2
psrad mm5, 0xb
movq mm6, qword [ebp - 0x7c]
punpcklwd mm2, mm1
punpckhwd mm0, mm1
movq mm1, mm5
movq mm7, qword [ebp - 0x9c]
punpckldq mm2, mm0
movq qword [edi + 0x60], mm2
psrad mm4, 0xb
movq mm2, mm6
punpcklwd mm5, mm4
paddd mm6, qword [ebp - 0x94]
punpckhwd mm1, mm4
psubd mm2, qword [ebp - 0x94]
punpckldq mm5, mm1
movq qword [edi + 0x10], mm5
movq mm0, mm7
paddd mm7, qword [ebp - 0xf4]
paddd mm6, mm3
psubd mm0, qword [ebp - 0xf4]
paddd mm7, mm3
paddd mm2, mm3
psrad mm7, 0xb
paddd mm0, mm3
psrad mm6, 0xb
movq mm1, mm6
psrad mm2, 0xb
movq mm4, qword [ebp - 0xec]
punpcklwd mm6, mm7
movq mm5, mm4
punpckhwd mm1, mm7
paddd mm4, qword [ebp - 0xe4]
punpckldq mm6, mm1
psubd mm5, qword [ebp - 0xe4]
psrad mm0, 0xb
movq qword [edi + 0x20], mm6
movq mm6, mm2
paddd mm4, mm3
punpcklwd mm2, mm0
paddd mm5, mm3
punpckhwd mm6, mm0
movq mm0, qword [ebp - 0xcc]
punpckldq mm2, mm6
movq mm1, mm0
psrad mm4, 0xb
paddd mm0, qword [ebp - 0x34]
psrad mm5, 0xb
paddd mm0, mm3
movq mm6, mm4
psubd mm1, qword [ebp - 0x34]
psrad mm0, 0xb
paddd mm1, mm3
punpcklwd mm4, mm0
movq mm3, mm5
punpckhwd mm6, mm0
movq qword [edi + 0x50], mm2
punpckldq mm4, mm6
psrad mm1, 0xb
movq qword [edi + 0x30], mm4
punpcklwd mm5, mm1
punpckhwd mm3, mm1
punpckldq mm5, mm3
add dword [ebp - 0x14], 8
add dword [ebp - 0xc], 8
movq qword [edi + 0x40], mm5
add dword [ebp - 0x10], 8
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
jne 0x572917
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 8
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], 0
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0x14]
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
movq mm2, mm0
movq mm3, mm0
paddw mm2, mm1
movq mm4, mm2
punpckhdq mm3, mm1
pmaddwd mm3, qword [0x599750]
movq mm6, mm0
pmaddwd mm2, qword [0x599758]
psubw mm6, mm1
punpckldq mm4, mm6
movq mm6, mm0
movq mm5, mm3
pslld mm4, 0x10
pxor mm3, qword [0x599720]
punpckhdq mm2, mm2
paddd mm3, qword [0x599728]
psrad mm4, 3
psrlq mm3, 0x20
movq mm7, mm4
punpckldq mm5, mm3
movq mm3, mm0
paddd mm5, mm2
paddw mm3, mm1
paddd mm4, mm5
psubd mm7, mm5
movq mm5, mm3
movq mm2, mm0
pmaddwd mm0, qword [0x599760]
punpckldq mm5, mm5
paddw mm5, mm3
punpckldq mm2, mm2
pmaddwd mm5, qword [0x599780]
punpckhdq mm6, mm2
pmaddwd mm3, qword [0x599778]
paddw mm6, mm1
pmaddwd mm6, qword [0x599770]
nop
pmaddwd mm1, qword [0x599768]
punpckhdq mm5, mm5
movq mm2, qword [0x599728]
nop
pxor mm3, qword [0x599720]
nop
pxor mm6, qword [0x599720]
paddd mm3, mm2
paddd mm6, mm2
paddd mm3, mm5
movq mm5, mm6
paddd mm6, mm3
movq mm2, mm5
punpckldq mm5, mm5
punpckhdq mm2, mm5
paddd mm1, mm6
paddd mm2, mm3
movq mm5, mm1
movq mm3, mm4
paddd mm0, mm2
movq mm2, mm7
punpckldq mm5, mm5
punpckhdq mm1, mm5
psubd mm3, mm0
movq mm5, qword [0x599740]
paddd mm0, mm4
movq mm6, qword [0x599748]
psubd mm2, mm1
paddd mm0, mm5
paddd mm1, mm7
paddd mm1, mm5
psrad mm0, 0x12
paddd mm3, mm5
psrad mm1, 0x12
paddd mm2, mm5
psrad mm3, 0x12
pand mm1, mm6
psrad mm2, 0x12
movd ebx, mm1
psrlq mm1, 0x20
mov ecx, dword [ebp + 0x1c]
add edi, dword [ebp - 8]
movd edx, mm1
pand mm0, mm6
mov ah, byte [ecx + ebx]
mov edi, dword [edi]
movd ebx, mm0
psrlq mm0, 0x20
mov al, byte [ecx + edx]
add dword [ebp - 8], 4
movd edx, mm0
pand mm3, mm6
add edi, dword [ebp + 0x18]
shl eax, 0x10
mov al, byte [ecx + ebx]
mov ah, byte [ecx + edx]
movd mm4, eax
pand mm2, mm6
movd ebx, mm3
psrlq mm3, 0x20
movd edx, mm3
mov ah, byte [ecx + ebx]
mov al, byte [ecx + edx]
movd ebx, mm2
psrlq mm2, 0x20
shl eax, 0x10
movd edx, mm2
mov al, byte [ecx + ebx]
mov ah, byte [ecx + edx]
movd mm5, eax
punpckldq mm4, mm5
add dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 4]
movq qword [edi], mm4
dec eax
mov dword [ebp - 4], eax
jne 0x572e56
emms
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18