Function at 0x180103750
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x28]
mov eax, 0x128
call fcn.18010f480
sub rsp, rax
mov rax, qword [0x180195940]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, r8
mov qword [rsp + 0x48], r8
shl rax, 7
mov rbx, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [rax + rdx - 0x40]
movups xmm1, xmmword [rax + rdx - 0x30]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax + rdx - 0x20]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [rax + rdx - 0x10]
lea rax, [r8 + r8]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm1
mov qword [rsp + 0x58], rax
test rax, rax
je 0x180103b92
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x118], r12
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r14
mov qword [rsp + 0x100], r15
nop word [rax + rax]
xor ecx, ecx
lea rax, [rbx + 0x3c]
lea rdx, [rbp - 0x60]
cmp rdx, rax
ja 0x180103840
lea rax, [rbp - 0x24]
cmp rax, rbx
jb 0x180103840
nop dword [rax + rax]
mov eax, dword [rbx]
add rbx, 4
xor dword [rbp + rcx*4 - 0x60], eax
inc rcx
cmp rcx, 0x10
jb 0x180103820
jmp 0x180103877
movdqu xmm0, xmmword [rbp + rcx*4 - 0x60]
movdqu xmm1, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx*4 - 0x60], xmm1
movdqu xmm0, xmmword [rbp + rcx*4 - 0x50]
movdqu xmm1, xmmword [rbx + 0x10]
add rbx, 0x20
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx*4 - 0x50], xmm1
add rcx, 8
cmp rcx, 0x10
jb 0x180103840
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x68]
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rbp - 0x30]
mov r14d, dword [rsp + 0x7c]
mov r15d, dword [rsp + 0x78]
mov r12d, dword [rsp + 0x74]
mov r13d, dword [rsp + 0x70]
movups xmmword [rbp - 0x80], xmm0
mov r10d, dword [rbp - 0x74]
mov r11d, dword [rbp - 0x78]
mov edi, dword [rbp - 0x7c]
mov esi, dword [rbp - 0x80]
movups xmmword [rbp - 0x70], xmm1
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x68]
mov r8d, dword [rbp - 0x6c]
mov r9d, dword [rbp - 0x70]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0x38], rbx
mov ebx, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 4
nop dword [rax]
nop word [rax + rax]
add eax, r9d
rol eax, 7
xor r13d, eax
mov eax, dword [rsp + 0x28]
add eax, r13d
rol eax, 9
xor esi, eax
lea eax, [rsi + r13]
rol eax, 0xd
xor r9d, eax
mov dword [rsp + 0x2c], r9d
lea eax, [rsi + r9]
mov r9d, dword [rsp + 0x28]
ror eax, 0xe
xor r9d, eax
mov eax, dword [rsp + 0x20]
add eax, r12d
mov dword [rsp + 0x28], r9d
rol eax, 7
xor edi, eax
lea eax, [rdi + r12]
rol eax, 9
xor r8d, eax
lea eax, [r8 + rdi]
rol eax, 0xd
xor dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add eax, r8d
ror eax, 0xe
xor r12d, eax
lea eax, [r15 + r11]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add eax, edx
rol eax, 0xd
xor r15d, eax
mov eax, dword [rsp + 0x24]
add eax, r15d
ror eax, 0xe
xor r11d, eax
lea eax, [r10 + rcx]
rol eax, 7
xor ebx, eax
lea eax, [rbx + rcx]
rol eax, 9
xor r14d, eax
lea eax, [r14 + rbx]
rol eax, 0xd
xor r10d, eax
lea eax, [r14 + r10]
ror eax, 0xe
xor ecx, eax
lea eax, [rbx + r9]
rol eax, 7
xor dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x64], eax
add eax, r9d
rol eax, 9
xor dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x68], eax
add eax, dword [rsp + 0x20]
rol eax, 0xd
xor ebx, eax
mov eax, dword [rsp + 0x24]
add eax, ebx
ror eax, 0xe
xor r9d, eax
lea eax, [r12 + r13]
rol eax, 7
xor r15d, eax
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x60], r9d
lea eax, [r15 + r12]
rol eax, 9
xor r14d, eax
mov r9d, dword [rsp + 0x2c]
lea eax, [r14 + r15]
rol eax, 0xd
xor r13d, eax
lea eax, [r14 + r13]
ror eax, 0xe
xor r12d, eax
lea eax, [r11 + rdi]
rol eax, 7
xor r10d, eax
lea eax, [r10 + r11]
rol eax, 9
xor esi, eax
lea eax, [r10 + rsi]
rol eax, 0xd
xor edi, eax
lea eax, [rdi + rsi]
ror eax, 0xe
xor r11d, eax
lea eax, [rcx + rdx]
rol eax, 7
xor r9d, eax
mov dword [rbp - 0x70], r9d
lea eax, [rcx + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r9]
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r8]
ror eax, 0xe
xor ecx, eax
mov eax, dword [rsp + 0x28]
sub qword [rsp + 0x30], 1
jne 0x180103900
mov dword [rsp + 0x6c], ebx
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov dword [rbp - 0x64], ecx
mov dword [rbp - 0x68], edx
mov dword [rbp - 0x6c], r8d
mov dword [rbp - 0x74], r10d
mov dword [rbp - 0x78], r11d
mov dword [rbp - 0x7c], edi
mov dword [rbp - 0x80], esi
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x78], r15d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x70], r13d
nop
movdqu xmm0, xmmword [rbp + rax - 0x60]
movdqu xmm1, xmmword [rsp + rax + 0x60]
paddd xmm1, xmm0
movdqu xmmword [rbp + rax - 0x60], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x50]
movdqu xmm1, xmmword [rsp + rax + 0x70]
paddd xmm1, xmm0
movdqu xmmword [rbp + rax - 0x50], xmm1
add rax, 0x20
cmp rax, 0x40
jl 0x180103ac0
mov edx, 0x40
lea rcx, [rsp + 0x60]
call fcn.180071570
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
mov rcx, rdx
movups xmm0, xmmword [rbp - 0x60]
and ecx, 1
imul rcx, qword [rsp + 0x48]
movups xmm1, xmmword [rbp - 0x50]
mov rax, rdx
inc rdx
shr rax, 1
add rcx, rax
mov qword [rsp + 0x40], rdx
shl rcx, 6
movups xmmword [rcx + r9], xmm0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx + r9 + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rcx + r9 + 0x20], xmm0
movups xmmword [rcx + r9 + 0x30], xmm1
cmp rdx, qword [rsp + 0x58]
jb 0x180103800
mov r15, qword [rsp + 0x100]
mov r14, qword [rsp + 0x108]
mov r13, qword [rsp + 0x110]
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x158]
mov edx, 0x40
lea rcx, [rbp - 0x60]
call fcn.180071570
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18010eb20
add rsp, 0x128
pop rbx
pop rbp
ret