Function at 0x5619c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c8ec5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
call fcn.0055e720
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x40
push edx
push eax
mov ecx, edi
call fcn.00564280
test al, al
jne 0x561a7d
push 1
push 0x154
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinpe_image_reader.cc
push str.bool___thiscall_crashpad::PEImageReader::ReadNtHeaders_struct__IMAGE_NT_HEADERS64__struct__IMAGE_NT_HEADERS64__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.005407a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
push str.could_not_read_dos_header_from
push eax
call fcn.004b47f0
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x561a60
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.004e4f80
add esp, 0xc
lea ecx, [ebp - 0x104]
call fcn.005409c0
xor al, al
jmp 0x561b86
mov eax, 0x5a4d
cmp word [ebp - 0x50], ax
je 0x561ab9
push 1
push 0x15a
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinpe_image_reader.cc
push str.bool___thiscall_crashpad::PEImageReader::ReadNtHeaders_struct__IMAGE_NT_HEADERS64__struct__IMAGE_NT_HEADERS64__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.005407a0
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 2
push str.invalid_e_magic_in_dos_header_of
jmp 0x561a4c
lea ecx, [edi + 0x18]
call fcn.0055e720
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x14]
cdq
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x54], eax
adc edx, esi
mov esi, dword [ebp - 0x58]
push esi
push 0
push 0x108
push edx
push eax
mov dword [ebp - 0x5c], edx
call fcn.00564280
test al, al
jne 0x561b1f
push 1
push 0x162
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinpe_image_reader.cc
push str.bool___thiscall_crashpad::PEImageReader::ReadNtHeaders_struct__IMAGE_NT_HEADERS64__struct__IMAGE_NT_HEADERS64__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.005407a0
mov dword [ebp - 4], 2
mov dword [ebp - 0x54], 4
push str.could_not_read_nt_headers_from
jmp 0x561a4c
cmp dword [esi], 0x4550
je 0x561b75
push 1
push 0x168
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinpe_image_reader.cc
push str.bool___thiscall_crashpad::PEImageReader::ReadNtHeaders_struct__IMAGE_NT_HEADERS64__struct__IMAGE_NT_HEADERS64__unsigned___int64___const
lea ecx, [ebp - 0x1ac]
call fcn.005407a0
push str.invalid_signature_in_nt_headers_of
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], 8
call fcn.004b47f0
push edi
push eax
call fcn.004e4580
add esp, 0x10
lea ecx, [ebp - 0x1ac]
call fcn.005409c0
xor al, al
jmp 0x561b86
test ebx, ebx
je 0x561b84
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
ret 8