Function at 0x140110170
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
call fcn.140110480
test eax, eax
jne 0x14011047a
mov eax, dword [rbx + 0x110]
mov ecx, dword [rbx]
mov edx, dword [rbx + 4]
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx + 0xc]
shl rax, 4
add rax, rbx
mov qword [rsp + 0x20], r15
lea r15, [rbx + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
mov dword [rax], ecx
mov dword [rax + 4], edx
mov dword [rax + 8], r8d
mov dword [rax + 0xc], r9d
sub rax, 0x10
cmp r15, rax
jae 0x1401103a1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], r14
nop dword [rax]
mov edx, dword [r15]
ror edx, 8
mov r14d, edx
xor r14d, dword [r15]
rol r14d, 0x10
xor r14d, edx
mov edx, dword [r15 + 4]
ror edx, 8
mov r10d, edx
xor r10d, dword [r15 + 4]
rol r10d, 0x10
xor r10d, edx
mov edx, dword [r15 + 8]
ror edx, 8
mov r9d, edx
xor r9d, dword [r15 + 8]
rol r9d, 0x10
xor r9d, edx
mov edx, dword [r15 + 0xc]
ror edx, 8
xor r10d, r9d
mov r8d, edx
xor r14d, r10d
xor r8d, dword [r15 + 0xc]
rol r8d, 0x10
xor r8d, edx
xor r9d, r8d
xor r8d, r10d
mov ebp, r8d
mov ecx, r8d
shr ecx, 0x10
and ebp, 0xff0000
xor ebp, ecx
xor r9d, r14d
xor r10d, r9d
shr ebp, 8
mov edx, r10d
rol r9d, 0x10
shr edx, 8
mov ecx, r8d
and ecx, 0xff00
shl r8d, 0x10
xor ecx, r8d
shl ecx, 8
xor ebp, ecx
mov ecx, r10d
shl r10d, 8
mov esi, ebp
shl ecx, 8
xor esi, r9d
xor edx, ecx
and edx, 0xff00ff
xor edx, r10d
xor edx, r9d
xor r14d, edx
xor ebp, edx
xor esi, r14d
mov edi, esi
xor edi, edx
mov edx, dword [rax]
ror edx, 8
mov ebx, edx
xor ebx, dword [rax]
rol ebx, 0x10
xor ebx, edx
mov edx, dword [rax + 4]
ror edx, 8
mov r11d, edx
xor r11d, dword [rax + 4]
rol r11d, 0x10
xor r11d, edx
mov edx, dword [rax + 8]
ror edx, 8
mov r10d, edx
xor r10d, dword [rax + 8]
rol r10d, 0x10
xor r10d, edx
mov edx, dword [rax + 0xc]
ror edx, 8
mov r8d, edx
xor r8d, dword [rax + 0xc]
rol r8d, 0x10
xor r11d, r10d
xor r8d, edx
xor ebx, r11d
xor r10d, r8d
xor r8d, r11d
mov r9d, r8d
mov ecx, r8d
shr ecx, 0x10
and r9d, 0xff0000
xor r9d, ecx
xor r10d, ebx
mov ecx, r8d
shr r9d, 8
shl r8d, 0x10
and ecx, 0xff00
xor ecx, r8d
xor r11d, r10d
shl ecx, 8
mov r8d, r11d
xor r9d, ecx
shr r8d, 8
rol r10d, 0x10
mov ecx, r11d
shl ecx, 8
mov edx, r9d
xor r8d, ecx
shl r11d, 8
and r8d, 0xff00ff
xor edx, r10d
xor r8d, r11d
xor r8d, r10d
xor ebx, r8d
xor r9d, r8d
mov dword [r15], ebx
xor edx, ebx
mov dword [r15 + 8], edx
mov ecx, edx
mov dword [r15 + 0xc], r9d
xor ecx, r8d
mov dword [r15 + 4], ecx
add r15, 0x10
mov dword [rax], r14d
mov dword [rax + 4], edi
mov dword [rax + 8], esi
mov dword [rax + 0xc], ebp
sub rax, 0x10
cmp r15, rax
jb 0x1401101e0
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov edx, dword [r15]
ror edx, 8
mov ebx, edx
xor ebx, dword [r15]
rol ebx, 0x10
xor ebx, edx
mov edx, dword [r15 + 4]
ror edx, 8
mov r11d, edx
xor r11d, dword [r15 + 4]
rol r11d, 0x10
xor r11d, edx
mov edx, dword [r15 + 8]
ror edx, 8
mov r10d, edx
xor r10d, dword [r15 + 8]
rol r10d, 0x10
xor r10d, edx
mov edx, dword [r15 + 0xc]
xor r11d, r10d
ror edx, 8
xor ebx, r11d
mov r8d, edx
xor r8d, dword [r15 + 0xc]
mov r15, qword [rsp + 0x20]
rol r8d, 0x10
xor r8d, edx
xor r10d, r8d
xor r8d, r11d
mov r9d, r8d
mov ecx, r8d
shr ecx, 0x10
and r9d, 0xff0000
xor r9d, ecx
xor r10d, ebx
mov ecx, r8d
shr r9d, 8
shl r8d, 0x10
and ecx, 0xff00
xor ecx, r8d
xor r11d, r10d
shl ecx, 8
mov r8d, r11d
xor r9d, ecx
shr r8d, 8
rol r10d, 0x10
mov ecx, r11d
shl ecx, 8
mov edx, r9d
xor r8d, ecx
shl r11d, 8
and r8d, 0xff00ff
xor edx, r10d
xor r8d, r11d
xor r8d, r10d
xor ebx, r8d
xor r9d, r8d
xor edx, ebx
mov dword [rax], ebx
mov ecx, edx
mov dword [rax + 8], edx
xor ecx, r8d
mov dword [rax + 0xc], r9d
mov dword [rax + 4], ecx
xor eax, eax
add rsp, 0x30
pop rbx
ret