Function at 0x140356360
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
mov eax, r8d
mov r8d, dword [0x1404f3d20]
test r8d, r8d
jne 0x140356614
movdqa xmm1, xmmword [0x1403cf010]
xor r8d, r8d
movdqa xmm2, xmmword [0x1403ee430]
movdqa xmm3, xmmword [0x1403ee440]
movdqa xmm4, xmmword [0x1403ee450]
movdqa xmm5, xmmword [0x1403ee460]
lea r10, [0x1404f3520]
movdqa xmm0, xmmword [0x1403cf0c0]
nop
movdqa xmm7, xmm1
psrld xmm7, 4
movdqa xmm6, xmm1
pslld xmm6, 0x1f
psrad xmm6, 0x1f
pand xmm6, xmm2
pxor xmm6, xmm7
movdqa xmm7, xmm1
pslld xmm7, 0x1e
psrad xmm7, 0x1f
pand xmm7, xmm3
pxor xmm7, xmm6
movdqa xmm8, xmm1
pslld xmm8, 0x1d
psrad xmm8, 0x1f
pand xmm8, xmm4
pxor xmm8, xmm7
movdqa xmm9, xmm1
pslld xmm9, 0x1c
psrad xmm9, 0x1f
pand xmm9, xmm5
pxor xmm9, xmm8
movdqa xmm10, xmm9
psrld xmm10, 4
pslld xmm6, 0x1f
psrad xmm6, 0x1f
pand xmm6, xmm2
pxor xmm6, xmm10
pslld xmm7, 0x1e
psrad xmm7, 0x1f
pand xmm7, xmm3
pxor xmm7, xmm6
pslld xmm8, 0x1d
psrad xmm8, 0x1f
pand xmm8, xmm4
pxor xmm8, xmm7
pslld xmm9, 0x1c
psrad xmm9, 0x1f
pand xmm9, xmm5
pxor xmm9, xmm8
movdqa xmmword [r8 + r10], xmm9
paddd xmm1, xmm0
add r8, 0x10
cmp r8, 0x400
jne 0x1403563e0
movdqa xmm1, xmmword [0x1403cf010]
xor r8d, r8d
movdqa xmm2, xmmword [0x1403cf050]
movdqa xmm3, xmmword [0x1403cf060]
movdqa xmm4, xmmword [0x1403cf080]
movdqa xmm5, xmmword [0x1403cf0a0]
movdqa xmm6, xmmword [0x1403cf0b0]
movdqa xmm7, xmmword [0x1403cf020]
lea r10, [0x1404f3920]
nop word cs:[rax + rax]
movdqa xmm9, xmm1
psrld xmm9, 6
movdqa xmm8, xmm1
pslld xmm8, 0x1f
psrad xmm8, 0x1f
pand xmm8, xmm2
pxor xmm8, xmm9
movdqa xmm9, xmm1
pslld xmm9, 0x1e
psrad xmm9, 0x1f
pand xmm9, xmm3
pxor xmm9, xmm8
movdqa xmm10, xmm1
pslld xmm10, 0x1d
psrad xmm10, 0x1f
pand xmm10, xmm4
movdqa xmm11, xmm1
pslld xmm11, 0x1c
psrad xmm11, 0x1f
pand xmm11, xmm5
pxor xmm11, xmm10
movdqa xmm10, xmm1
pslld xmm10, 0x1b
psrad xmm10, 0x1f
pand xmm10, xmm6
movdqa xmm12, xmm1
pslld xmm12, 0x1a
psrad xmm12, 0x1f
pand xmm12, xmm7
pxor xmm12, xmm10
pxor xmm12, xmm11
pxor xmm12, xmm9
psrld xmm12, 2
pslld xmm8, 0x1f
psrad xmm8, 0x1f
pand xmm8, xmm6
pxor xmm8, xmm12
pslld xmm9, 0x1e
psrad xmm9, 0x1f
pand xmm9, xmm7
pxor xmm9, xmm8
movdqa xmmword [r8 + r10], xmm9
paddd xmm1, xmm0
add r8, 0x10
cmp r8, 0x400
jne 0x140356510
mov dword [0x1404f3d20], 1
test r9d, r9d
lea r9, [0x1404f3920]
lea r8, [0x1404f3520]
cmove r8, r9
test rdx, rdx
je 0x140356690
test dl, 1
jne 0x14035663e
mov r9, rdx
cmp rdx, 1
jne 0x14035665d
jmp 0x140356690
lea r9, [rdx - 1]
movzx r10d, byte [rcx]
xor r10b, al
inc rcx
movzx r10d, r10b
shr eax, 8
xor eax, dword [r8 + r10*4]
cmp rdx, 1
je 0x140356690
xor edx, edx
nop
movzx r10d, byte [rcx + rdx]
xor r10b, al
movzx r10d, r10b
shr eax, 8
xor eax, dword [r8 + r10*4]
movzx r10d, byte [rcx + rdx + 1]
xor r10b, al
movzx r10d, r10b
shr eax, 8
xor eax, dword [r8 + r10*4]
add rdx, 2
cmp r9, rdx
jne 0x140356660
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
add rsp, 0x78
ret