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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rbx, rcx
movsxd rdx, dword [rcx + 0x18]
lea r8, [rcx + 0x20]
mov eax, 0xa
mov qword [rbp + 0x77], rax
mov r9d, eax
lea rcx, [0x14029b9f0]
mov rax, qword [0x14029b9f0]
call qword [rax + 0x30]
mov r8, qword [rbx + 0x48]
xor r11d, r11d
test r8, r8
je 0x14001ab2e
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14001ab2e
cmp r8d, 0x40
jb 0x14001ab2e
mov eax, 0x5a4d
cmp ax, word [rsi]
jne 0x14001ab2e
movsxd r10, dword [rsi + 0x3c]
lea rcx, [r10 + 0x108]
mov eax, r8d
cmp rax, rcx
jb 0x14001ab2e
cmp dword [rsi + r10], 0x4550
jne 0x14001ab2e
mov eax, 0x8664
cmp ax, word [rsi + r10 + 4]
jne 0x14001ab2e
test byte [rsi + r10 + 0x16], 2
je 0x14001ab2e
movzx eax, word [rsi + r10 + 0x14]
mov ecx, 0xf0
cmp ax, cx
jb 0x14001ab2e
sub ax, cx
movzx r13d, ax
lea r14, [rsi + 0x108]
add r14, r10
add r14, r13
movzx edx, r11w
movzx r9d, word [rsi + r10 + 6]
cmp r11w, r9w
jae 0x14001a6a3
nop dword [rax + rax]
movzx eax, dx
lea rcx, [rax + rax*4]
mov eax, dword [r14 + rcx*8 + 0x14]
add eax, dword [r14 + rcx*8 + 0x10]
cmp eax, r8d
ja 0x14001ab2e
inc dx
cmp dx, r9w
jb 0x14001a680
lea rax, [r10 + rsi]
mov qword [rbp + 0x6f], rax
mov ecx, dword [rax + 0x50]
cmp r11w, r9w
jae 0x14001a6f8
mov r11d, dword [rax + 0x38]
lea r10, [r14 + 8]
nop dword [rax]
mov r8d, ecx
mov ecx, dword [r10 + 8]
cmp ecx, dword [r10]
cmovbe ecx, dword [r10]
dec ecx
add ecx, dword [r10 + 4]
add ecx, r11d
xor edx, edx
mov eax, ecx
div r11d
sub ecx, edx
cmp r8d, ecx
cmova ecx, r8d
lea r10, [r10 + 0x28]
sub r9, 1
jne 0x14001a6c0
mov rax, qword [rbp + 0x6f]
xor r11d, r11d
test ecx, ecx
je 0x14001ab2e
mov r15d, ecx
mov r9d, 0x40
mov r8d, 0x3000
lea rdx, [r15 + 0x28]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14001a750
lea r9d, [rax + 0x40]
mov r8d, 0x3000
lea rdx, [r15 + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14001a750
mov rdi, qword [rbp + 0x67]
mov qword [rdi + 0x58], rax
jmp 0x14001ab32
mov rax, qword [rbp + 0x6f]
movzx eax, word [rax + 6]
lea rdx, [rax*4 + 0x21]
movsxd rcx, dword [rsi + 0x3c]
add rcx, r13
add rdx, rax
lea r8, [rcx + rdx*8]
mov rdx, rsi
mov rcx, rbx
call fcn.1401c8680
xor r12d, r12d
movzx edi, r12w
mov r13, qword [rbp + 0x6f]
cmp r12w, word [r13 + 6]
jae 0x14001a7c7
nop dword [rax + rax]
movzx eax, di
lea rcx, [rax + rax*4]
mov edx, dword [r14 + rcx*8 + 0x10]
test edx, edx
je 0x14001a7bd
mov eax, dword [r14 + rcx*8 + 0xc]
test eax, eax
je 0x14001a7bd
mov r8d, edx
mov edx, dword [r14 + rcx*8 + 0x14]
add rdx, rsi
lea rcx, [rbx + rax]
call fcn.1401c8680
inc di
cmp di, word [r13 + 6]
jb 0x14001a790
lea r14, [rbx + r15]
mov qword [r14 + 0x20], r12
mov qword [r14 + 0x18], r12
mov dword [r14 + 0x10], r12d
mov qword [r14 + 8], r12
mov dword [r14], r12d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1401d1104
mov rsi, rax
test rax, rax
je 0x14001a98b
mov qword [rax + 8], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r11, rbx
sub r11, qword [rcx + rbx + 0x30]
je 0x14001a8a1
cmp dword [rcx + rbx + 0xb4], r12d
je 0x14001a8a1
mov edi, dword [rcx + rbx + 0xb0]
lea rcx, [rbx + rdi]
mov r9, rcx
cmp dword [rcx], r12d
je 0x14001a8a1
mov r15d, 3
mov r10d, dword [r9 + 4]
sub r10, 8
shr r10, 1
mov edx, r12d
test r10d, r10d
je 0x14001a890
lea r8, [rcx + 8]
nop dword [rax + rax]
movzx ecx, word [r8]
movzx eax, cx
shr ax, 0xc
cmp word [rbp + 0x77], ax
je 0x14001a867
cmp r15w, ax
jne 0x14001a87b
mov rax, rcx
and eax, 0xfff
mov ecx, dword [r9]
add rax, rbx
add qword [rcx + rax], r11
jmp 0x14001a885
cmp r12w, ax
jne 0x14001a983
inc edx
add r8, 2
cmp edx, r10d
jb 0x14001a850
add edi, dword [r9 + 4]
mov ecx, edi
add rcx, rbx
mov r9, rcx
cmp dword [rcx], r12d
jne 0x14001a831
mov rdx, rbx
mov rcx, r14
call fcn.14001ae00
test eax, eax
je 0x14001a983
mov edi, 1
nop dword [rax]
xor eax, eax
lock cmpxchg dword [0x14029b9e8], edi
jne 0x14001a8c0
mov rax, qword [0x14029bdb8]
mov qword [rsi], rax
mov qword [0x14029bdb8], rsi
inc dword [0x14029bdb0]
mov eax, r12d
xchg dword [0x14029b9e8], eax
movzx ecx, word [r13 + 0x16]
mov eax, 0x2000
and cx, ax
cmp r12w, cx
je 0x14001a9a9
mov eax, dword [r13 + 0x28]
test eax, eax
je 0x14001a9a9
add rax, rbx
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call rax
test eax, eax
jne 0x14001a9a9
xor eax, eax
lock cmpxchg dword [0x14029b9e8], edi
jne 0x14001a924
mov rdx, r12
mov rax, qword [0x14029bdb8]
test rax, rax
je 0x14001a96c
nop
mov rcx, qword [rax]
cmp rax, rsi
je 0x14001a955
mov rdx, rax
mov rax, rcx
test rcx, rcx
jne 0x14001a940
jmp 0x14001a96c
test rdx, rdx
jne 0x14001a963
mov qword [0x14029bdb8], rcx
jmp 0x14001a966
mov qword [rdx], rcx
dec dword [0x14029bdb0]
mov eax, r12d
xchg dword [0x14029b9e8], eax
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call fcn.14001afc0
mov rcx, rsi
call fcn.1401ccaa0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, qword [rbp + 0x67]
mov qword [rdi + 0x58], r12
jmp 0x14001ab32
mov rdi, qword [rbp + 0x67]
mov qword [rdi + 0x58], rbx
test rbx, rbx
je 0x14001ab32
lea rsi, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rsi
lea rbx, vtable.CVolObject.0
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r12
mov qword [rbp - 0x79], r12
lea r15, vtable.CWString.0
mov qword [rsp + 0x20], r15
lea rax, [rbp - 0x69]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], r12
lea r14, vtable.CVolMem.0
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x39], 0x40
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x39], 0xfe
lea r13, vtable.CWConstString.0
mov qword [rsp + 0x20], r13
lea rax, [0x140250c98]
mov qword [rbp - 0x71], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x58]
call fcn.14001ab50
mov qword [rdi + 0x60], rax
lea rax, [rbp - 0x69]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x69], r14
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x14001aa73
lea rcx, [rbp - 0x69]
mov rax, qword [rbp - 0x69]
call qword [rax + 0x18]
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x69], rbx
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x31], r15
lea rax, [rbp - 0x11]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
mov qword [rbp - 0x11], r14
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0xf], r12
mov qword [rbp + 0x1f], 0x40
mov qword [rbp - 0x19], r12
mov qword [rbp + 0x1f], 0xfe
mov qword [rbp - 0x31], r13
lea rax, [0x140250ca0]
mov qword [rbp - 0x19], rax
lea r8, [rbp - 0x31]
mov rdx, qword [rdi + 0x58]
call fcn.14001ab50
mov qword [rdi + 0x68], rax
lea rax, [rbp - 0x11]
mov qword [rbp + 0x6f], rax
mov qword [rbp - 0x11], r14
mov rdx, qword [rbp + 7]
test rdx, rdx
je 0x14001ab18
lea rcx, [rbp - 0x11]
mov rax, qword [rbp - 0x11]
call qword [rax + 0x18]
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0xf], r12
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x31], rbx
jmp 0x14001ab32
mov qword [rbx + 0x58], r11
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret