Function at 0x18001d350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1801ae098]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor edi, edi
mov r8, rcx
lea rdx, [0x1801e5ee0]
lea rcx, [rbp - 0x70]
call fcn.18005a6a0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.18001cad0
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x18001d5d2
mov edx, edi
mov ecx, edi
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
xor byte [rcx + rax], 0xef
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, qword [rsp + 0x58]
jb 0x18001d3b2
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.1801248c0
lea rcx, [rbp - 0x50]
call fcn.180006640
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x40]
call fcn.18001aa40
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rdi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180011c90
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.180010990
lea r8, [0x18018d3a8]
lea rdx, str.rage
lea rcx, [rsp + 0x68]
call fcn.180012340
test rax, rax
je 0x18001d547
lea r8, [0x18018d3a8]
lea rdx, str.rage
lea rcx, [rsp + 0x68]
call fcn.180011fd0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 6
lea rdx, str.enable
lea rcx, [rsp + 0x20]
call fcn.180005880
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmp qword [rsp + 0x38], 0x10
jb 0x18001d4d2
mov rdx, qword [rsp + 0x20]
add r8, rdx
jmp 0x18001d4da
add r8, rcx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180012340
test rax, rax
jne 0x18001d4ec
call fcn.180010bc0
mov rcx, rax
call fcn.1800117b0
test al, al
jne 0x18001d53c
lea rcx, [rsp + 0x20]
mov r8, qword [rsp + 0x30]
cmp qword [rsp + 0x38], 0x10
jb 0x18001d514
mov rdx, qword [rsp + 0x20]
add r8, rdx
jmp 0x18001d51c
add r8, rcx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180012340
test rax, rax
jne 0x18001d52e
call fcn.180010bc0
mov rcx, rax
call fcn.180011600
mov byte [0x1801e5cde], al
lea rcx, [rsp + 0x20]
call fcn.180005690
nop
mov edx, dword [rsp + 0x70]
movzx ecx, dl
sub ecx, 4
je 0x18001d581
sub ecx, 2
je 0x18001d55d
cmp ecx, 1
jne 0x18001d593
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x18001d593
mov rdx, rbx
mov rcx, rbx
call fcn.180016b80
mov edx, 0x10
mov rcx, rbx
call fcn.1800b7e4c
jmp 0x18001d593
shr edx, 8
test dl, 1
je 0x18001d593
mov rcx, qword [rsp + 0x68]
call fcn.18012d730
mov dword [rsp + 0x68], edi
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x18001d5c8
lea r9, [fcn.1800055b0]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.1800b8498
nop
mov edx, 0x60
mov rcx, rbx
call fcn.1800b7e4c
nop
lea rcx, [rbp - 0x50]
call fcn.180006550
nop
lea rcx, [rsp + 0x48]
call fcn.180005690
nop
lea rcx, [rbp - 0x70]
call fcn.180005690
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800b7df0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret