Function at 0x180009300
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
movsxd rbx, r8d
mov rdi, r9
mov eax, ebx
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x30], rcx
mov rsi, rdx
mov byte [rcx], 0
and eax, 0x80000007
jge 0x18000932e
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jne 0x180009565
mov rcx, rbx
mov qword [rsp + 0x58], r14
mov dword [r9], ebx
call fcn.18000b784
mov qword [rsp + 0x28], rax
mov rdx, rax
test ebx, ebx
jle 0x180009370
mov rcx, rax
sub rsi, rax
mov r8, rbx
nop dword [rax + rax]
movzx eax, byte [rsi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x180009360
cmp ebx, dword [rdi]
jge 0x1800093a0
lea rcx, [rbx + rdx]
lea r8, [rcx - 1]
nop dword [rax]
movzx eax, byte [r8]
lea rcx, [rcx + 1]
xor al, 0xcc
inc ebx
mov byte [rcx - 1], al
cmp ebx, dword [rdi]
jl 0x180009380
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + 0xc], al
movzx eax, byte [rdx + 1]
mov byte [rcx + 0xd], al
movzx eax, byte [rdx + 2]
mov byte [rcx + 0xe], al
movzx eax, byte [rdx + 3]
mov byte [rcx + 0xf], al
movzx eax, byte [rdx + 4]
mov byte [rcx + 0x10], al
movzx eax, byte [rdx + 5]
mov byte [rcx + 0x11], al
movzx eax, byte [rdx + 6]
mov byte [rcx + 0x12], al
movzx eax, byte [rdx + 7]
mov byte [rcx + 0x13], al
mov eax, 8
movsxd r9, dword [rdi]
mov dword [rsp + 0x20], eax
cmp r9d, eax
jle 0x1800094e9
mov qword [rsp + 0x98], rbp
lea r8, [rdx + 0xa]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x38], r8
movzx ebx, byte [r8 - 2]
movzx edi, byte [r8 - 1]
movzx esi, byte [r8]
movzx ebp, byte [r8 + 1]
movzx r14d, byte [r8 + 2]
movzx r15d, byte [r8 + 3]
movzx r12d, byte [r8 + 4]
movzx r13d, byte [r8 + 5]
mov r8d, eax
call fcn.180009580
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
movzx eax, byte [rcx + 0xc]
xor byte [r8 - 2], al
mov byte [rcx + 0xc], bl
movzx eax, byte [rcx + 0xd]
xor byte [r8 - 1], al
mov byte [rcx + 0xd], dil
movzx eax, byte [rcx + 0xe]
xor byte [r8], al
mov rdi, qword [rsp + 0x40]
mov byte [rcx + 0xe], sil
movzx eax, byte [rcx + 0xf]
xor byte [r8 + 1], al
mov byte [rcx + 0xf], bpl
movzx eax, byte [rcx + 0x10]
xor byte [r8 + 2], al
mov byte [rcx + 0x10], r14b
movzx eax, byte [rcx + 0x11]
xor byte [r8 + 3], al
mov byte [rcx + 0x11], r15b
movzx eax, byte [rcx + 0x12]
xor byte [r8 + 4], al
mov byte [rcx + 0x12], r12b
movzx eax, byte [rcx + 0x13]
xor byte [r8 + 5], al
add r8, 8
mov eax, dword [rsp + 0x20]
add eax, 8
mov byte [rcx + 0x13], r13b
movsxd r9, dword [rdi]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x38], r8
cmp eax, r9d
jl 0x180009411
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x98]
movzx r10d, byte [r9 + rdx - 1]
lea rcx, [rdx - 1]
mov r14, qword [rsp + 0x58]
mov r8d, r9d
movsxd rax, r9d
add rcx, rax
dec r8d
lea rcx, [rcx - 1]
cmp byte [rcx], r10b
je 0x180009501
movsxd rcx, r8d
lea eax, [r8 - 8]
sub rcx, 8
mov dword [rdi], eax
call fcn.18000b784
mov rcx, qword [rsp + 0x28]
xor r9d, r9d
mov rbx, rax
cmp dword [rdi], r9d
jle 0x180009555
mov r10, rcx
mov rdx, rax
sub r10, rax
nop dword [rax + rax]
movzx r8d, byte [rdx + r10 + 8]
inc r9d
mov byte [rdx], r8b
lea rdx, [rdx + 1]
cmp r9d, dword [rdi]
jl 0x180009540
call fcn.18000b77c
mov rax, rbx
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov eax, 8
lea rdx, [0x18000f3b8]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3