Function at 0x180009a00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and dword [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
call fcn.1800166f4
mov rdi, rax
test rax, rax
jne 0x180009a35
lea rbx, [rax - 2]
jmp 0x180009b57
mov r15d, dword [rbp + 0x48]
test r15d, r15d
je 0x180009a66
mov rdx, rdi
mov r8d, r15d
mov rax, qword [0x18002a250]
mov rcx, rdx
sub rcx, rdi
and ecx, 0x1f
mov cl, byte [rcx + rax + 0x1880]
xor byte [rdx], cl
inc rdx
sub r8, 1
jne 0x180009a44
mov rax, qword [0x18002a250]
cmp dword [rax + 0xa4], 1
jne 0x180009b71
mov rcx, qword [0x18002ad68]
test rcx, rcx
je 0x180009b55
mov edx, 8
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x180009b55
lea rsi, [rax + 8]
xor ecx, ecx
mov dword [rsi], r15d
mov rdx, r15
mov rax, qword [0x18002a1e8]
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [rax + 0xb8]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180009b4a
and dword [rbp + 0x48], 0
mov ecx, dword [rsi]
test rcx, rcx
je 0x180009af2
mov al, byte [rdi]
inc rdi
mov byte [rdx], al
inc rdx
sub rcx, 1
jne 0x180009ae2
lea rax, [rbp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x18000996c]
mov rax, qword [0x18002a1e8]
xor edx, edx
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [rax + pe_nt_image_headers64]
test rax, rax
jne 0x180009b55
mov rax, qword [0x18002a1e8]
mov r8d, 0x8000
mov edx, dword [rsi]
mov rcx, qword [rbx]
call qword [rax + 0xc0]
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.18000c798
mov ebx, 0xfffffffd
jmp 0x180009b57
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.18000c798
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
and dword [rbp + 0x48], 0
lea rcx, [rbp + 0x48]
xor r12d, r12d
call fcn.18000e8f8
mov qword [rbp + 0x58], rax
mov r14, rax
test rax, rax
jne 0x180009b92
lea ebx, [rax - 5]
jmp 0x180009b57
call fcn.18000e63c
mov esi, dword [rbp + 0x48]
xor ebx, ebx
mov rax, qword [0x18002b770]
mov qword [rbp + 0x50], rax
test esi, esi
je 0x180009cd0
test r12d, r12d
jne 0x180009cd0
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov rax, qword [0x18002a250]
movups xmmword [rbp - 0x20], xmm0
test dword [rax + 0x18c0], 0x200
je 0x180009be2
mov ecx, 0x63f
call fcn.180013be8
mov rcx, qword [r14 + rbx*8]
lea rdx, [rbp - 0x20]
call fcn.180011c80
test eax, eax
js 0x180009c96
mov rdx, qword [rbp - 0x20]
mov r9d, r15d
mov rcx, qword [rbp + 0x50]
mov r8, rdi
mov dword [rsp + 0x20], 4
call fcn.180011bb8
mov qword [0x18002ad58], rax
test rax, rax
jne 0x180009c3c
mov rax, qword [0x18002a1e8]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov rax, qword [0x18002a1e8]
mov rcx, qword [rbp - 0x20]
call qword [rax + 0x68]
jmp 0x180009c96
mov r8, qword [0x18002a250]
lea rdx, [rbp - 0x20]
mov r9d, 1
mov dword [0x18002ad4c], r15d
lea rcx, [0x180009868]
mov r8, qword [r8 + 0x238]
call fcn.18000ecd0
test rax, rax
je 0x180009c1e
lea rcx, [rbp - 0x20]
call fcn.18000ee48
test eax, eax
je 0x180009c96
mov rcx, qword [rbp - 0x20]
call fcn.180007430
mov rax, qword [0x18002a1e8]
mov rcx, qword [rbp - 0x18]
call qword [rax + 0x68]
mov r12d, 1
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180009cc6
test r12d, r12d
jne 0x180009cb3
mov rax, qword [0x18002a1e8]
xor edx, edx
call qword [rax + 0x228]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180009cc6
mov rax, qword [0x18002a1e8]
call qword [rax + 0x68]
inc ebx
cmp ebx, esi
jb 0x180009baf
call fcn.18000e688
test esi, esi
je 0x180009cf8
mov rdi, rsi
mov rbx, 0xfffffffffffffffe
mov rdx, rbx
mov rcx, r14
call fcn.18000c798
add r14, 8
sub rdi, 1
jne 0x180009ce3
mov rdx, rsi
lea rcx, [rbp + 0x58]
shl rdx, 3
call fcn.18000c798
test r12d, r12d
jne 0x180009b55
lea ebx, [r12 - 0xa]
jmp 0x180009b57