Function at 0x140043ff0
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 0x14004404e
call fcn.14000b5d0
lea rcx, [0x1402712e8]
mov qword [rsp + 0x38], rcx
lea rcx, str.Not_A_Valid_Dos_Stub____ws
lea r15, str.MbCommonSigVerify
mov r9d, 0x356
jmp 0x14004422c
movsxd rcx, dword [rcx + 0x3c]
add rcx, rdi
mov rbx, r12
lea rsi, [r12 + rdi]
lea rax, [rcx + 0x108]
cmp rsi, rax
jb 0x14004408c
cmp rdi, rcx
ja 0x14004408c
cmp dword [rcx], 0x4550
jne 0x140044083
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140044083
mov r14b, 1
lea r15, str.MbCommonSigVerify
jmp 0x1400440cf
call fcn.14000b5d0
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, 0x35e
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 0x140044132
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
lea rax, [rcx + 0xf8]
cmp rsi, rax
jb 0x1400440ec
cmp rdi, rcx
jbe 0x14004412d
call fcn.14000b5d0
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, 0x367
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
lea rdx, str.VerifyBuffer
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x140044256
test r14b, r14b
je 0x140044188
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x14004420e
mov ecx, dword [rax + rdi + 0xa8]
test ecx, ecx
je 0x14004420e
add rcx, rdi
cmp rcx, rsi
ja 0x14004420e
mov eax, dword [rcx]
add rax, rcx
cmp rax, rsi
ja 0x14004420e
cmp word [rcx + 6], 2
jne 0x14004420e
mov eax, 0x200
cmp word [rcx + 4], ax
jne 0x14004420e
jmp 0x14004419d
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
mov r8d, r12d
mov rdx, rdi
call fcn.1400442e0
mov rcx, rax
test rcx, rcx
je 0x14004420e
cmp rcx, rsi
ja 0x14004420e
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 0x1400441ec
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x20], r13
movzx r9d, r14b
mov r8, rbx
call fcn.140045dc0
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x14004425f
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
call fcn.140045dc0
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x14004425f
call fcn.14000b5d0
lea rcx, [0x1402712e8]
mov qword [rsp + 0x38], rcx
lea rcx, str.The_Certificate_is_not_there_____ws
mov r9d, 0x376
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 0x1400442be
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