Function at 0x1400014a0
Capabilities:
Allocate or change rwx memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x100]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000155a
mov dword [rsp + 0x40], 0xc000000d
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002960]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov rax, qword [rsp + 0x100]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 4
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x1400015d1
mov dword [rsp + 0x40], 0xc00000bb
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002990]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
cmp dword [rsp + 0x40], 0
jge 0x14000163f
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x1400029c0]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140002480
mov dword [rsp + 0xd0], 0
mov rax, qword [0x1400042b8]
mov qword [rsp + 0xb8], rax
mov rax, qword [0x1400042b0]
mov qword [rsp + 0xb0], rax
mov rax, qword [0x1400042c0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], 0
mov byte [rsp + 0xe2], 0
mov byte [rsp + 0xe1], 0
mov byte [rsp + 0xe0], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0xe3], 0
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x1000
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001737
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x1400029e0]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 0
jmp 0x140001771
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x58], eax
jge 0x14000181c
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x10], 0
je 0x140001817
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x60]
mov edx, dword [rdx + 0x14]
mov rdi, qword [rsp + 0x100]
add rdi, rdx
mov rdx, rdi
lea rdi, [rsp + 0x88]
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001817
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002a00]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
jmp 0x140001759
mov qword [rsp + 0x48], 0x1000
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001876
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002a20]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.140002480
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x40
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400018e5
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002a50]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov qword [rsp + 0x48], 0x1000
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001942
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002a80]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140002480
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x50]
lea rdx, [0x140001030]
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400019b7
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002ab0]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov eax, 1
imul rax, rax, 0x1c
lea rcx, str.QRSUVWAPAQARASATAUAVAWH
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax], rdx
mov eax, 1
imul rax, rax, 0x4f
lea rcx, str.QRSUVWAPAQARASATAUAVAWH
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax], rdx
mov eax, 1
imul rax, rax, 0x26
lea rcx, str.QRSUVWAPAQARASATAUAVAWH
mov byte [rcx + rax], 0x25
mov qword [rsp + 0x48], 0x1000
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001a5d
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002ae0]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rax]
call fcn.140002480
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x57
mov rax, qword [rsp + 0x108]
mov r9, qword [rax]
mov r8, qword [rsp + 0x50]
lea rdx, str.QRSUVWAPAQARASATAUAVAWH
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001ad7
mov r8d, dword [rsp + 0x40]
mov dl, 1
lea rcx, [0x140002b10]
call fcn.140002190
mov eax, dword [rsp + 0x40]
jmp 0x140001b63
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov qword [rsp + 0x98], 0
jmp 0x140001b0b
mov rax, qword [rsp + 0x98]
add rax, 0x1000
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x98], rax
jae 0x140001b5f
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea r8, [0x140002b40]
xor edx, edx
mov ecx, 0x4d
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140001af5
mov eax, dword [rsp + 0x40]
add rsp, 0xf0
pop rdi
ret