Function at 0x180003aa0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov eax, 0x5a4d
mov r14, rdx
mov rsi, rcx
cmp word [rdx], ax
je 0x180003ae2
lea rcx, str.Invalid_file_n
call fcn.180001020
xor al, al
jmp 0x180004423
mov qword [rsp + 0xd8], r13
mov eax, 0x14c
movsxd r13, dword [rdx + 0x3c]
add r13, r14
cmp word [r13 + 4], ax
je 0x180003b10
lea rcx, str.Invalid_platform_n
call fcn.180001020
xor al, al
jmp 0x18000441b
lea rcx, str.File_ok_n
mov qword [rsp + 0xe0], r12
call fcn.180001020
mov r8d, dword [r13 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x180003b64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.180001020
xor al, al
jmp 0x180004413
lea rax, [rbp - 0x59]
mov qword [rsp + 0xd0], r15
xor r15d, r15d
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x59], r15d
mov rdx, r12
mov r8d, dword [r13 + 0x50]
mov rcx, rsi
lea r9d, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [0x1800078c0]
mov dword [rbp - 0x45], r15d
mov rcx, rsi
call fcn.1800039e0
lea r8, [0x180007e18]
mov dword [rbp - 0x51], eax
mov rcx, rsi
call fcn.1800039e0
mov r9d, 0x1000
mov dword [rbp - 0x4d], eax
mov r8, r14
mov dword [rbp - 0x49], r12d
mov rdx, r12
mov qword [rbp - 0x41], 1
mov rcx, rsi
mov dword [rbp - 0x39], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180003c16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x18000440b
mov qword [rsp + 0x120], rbx
movzx ebx, word [r13 + 0x14]
add rbx, 0x28
mov qword [rsp + 0xe8], rdi
mov edi, r15d
cmp word [r13 + 6], r15w
je 0x180003c77
add rbx, r13
nop dword [rax]
mov eax, dword [rbx]
test eax, eax
je 0x180003c68
mov r8d, dword [rbx + 4]
mov r9d, eax
mov edx, dword [rbx - 4]
add r8, r14
add rdx, r12
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180003ccf
movzx eax, word [r13 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x180003c40
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
lea r8d, [rdx + 0x1c]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x180003cfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
xor ebx, ebx
lea r8, [rbp - 0x51]
mov rdx, r14
mov qword [rsp + 0x20], rbx
mov rcx, rsi
lea r9d, [rbx + 0x1c]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180003d5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
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 qword [rsp + 0x48], rax
mov r15, rax
test rax, rax
jne 0x180003dce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_shellcode_allocation_failed__ex__0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
lea r8, [0x18000c080]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180003e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_shellcode_0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
mov rdx, r12
lea rcx, str.Mapped_DLL_at__p_n
call fcn.180001020
mov rdx, r14
lea rcx, str.Mapping_info_at__p_n
call fcn.180001020
mov rdx, r15
lea rcx, str.Shell_code_at__p_n
call fcn.180001020
lea rcx, str.Data_allocated_n
call fcn.180001020
mov qword [rsp + 0x30], rbx
mov r9, r15
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x180003efd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread_creation_failed_0x_X_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800043f9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r15
lea rcx, str.Thread_created_at:__p__waiting_for_return..._n
call fcn.180001020
mov edi, ebx
nop word [rax + rax]
lea rdx, [rbp - 0x79]
mov dword [rbp - 0x79], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rbp - 0x79]
cmp edx, 0x103
jne 0x1800043ed
xor eax, eax
mov qword [rsp + 0x20], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x31]
mov dword [rbp - 0x19], eax
mov rdx, r14
mov rcx, rsi
lea r9d, [rax + 0x1c]
movups xmmword [rbp - 0x31], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [rbp - 0x25]
cmp ebx, 0x404040
je 0x1800043dc
cmp ebx, 0x505050
jne 0x180003f8b
lea rcx, str.WARNING:_Exception_support_failed__n
call fcn.180001020
cmp edi, 0x64
je 0x1800043ce
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
test ebx, ebx
mov ebx, 0
je 0x180003f20
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov r15, rax
test rax, rax
jne 0x180003fd7
lea rcx, str.Unable_to_allocate_memory_n
call fcn.180001020
jmp 0x1800043f9
xor edx, edx
mov r8d, 0x1400000
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, r15
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180004011
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.180001020
movzx edi, word [r13 + 0x14]
mov r14d, ebx
movzx ecx, word [r13 + 6]
add rdi, 0x18
add rdi, r13
test cx, cx
je 0x1800041ca
lea rdx, [0x18000827c]
lea r8, str..rsrc
lea r9, str..reloc
cmp dword [rdi + 8], 0
je 0x1800041b5
mov rcx, rbx
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180004065
cmp rcx, 7
jne 0x180004050
jmp 0x1800040a8
mov rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180004086
cmp rcx, 6
jne 0x180004070
jmp 0x1800040a8
mov rax, rbx
nop dword [rax]
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [r9 + rax - 1]
jne 0x1800041b5
cmp rax, 7
jne 0x180004090
mov r9, rdi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea rcx, [rbp - 0x71]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov rcx, qword [rbp - 0x71]
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800058fc
mov rcx, qword [rbp - 0x71]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rbx, rax
lea r8, [rcx + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov rdx, rbx
lea rcx, str.Processing__s_removal_n
call fcn.180001020
mov edx, dword [rdi + 0xc]
xor ebx, ebx
mov r9d, dword [rdi + 8]
add rdx, r12
mov r8, r15
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800041a0
mov r9, rdi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea rcx, [rbp - 0x79]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov rcx, qword [rbp - 0x79]
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800058fc
mov rcx, qword [rbp - 0x79]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rbx, rax
lea r8, [rcx + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, str.Cant_clear_section__s:_0x_x_n
mov r8d, eax
call fcn.180001020
xor ebx, ebx
lea r9, str..reloc
lea r8, str..rsrc
lea rdx, [0x18000827c]
movzx ecx, word [r13 + 6]
inc r14d
add rdi, 0x28
cmp r14d, ecx
jne 0x180004043
movzx edi, word [r13 + 0x14]
mov r15d, ebx
add rdi, 0x18
add rdi, r13
test cx, cx
je 0x180004319
mov edx, 0x20
nop word [rax + rax]
mov ecx, dword [rdi + 8]
test ecx, ecx
je 0x180004304
mov eax, dword [rdi + 0x24]
mov dword [rbp - 0x79], ebx
test eax, 0x80000000
jbe 0x180004210
mov r14d, 4
jmp 0x18000421f
test eax, 0x20000000
mov r14d, 2
cmova r14d, edx
mov edx, dword [rdi + 0xc]
lea rax, [rbp - 0x79]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r12
mov r9d, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r9, rdi
test eax, eax
je 0x1800042a1
lea rcx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov rcx, qword [rbp - 0x69]
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800058fc
mov rcx, qword [rbp - 0x69]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rbx, rax
lea r8, [rcx + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rcx, str.section__s_set_as__lX_n
jmp 0x1800042f2
lea rcx, [rbp - 0x61]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov rcx, qword [rbp - 0x61]
mov eax, 2
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800058fc
mov rcx, qword [rbp - 0x61]
mov r9, rdi
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rbx, rax
lea r8, [rcx + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rcx, str.FAIL:_section__s_not_set_as__lX_n
mov r8d, r14d
mov rdx, rbx
call fcn.180001020
mov edx, 0x20
xor ebx, ebx
movzx eax, word [r13 + 6]
inc r15d
add rdi, 0x28
cmp r15d, eax
jne 0x1800041f0
movzx eax, word [r13 + 0x14]
mov r9d, 2
mov dword [rbp - 0x71], ebx
mov rdx, r12
mov rcx, rsi
mov r8d, dword [rax + r13 + 0x24]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdi, qword [rsp + 0x40]
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, rdi
mov rbx, qword [rsp + 0x48]
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180004375
lea rcx, str.WARNING:_Cant_clear_shellcode_n
call fcn.180001020
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x18000439a
lea rcx, str.WARNING:_cant_release_shell_code_memory_n
call fcn.180001020
mov rdx, qword [rsp + 0x50]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x1800043c1
lea rcx, str.WARNING:_cant_release_mapping_data_memory_n
call fcn.180001020
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
jmp 0x1800043fb
lea rcx, str.Waiting_for_return_time_out_n
call fcn.180001020
jmp 0x1800043f9
lea rcx, str.Wrong_mapping_ptr_n
call fcn.180001020
jmp 0x180003e04
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.180001020
xor al, al
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xd8]
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1800056f0
add rsp, 0xf0
pop r14
pop rsi
pop rbp
ret