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

Disassembly:
push rbx
push rsi
mov eax, 0x1098
call fcn.140136900
sub rsp, rax
mov eax, 0x5a4d
mov rbx, rdx
mov rsi, rcx
cmp word [rdx], ax
je 0x14005abf0
lea rcx, [0x140175528]
call fcn.140001e70
mov rcx, rbx
call fcn.140136278
xor al, al
add rsp, 0x1098
pop rsi
pop rbx
ret
mov qword [rsp + 0x1088], r14
mov eax, 0x8664
movsxd r14, dword [rdx + 0x3c]
add r14, rbx
cmp word [r14 + 4], ax
je 0x14005ac33
lea rcx, str.Invalid_platform_n
call fcn.140001e70
mov rcx, rbx
call fcn.140136278
mov r14, qword [rsp + 0x1088]
xor al, al
add rsp, 0x1098
pop rsi
pop rbx
ret
lea rcx, str.File_ok_n
mov qword [rsp + 0x1080], r15
call fcn.140001e70
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x14005ac8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140001e70
mov rcx, rbx
call fcn.140136278
xor al, al
jmp 0x14005b088
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x40], rax
mov r8, rbx
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r15
mov qword [rsp + 0x1090], r12
mov rcx, rsi
xor r12d, r12d
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005acf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140001e70
xor al, al
jmp 0x14005b080
mov qword [rsp + 0x10b0], rbp
mov ebp, r12d
mov qword [rsp + 0x10c0], rdi
movzx edi, word [r14 + 0x14]
add rdi, 0x2c
cmp word [r14 + 6], bp
je 0x14005ad57
add rdi, r14
nop dword [rax + rax]
mov eax, dword [rdi - 4]
test eax, eax
je 0x14005ad48
mov r8d, dword [rdi]
mov r9d, eax
mov edx, dword [rdi - 8]
add r8, rbx
add rdx, r15
mov qword [rsp + 0x20], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14005ad92
movzx eax, word [r14 + 6]
inc ebp
add rdi, 0x28
cmp ebp, eax
jne 0x14005ad20
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x14005adc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
jmp 0x14005b061
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140001e70
mov rcx, rbx
call fcn.140136278
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14005b06e
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005adfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
jmp 0x14005b061
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x14005ae66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
call fcn.140001e70
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14005b066
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x14005b0b0]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005ae9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_shellcode_0x_X_n
jmp 0x14005b061
lea rcx, str.Data_allocated_n
call fcn.140001e70
mov qword [rsp + 0x30], r12
mov r9, rdi
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14005af25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread_creation_failed_0x_X_n
call fcn.140001e70
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14005b066
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
lea rcx, str.Thread_created_at:__p__waiting_for_return..._n
call fcn.140001e70
nop dword [rax]
lea rdx, [rsp + 0x10b8]
mov dword [rsp + 0x10b8], r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x10b8]
cmp edx, 0x103
jne 0x14005b05a
xorps xmm0, xmm0
mov qword [rsp + 0x20], r12
mov r9d, reloc.WLDAP32.dll_Ordinal_32
lea r8, [rsp + 0x60]
mov rdx, rbp
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rsp + 0x78]
cmp rdi, 0x404040
je 0x14005b04c
cmp rdi, 0x606060
je 0x14005b03e
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
je 0x14005af40
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x80]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005b00c
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140001e70
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14005b02a
lea rcx, str.Unable_to_allocate_memory_n
call fcn.140001e70
jmp 0x14005b066
xor edx, edx
mov r8d, 0x100000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov al, 1
jmp 0x14005b070
lea rcx, str.Wrong_directory_base_relocation_n
call fcn.140001e70
jmp 0x14005b066
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140001e70
jmp 0x14005b066
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140001e70
mov rcx, rbx
call fcn.140136278
xor al, al
mov rbp, qword [rsp + 0x10b0]
mov rdi, qword [rsp + 0x10c0]
mov r12, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1080]
mov r14, qword [rsp + 0x1088]
add rsp, 0x1098
pop rsi
pop rbx
ret