Function at 0x14008a450
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x568
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x570]
call fcn.14007aae0
lea r9, [rsp + 0x510]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14008b7b0
movzx eax, al
test eax, eax
jne 0x14008a59c
call fcn.1400872a0
cmp eax, 1
jle 0x14008a4cf
jmp 0x14008a578
lea rcx, [rsp + 0x34]
call fcn.140004910
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x154
lea r8, [0x14016bca0]
lea rdx, [0x14016bd30]
lea rcx, [rsp + 0x110]
call fcn.1400b5f40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x50]
call fcn.140004910
lea rdx, [0x14016bc80]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x570]
mov rcx, rax
call fcn.140004910
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003a20
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14008a595
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x110]
call fcn.1400b60e0
xor al, al
jmp 0x14008a92f
movzx eax, word [rsp + 0x510]
cmp eax, 0x5a4d
je 0x14008a6a9
call fcn.1400872a0
cmp eax, 1
jle 0x14008a5be
jmp 0x14008a685
lea rcx, [rsp + 0x35]
call fcn.140004910
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x15a
lea r8, [0x14016bde0]
lea rdx, [0x14016be70]
lea rcx, [rsp + 0x210]
call fcn.1400b5f40
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x80]
call fcn.140004910
lea rdx, [0x14016bdb8]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x570]
mov rcx, rax
call fcn.140004910
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140003a20
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x14008a6a2
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x210]
call fcn.1400b60e0
xor al, al
jmp 0x14008a92f
mov rcx, qword [rsp + 0x570]
call fcn.14007aae0
movsxd rcx, dword [rsp + 0x54c]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0xa8], rax
mov r9, qword [rsp + 0x578]
mov r8d, 0x108
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
call fcn.14008b7b0
movzx eax, al
test eax, eax
jne 0x14008a801
call fcn.1400872a0
cmp eax, 1
jle 0x14008a710
jmp 0x14008a7dd
lea rcx, [rsp + 0x36]
call fcn.140004910
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x162
lea r8, [0x14016bf40]
lea rdx, [0x14016bfd0]
lea rcx, [rsp + 0x310]
call fcn.1400b5f40
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xb8]
call fcn.140004910
lea rdx, [0x14016bef8]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x570]
mov rcx, rax
call fcn.140004910
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140003a20
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 4
test eax, eax
je 0x14008a7fa
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x310]
call fcn.1400b60e0
xor al, al
jmp 0x14008a92f
mov rax, qword [rsp + 0x578]
cmp dword [rax], 0x4550
je 0x14008a912
call fcn.1400872a0
cmp eax, 1
jle 0x14008a824
jmp 0x14008a8f1
lea rcx, [rsp + 0x37]
call fcn.140004910
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x168
lea r8, [0x14016c0a0]
lea rdx, str.bool___cdecl_crashpad::PEImageReader::ReadNtHeaders_struct__IMAGE_NT_HEADERS64__struct__IMAGE_NT_HEADERS64__unsigned___int64___const
lea rcx, [rsp + 0x410]
call fcn.1400b5f40
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xe8]
call fcn.140004910
lea rdx, [0x14016bf18]
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x570]
mov rcx, rax
call fcn.140004910
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.140003a20
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 8
test eax, eax
je 0x14008a90e
and dword [rsp + 0x30], 0xfffffff7
lea rcx, [rsp + 0x410]
call fcn.1400b60e0
xor al, al
jmp 0x14008a92f
cmp qword [rsp + 0x580], 0
je 0x14008a92d
mov rax, qword [rsp + 0x580]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov al, 1
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x568
ret