Function at 0x140048df0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x70
mov r13, r8
mov r12d, edx
mov rdi, rcx
xor r14b, r14b
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x140048e4e
call fcn.140004b70
lea rcx, [0x140284130]
mov qword [rsp + 0x38], rcx
lea rcx, str.Not_A_Valid_Dos_Stub____ws
lea r15, str.MbCommonSigVerify
mov r9d, 0x357
jmp 0x14004902c
movsxd rcx, dword [rcx + 0x3c]
add rcx, rdi
mov rbx, r12
lea rsi, [r12 + rdi]
lea rax, [rcx + 0x108]
cmp rsi, rax
jb 0x140048e8c
cmp rdi, rcx
ja 0x140048e8c
cmp dword [rcx], 0x4550
jne 0x140048e83
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140048e83
mov r14b, 1
lea r15, str.MbCommonSigVerify
jmp 0x140048ecf
call fcn.140004b70
mov r10, qword [rax]
lea rcx, str.Not_a_64_bit_header
mov qword [rsp + 0x30], rcx
lea r15, str.MbCommonSigVerify
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 5
mov r9d, 0x35f
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
lea rdx, str.VerifyBuffer
mov rcx, rax
call qword [r10 + 0x20]
test r14b, r14b
jne 0x140048f32
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
lea rax, [rcx + 0xf8]
cmp rsi, rax
jb 0x140048eec
cmp rdi, rcx
jbe 0x140048f2d
call fcn.140004b70
mov r10, qword [rax]
lea rcx, str.No_NT_Header
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 2
mov r9d, 0x368
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
lea rdx, str.VerifyBuffer
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x140049056
test r14b, r14b
je 0x140048f88
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x14004900e
mov ecx, dword [rax + rdi + 0xa8]
test ecx, ecx
je 0x14004900e
add rcx, rdi
cmp rcx, rsi
ja 0x14004900e
mov eax, dword [rcx]
add rax, rcx
cmp rax, rsi
ja 0x14004900e
cmp word [rcx + 6], 2
jne 0x14004900e
mov eax, 0x200
cmp word [rcx + 4], ax
jne 0x14004900e
jmp 0x140048f9d
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
mov r8d, r12d
mov rdx, rdi
call fcn.1400490e0
mov rcx, rax
test rcx, rcx
je 0x14004900e
cmp rcx, rsi
ja 0x14004900e
xor r8d, r8d
mov dword [rsp + 0x60], r8d
movsxd rax, dword [rdi + 0x3c]
mov edx, dword [rcx]
mov qword [rsp + 0x48], rdi
add rax, rdi
sub edx, 5
add rcx, 8
test r14b, r14b
je 0x140048fec
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x20], r13
movzx r9d, r14b
mov r8, rbx
call fcn.14004abc0
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x14004905f
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
call fcn.14004abc0
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x14004905f
call fcn.140004b70
lea rcx, [0x140284130]
mov qword [rsp + 0x38], rcx
lea rcx, str.The_Certificate_is_not_there_____ws
mov r9d, 0x377
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 5
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
lea rdx, str.VerifyBuffer
mov rcx, rax
call qword [r10 + 0x20]
mov ebx, 0xc000007b
mov dword [rsp + 0x60], ebx
jmp 0x1400490be
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret