Function at 0x14000a980
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x50
xor ebx, ebx
mov r13, rcx
mov ebp, edx
and dword [rax - 0x48], ebx
lea rcx, [rax - 0x44]
lea r8d, [rbx + 0x2c]
xor edx, edx
xor r12d, r12d
call fcn.140078b00
mov r8d, 0xd27
mov edx, ebp
mov rcx, r13
xor esi, esi
call fcn.14000a92c
movsxd rax, dword [r13 + 0x3c]
mov ecx, 0x5a4d
lea rdi, [rax + r13]
cmp word [r13], cx
jne 0x14000ac14
cmp dword [rdi], 0x4550
jne 0x14000ac14
cmp ebp, 0x40
jb 0x14000ac0a
cmp ebp, dword [rdi + 0x54]
jb 0x14000ac0a
add rax, 0x108
mov r14, rbp
cmp rbp, rax
jb 0x14000ac0a
mov eax, 0x8664
cmp word [rdi + 4], ax
je 0x14000aa2e
mov ecx, VarDecFromDisp
call qword [0x141c552c8]
jmp 0x14000ac4e
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
test eax, eax
je 0x14000aa65
lea rdx, [rcx + rdi + 0x24]
mov r8, rax
mov eax, dword [rdx]
cmp dword [rdx + 4], ebx
jne 0x14000aa4e
mov ecx, dword [rdi + 0x38]
jmp 0x14000aa51
mov ecx, dword [rdx + 4]
add rcx, rax
cmp rcx, r12
cmova r12, rcx
add rdx, 0x28
sub r8, 1
jne 0x14000aa42
lea rcx, [rsp + 0x20]
call qword [0x141c552d0]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rdi + 0x50]
lea edx, [r11 - 1]
lea ebp, [rax + r11 - 1]
lea rcx, [r11 + r12 - 1]
not edx
and rbp, rdx
and rcx, rdx
cmp rbp, rcx
jne 0x14000aa1e
mov rcx, qword [rdi + 0x30]
mov r12d, 4
mov r8d, 0x3000
mov r9d, r12d
mov rdx, rbp
call qword [0x141c552d8]
mov rsi, rax
test rax, rax
jne 0x14000aadd
mov r9d, r12d
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [0x141c552d8]
mov rsi, rax
test rax, rax
jne 0x14000aadd
mov ecx, SafeArrayGetDim
jmp 0x14000ac19
call qword [0x141c55308]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x141c552e0]
mov rbx, rax
test rax, rax
je 0x14000aad3
mov qword [rax + 8], rsi
mov eax, dword [rsp + 0x24]
mov r9d, r12d
mov dword [rbx + 0x24], eax
mov edx, dword [rdi + 0x54]
mov r8d, 0x1000
mov rcx, rsi
call qword [0x141c552d8]
mov rbp, rax
test rax, rax
je 0x14000aad3
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.14007a820
movsxd rax, dword [r13 + 0x3c]
mov r9, rbx
add rax, rbp
mov r8, rdi
mov rdx, r14
mov qword [rbx], rax
mov rcx, r13
mov qword [rax + 0x30], rsi
call fcn.14000a10c
test eax, eax
je 0x14000ac1f
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x14000ab75
mov rcx, rbx
call fcn.14000a220
mov dword [rbx + 0x20], eax
jmp 0x14000ab7c
mov dword [rbx + 0x20], 1
mov rcx, rbx
call fcn.14000a2e0
test eax, eax
je 0x14000ac1f
mov rcx, rbx
call fcn.14000a584
test eax, eax
je 0x14000ac1f
mov rax, qword [rbx]
cmp dword [rax + 0xd0], 0
je 0x14000abd7
mov ecx, dword [rax + 0xd0]
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14000abd7
jmp 0x14000abcf
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x14000abbe
mov rax, qword [rbx]
cmp dword [rax + 0x28], 0
je 0x14000ac05
mov rcx, qword [rbx + 8]
mov eax, dword [rax + 0x28]
xor r8d, r8d
lea edx, [r8 + 1]
add rax, rcx
call rax
test eax, eax
jne 0x14000abfe
mov ecx, 0x45a
jmp 0x14000ac19
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x14000ac50
mov ecx, SafeArrayGetDim
jmp 0x14000aa23
mov ecx, VarDecFromDisp
call qword [0x141c552c8]
test rsi, rsi
je 0x14000ac35
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x141c552f0]
test rbx, rbx
je 0x14000ac4e
call qword [0x141c55308]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x141c55300]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret