Function at 0x101502c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b2ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x10373f78]
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.1014cdf0
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x40
push edx
push eax
mov ecx, edi
call fcn.10152990
test al, al
jne 0x1015037d
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_HEADERS__struct__IMAGE_NT_HEADERS__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.1012eeb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
push str.could_not_read_dos_header_from
push eax
call fcn.1005d660
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x10150360
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.1009d6c0
add esp, 0xc
lea ecx, [ebp - 0x104]
call fcn.1012f0d0
xor al, al
jmp 0x10150486
mov eax, 0x5a4d
cmp word [ebp - 0x50], ax
je 0x101503b9
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_HEADERS__struct__IMAGE_NT_HEADERS__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.1012eeb0
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 2
push str.invalid_e_magic_in_dos_header_of
jmp 0x1015034c
lea ecx, [edi + 0x18]
call fcn.1014cdf0
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 0xf8
push edx
push eax
mov dword [ebp - 0x5c], edx
call fcn.10152990
test al, al
jne 0x1015041f
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_HEADERS__struct__IMAGE_NT_HEADERS__unsigned___int64___const
lea ecx, [ebp - 0x104]
call fcn.1012eeb0
mov dword [ebp - 4], 2
mov dword [ebp - 0x54], 4
push str.could_not_read_nt_headers_from
jmp 0x1015034c
cmp dword [esi], 0x4550
je 0x10150475
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_HEADERS__struct__IMAGE_NT_HEADERS__unsigned___int64___const
lea ecx, [ebp - 0x1ac]
call fcn.1012eeb0
push str.invalid_signature_in_nt_headers_of
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], 8
call fcn.1005d660
push edi
push eax
call fcn.1009c9c0
add esp, 0x10
lea ecx, [ebp - 0x1ac]
call fcn.1012f0d0
xor al, al
jmp 0x10150486
test ebx, ebx
je 0x10150484
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.102649e4
mov esp, ebp
pop ebp
ret 8