Function at 0x140099c00
Capabilities:
Access pe header
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 1
lea rdx, str.Remapping_image_at_0x_IX_n
lea rcx, [rsp + 0xc8]
call fcn.140084cb0
mov rcx, rax
call fcn.140084c40
mov rdx, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140099b70
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140099cb4
lea rdx, [0x1400fa328]
lea rcx, [rsp + 0x160]
call fcn.140099ed0
mov rcx, rax
call fcn.1400a0260
mov rdx, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140099b70
mov dword [rsp + 0x20], 0
jmp 0x140099e69
mov rcx, qword [rsp + 0x30]
call fcn.14009c1a0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140099cf7
lea rdx, str.RmppVerifyPeSectionAlignment_failed._n
lea rcx, [rsp + 0x108]
call fcn.14009a6e0
mov rcx, rax
call fcn.1400a01f0
mov rcx, rax
call fcn.140099b70
jmp 0x140099e69
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140099d6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rdx, str.VirtualAlloc_failed:__u_n
lea rcx, [rsp + 0xa8]
call fcn.14009ad20
mov rcx, rax
call fcn.1400a0180
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.140099b70
mov dword [rsp + 0x20], 0
jmp 0x140099e69
lea rdx, str.RemapRegion:____0x_IX_n
lea rcx, [rsp + 0x60]
call fcn.14009b140
mov rcx, rax
call fcn.1400a0110
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140099b70
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.14009d240
lea rax, [0x14009d3f0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rdx, str.RemapRoutine:___0x_IX_n
lea rcx, [rsp + 0x78]
call fcn.14009b140
mov rcx, rax
call fcn.1400a0110
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140099b70
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140099e2d
lea rdx, str.RmppRemapImageRoutine_failed._n
lea rcx, [rsp + 0xe8]
call fcn.14009b510
mov rcx, rax
call fcn.1400a00a0
mov rcx, rax
call fcn.140099b70
jmp 0x140099e69
mov rcx, qword [rsp + 0x1a0]
call fcn.14009f270
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140099e69
lea rdx, str.RmppValidateRemappedImageProtection_failed._n
lea rcx, [rsp + 0x130]
call fcn.14009ba30
mov rcx, rax
call fcn.1400a0030
mov rcx, rax
call fcn.140099b70
cmp qword [rsp + 0x28], 0
je 0x140099ec1
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140099ec1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
lea rdx, str.VirtualFree_failed:__u_n
lea rcx, [rsp + 0x90]
call fcn.1400871c0
mov rcx, rax
call fcn.140087150
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
call fcn.140099b70
mov eax, dword [rsp + 0x20]
add rsp, 0x198
ret