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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140069798]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov r15d, dword [rbp + 0x110]
xor r12d, r12d
test r9, r9
je 0x14001a57a
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, r9d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14001a57a
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x40]
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001a57a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
lea r8d, [r12 + 0x40]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14001a57a
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14001a57a
movsxd rdi, dword [rbp - 0x74]
add rdi, r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x40]
mov r8d, 0x108
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14001a57a
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
lea r8, [rbp - 0x70]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001a57a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8d, 0x108
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14001a57a
cmp dword [rbp - 0x70], 0x4550
jne 0x14001a57a
lea rcx, [rsp + 0x38]
call fcn.140014330
nop
mov rax, qword [rbp + 0x20]
mov rdi, qword [rsp + 0x38]
mov dword [rdi], eax
shr rax, 0x20
mov dword [rdi + 4], eax
mov eax, dword [rbp - 0x74]
add eax, 0x90
mov dword [rdi + 8], eax
mov eax, dword [rdi + 4]
test eax, eax
je 0x14001a4ac
mov ecx, eax
call fcn.1400252a4
mov qword [rdi + 0x10], rax
mov r8d, dword [rdi + 4]
xor edx, edx
mov rcx, rax
call fcn.1400267c0
add r15, r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 0x40]
lea r8d, [r12 + 0x14]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14001a4ac
mov r9d, dword [rdi + 4]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 0x10]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14001a501
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001a581
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a581
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14001a581
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x14001a581
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8d, 0x14
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x14001a56c
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001a581
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a581
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14001a581
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + VariantCopy]
jmp 0x14001a581
mov qword [rsi], rdi
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
jmp 0x14001a581
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov rax, rsi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140024fc0
add rsp, 0x1b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret