Function at 0x1400068c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x60], 0
lea rdi, [rsp + 0x64]
xor eax, eax
mov ecx, 0x2c
rep stosb byte [rdi], al
mov qword [rsp + 0x28], 0
mov r8d, 0xd27
mov edx, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call fcn.140006800
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x48]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0xe0]
add rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140006967
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0x4550
je 0x14000697c
mov ecx, 0xc1
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov eax, dword [rsp + 0xe8]
cmp rax, 0x40
jb 0x1400069b8
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x54]
cmp dword [rsp + 0xe8], eax
jb 0x1400069b8
mov ecx, dword [rsp + 0xe8]
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
cmp rcx, rax
jae 0x1400069cd
mov ecx, SafeArrayGetDim
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 4]
cmp eax, 0x8664
je 0x1400069f5
mov ecx, 0xc1
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov rax, qword [rsp + 0xa8]
movzx ecx, word [rax + 0x14]
mov rax, qword [rsp + 0xa8]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 0
jmp 0x140006a3f
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xa0]
add rax, 0x28
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x140006aca
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x10], 0
jne 0x140006a85
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0xc]
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rax + 0x38]
mov rax, rdx
add rax, rcx
mov qword [rsp + 0xb8], rax
jmp 0x140006aa9
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0xc]
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x10]
mov rax, rdx
add rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0xb8], rax
jbe 0x140006ac5
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
jmp 0x140006a20
lea rcx, [rsp + 0x60]
call qword [0x1402a6c00]
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rdx + 0x50]
mov eax, dword [rsp + 0x64]
lea eax, [rcx + rax - 1]
mov ecx, dword [rsp + 0x64]
sub ecx, 1
not ecx
and eax, ecx
mov eax, eax
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rcx - 1]
mov eax, dword [rsp + 0x64]
sub eax, 1
not eax
mov ecx, eax
mov rax, rdx
and rax, rcx
cmp qword [rsp + 0x58], rax
je 0x140006b35
mov ecx, 0xc1
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x30]
call qword [0x1402a6c08]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006ba0
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [0x1402a6c08]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006ba0
mov ecx, SafeArrayGetDim
call qword [0x1402a6bf8]
jmp 0x140006e7a
call qword [0x1402a6c38]
mov r8d, 0x28
mov edx, 8
mov rcx, rax
call qword [0x1402a6c10]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140006be2
mov ecx, SafeArrayGetDim
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x64]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0xa8]
mov edx, dword [rax + 0x54]
mov r9d, 4
mov r8d, 0x1000
mov rcx, qword [rsp + 0x28]
call qword [0x1402a6c08]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140006c46
mov ecx, SafeArrayGetDim
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov rax, qword [rsp + 0xa8]
mov r8d, dword [rax + 0x54]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.140066f90
mov rdx, qword [rsp + 0x48]
movsxd rax, dword [rdx + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x28]
mov qword [rcx + 0x30], rax
mov edx, dword [rsp + 0xe8]
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call fcn.140006ed0
test eax, eax
jne 0x140006cc3
jmp 0x140006e7a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax + 0x30]
sub rax, rcx
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140006d18
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
call fcn.1400070a0
mov edx, eax
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x20], edx
jmp 0x140006d27
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x20], 1
mov rcx, qword [rsp + 0xb0]
call fcn.140007230
test eax, eax
jne 0x140006d42
jmp 0x140006e7a
mov rcx, qword [rsp + 0xb0]
call fcn.1400074e0
test eax, eax
jne 0x140006d5d
jmp 0x140006e7a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
add rax, 0xd0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x140006df3
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x140006df3
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
je 0x140006df3
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x98]
call qword [rax]
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
jmp 0x140006db1
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
cmp dword [rax + 0x28], 0
je 0x140006e70
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 8]
mov qword [rsp + 0xc8], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 8]
call qword [rsp + 0xc8]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jne 0x140006e61
mov ecx, 0x45a
call qword [0x1402a6bf8]
jmp 0x140006e7a
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x1c], 1
mov rax, qword [rsp + 0xb0]
jmp 0x140006ebb
cmp qword [rsp + 0x28], 0
je 0x140006e95
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [0x1402a6c20]
cmp qword [rsp + 0xb0], 0
je 0x140006eb9
call qword [0x1402a6c38]
mov r8, qword [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call qword [0x1402a6c30]
xor eax, eax
add rsp, 0xd0
pop rdi
ret