Function at 0x18001a970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov rax, qword [0x1800a74e0]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, qword [rbp + 0x77]
lea r13d, [r8 - 0xf]
mov rbx, qword [rbp + 0x7f]
mov rdi, r9
mov qword [rbp - 0x29], r9
mov r14, rcx
mov qword [rbp - 0x39], rdx
cmp r8d, r13d
jbe 0x18001ad40
mov r12, qword [rbp - 0x29]
lea r15d, [r8 - 0xca]
xor r8d, r8d
lea r9, [0x180000000]
lea r10, [0x180045590]
lea r11, [0x180045690]
cmp r15d, 0x21
ja case.0x18001a9fe.15
movzx eax, byte [r9 + r15 + 0x1ade0]
mov ecx, dword [r9 + rax*4 + 0x1ada0]
add rcx, r9
jmp rcx
mov qword [rsp + 0x20], r8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xe9
call fcn.180037bc0
test eax, eax
jne 0x18001ad6a
cmp qword [rsi], 0x10
jb 0x18001ad11
nop dword [rax]
mov edi, 0x109
nop word [rax + rax]
mov eax, edi
sub eax, 0x109
je 0x18001aad8
sub eax, 0x43
je 0x18001aa8c
sub eax, 0x43
je 0x18001aa69
cmp eax, 0x43
jne 0x18001aaee
add qword [rsi], 0xfffffffffffffff0
jmp 0x18001aaee
lea r9, [rbp - 0x31]
mov qword [rbp - 0x31], 1
lea r8, [rbp - 9]
mov dword [rsp + 0x20], 0xc9
xor edx, edx
xor ecx, ecx
call fcn.180020cf0
jmp 0x18001aaee
lea rcx, [rbp - 0xa]
lea rax, [rbx + 0xf]
cmp rbx, rcx
ja 0x18001aac1
lea rcx, [rbp - 0x19]
cmp rax, rcx
jb 0x18001aac1
lea rdx, [rbp - 0x19]
mov ecx, ILClone
sub rdx, rbx
nop
movzx eax, byte [rdx + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18001aab0
jmp 0x18001aaee
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rbp - 0x19]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
add rbx, 0x10
jmp 0x18001aaee
lea r9, [rbp - 0x19]
mov r8d, 0x20
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1800537f0
add edi, 0x43
cmp edi, 0x215
jb 0x18001aa40
cmp qword [rsi], 0x10
jae 0x18001aa30
mov rdi, qword [rbp - 0x29]
jmp 0x18001ad11
test r12, r12
jne case.0x18001a9fe.15
mov eax, 0xfffffffd
jmp 0x18001ad43
cmp dword [rdx], 4
ja 0x18001ac61
mov rax, qword [r14 + 0x38]
test rax, rax
jne 0x18001ab3c
mov qword [r14 + 0x38], r10
mov rax, r10
cmp qword [r14 + 0x40], 0
jne 0x18001ab47
mov qword [r14 + 0x40], r11
mov rcx, qword [r14 + 0x48]
cmp rax, r10
jne 0x18001ab79
lea r9, [rbp - 0x21]
mov dword [rbp - 0x21], 1
mov r8d, 0xee
mov dword [rbp - 0x31], 0xfa90
lea rdx, [rbp - 0x31]
call fcn.1800455c0
mov r12, rax
jmp 0x18001ad11
mov edx, 0xfa90
mov r8d, 1
call rax
mov r12, rax
jmp 0x18001ad11
mov qword [r12 + 0xc50], r8
mov dword [r12 + 0x30], r8d
jmp case.0x18001a9fe.15
mov qword [r12 + 0x20], 0
mov dword [r12 + 0xc74], r8d
mov dword [r14 + 0xc], r8d
jmp case.0x18001a9fe.15
mov dword [r14 + 0x10], r8d
mov qword [r14 + 0x24], 0
movzx eax, byte [rdi]
mov byte [r12 + 0x2c], al
jmp case.0x18001a9fe.15
cmp qword [rsi], 0
je case.0x18001a9fe.15
lea r9, [rbp - 0x19]
mov r8d, 0x20
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.1800537f0
xor r8d, r8d
mov ecx, r8d
cmp qword [rsi], r8
jbe 0x18001ad14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x19]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, qword [rsi]
jb 0x18001ac10
jmp 0x18001ad14
mov qword [r12 + 0xc60], r8
jmp case.0x18001a9fe.15
mov qword [rsp + 0x20], r8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xdb
call fcn.1800203b0
test eax, eax
je 0x18001ad8d
test r14, r14
je 0x18001ac61
cmp dword [rdi], 1
jbe 0x18001ad11
mov eax, 0xfffffffe
jmp 0x18001ad43
mov qword [r12], r14
mov qword [r14 + 0x30], r12
mov dword [r12 + 8], 0xa
jmp case.0x18001a9fe.15
mov qword [r12 + 0xc58], r8
jmp case.0x18001a9fe.15
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 9], xmm0
jmp case.0x18001a9fe.15
mov rax, qword [rdi]
lea r9, [rbp - 0x31]
lea r8, [rbp - 9]
mov qword [rbp - 0x31], rax
xor edx, edx
mov dword [rsp + 0x20], 0xc9
xor ecx, ecx
call fcn.180020cf0
jmp 0x18001ad11
mov r8, r14
xor edx, edx
mov ecx, 0xb6
call fcn.1800229c0
cmp eax, 1
jne 0x18001ad11
xor ecx, ecx
mov dword [rbp - 0x31], 2
mov qword [rsp + 0x50], rcx
lea rax, [rbp - 0x31]
mov qword [rsp + 0x48], rcx
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xef
call fcn.18002ee60
xor r8d, r8d
mov rdx, qword [rbp - 0x39]
lea r11, [0x180045690]
lea r10, [0x180045590]
lea r9, [0x180000000]
dec r15d
lea eax, [r15 + 0xca]
cmp eax, r13d
ja 0x18001a9e0
mov eax, dword [rbp - 0x31]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800864a0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsi]
lea r9, [rbp - 9]
mov r8, rbx
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], r14
mov ecx, 0x92
call fcn.180022b00
jmp 0x18001ad40
mov eax, 0xfffffff7
jmp 0x18001ad43
mov ecx, dword [rdx]
mov eax, r8d
mov dword [r12 + 0x34], ecx
jmp 0x18001ad43