Function at 0x180016120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x98
mov r15, r8
mov r10, rdx
mov r8, rcx
xor r14d, r14d
mov qword [rbp - 0x11], r14
mov eax, 0xf
mov qword [rbp - 9], rax
mov byte [rbp - 0x21], r14b
lea edx, [r9 + 8]
mov dword [rbp + 0x6f], edx
mov ebx, dword [rbp + 0x6f]
cmp r9d, edx
jae 0x180016481
lea edx, [r9 - 0x56]
mov dword [rbp - 0x59], edx
mov r12, qword [rbp + 0x7f]
mov rdi, qword [rbp + 0x77]
mov rsi, qword [rbp - 0x49]
mov r13d, dword [rbp + 0x6f]
mov ecx, dword [rbp + 0x6f]
lea r9, [0x180000000]
cmp edx, 0x19
ja case.default.0x1800161b5
movzx eax, byte [r9 + rdx + 0x164fc]
mov ecx, dword [r9 + rax*4 + 0x164d8]
add rcx, r9
jmp rcx
mov rsi, qword [r12]
jmp case.0x1800161b5.8
mov ecx, 0x20
call fcn.180069fb0
mov r14, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x1800161fc
mov r8, qword [r12 + 8]
mov rdx, qword [r12]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, rax
call fcn.18001f830
jmp 0x1800161ff
xor r14d, r14d
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x11], xmm1
xor r8d, r8d
mov edx, 0xeb
lea rcx, [rbp - 0x21]
call fcn.18000e1f0
xor r14d, r14d
jmp 0x180016436
movups xmm0, xmmword [r8]
movups xmmword [rbp - 0x31], xmm0
mov rax, qword [r10]
mov qword [rbp - 0x51], rax
mov r8d, 0x4c
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.1800645b0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x53]
call fcn.180063980
mov rcx, qword [r15]
test eax, eax
jne 0x180016455
cmp rcx, 0x10
jb 0x180016436
mov r9, r12
mov r8d, 0x46
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1800334d0
lea rax, [rdi + 0xf]
lea rcx, [rbp - 0x32]
cmp rdi, rcx
ja 0x1800162c1
lea rcx, [rbp - 0x41]
cmp rax, rcx
jb 0x1800162c1
lea rdx, [rbp - 0x41]
sub rdx, rdi
mov ecx, 0x10
nop dword [rax + rax]
movzx eax, byte [rdx + rdi]
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x1800162b0
jmp 0x1800162d6
movdqu xmm1, xmmword [rdi]
movdqu xmm0, xmmword [rbp - 0x41]
pxor xmm1, xmm0
movdqu xmmword [rdi], xmm1
add rdi, 0x10
mov qword [rbp - 0x51], 1
mov r8d, 0x4c
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.1800645b0
add qword [r15], 0xfffffffffffffff0
cmp qword [r15], 0x10
jae 0x180016270
mov qword [rbp + 0x77], rdi
jmp 0x180016436
cmp qword [r15], 0
je case.0x1800161b5.8
mov r9, r12
mov r8d, 0x46
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1800334d0
mov rcx, r14
cmp qword [r15], 0
jbe 0x180016436
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x41]
xor byte [rdi], al
inc rdi
inc rcx
cmp rcx, qword [r15]
jb 0x180016340
mov qword [rbp + 0x77], rdi
jmp 0x180016436
test rsi, rsi
je 0x1800163c7
mov r15, qword [rbp + 0x57]
mov rdi, qword [rbp + 0x5f]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x10]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call qword [r15]
test eax, eax
je 0x1800163b4
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
test rcx, rcx
jne 0x180016394
mov qword [r12], rax
jmp 0x180016398
mov qword [rcx + 0x10], rax
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1800163a9
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
mov rcx, rsi
call fcn.18006f74c
inc r13d
mov rsi, rbx
test rbx, rbx
jne 0x180016370
mov rdi, qword [rbp + 0x77]
mov r15, qword [rbp + 0x67]
mov edx, dword [rbp - 0x59]
mov ebx, r13d
jmp case.0x1800161b5.8
test r12, r12
je 0x180016477
cmp qword [r8], 0
je 0x180016477
mov r13d, r14d
jmp case.0x1800161b5.8
mov dword [rbp - 0x51], 0xfa
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0xb9
lea r8, [rbp - 0x51]
mov rdx, r12
xor ecx, ecx
call fcn.1800647a0
mov eax, dword [rbp - 0x49]
cmp eax, 1
jne 0x18001641f
mov edx, 0xf3
mov rcx, r12
call fcn.18000b930
jmp 0x180016436
cmp eax, 2
jne 0x180016436
mov r9d, 0xb0
mov r8, r12
xor edx, edx
xor ecx, ecx
call fcn.18000a570
mov edx, dword [rbp - 0x59]
mov ecx, dword [rbp + 0x6f]
inc edx
mov dword [rbp - 0x59], edx
lea eax, [rdx + 0x56]
cmp eax, ecx
jae 0x18001647d
mov r8, qword [rbp + 0x57]
mov r10, qword [rbp + 0x5f]
jmp 0x180016191
mov qword [rbp - 0x49], rcx
mov dword [rsp + 0x20], 0x75
lea r9, [rbp - 0x31]
mov r8, r12
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.18003f330
mov r14d, ebx
mov rax, qword [rbp - 9]
jmp 0x180016484
mov rax, qword [rbp - 9]
mov r14d, ebx
cmp rax, 0x10
jb 0x1800164b8
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800164b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800164cf
call fcn.180069fec
mov eax, r14d
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18006eba4
int3