Function at 0x1400075b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140096fc0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, r8
mov r14, rdx
xor esi, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x68]
call fcn.1400074b0
nop
mov r9d, 0x18
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
jne 0x140007629
lea rdx, str.Failed_to_retrieve_module_information._Error_Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x14000779b
mov qword [rsp + 0x20], rsi
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140007760
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x140007760
movsxd rbx, dword [rbp - 0x74]
add rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rsi
mov r9d, 0x108
lea r8, [rbp - 0x50]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000772f
cmp dword [rbp - 0x50], 0x4550
jne 0x14000772f
mov edi, dword [rbp - 0x24]
add rdi, qword [rsp + 0x38]
mov r15d, dword [rbp - 0x34]
add r15, rdi
mov rcx, qword [rbp - 0x68]
mov rax, rcx
mov rdx, qword [rbp - 0x60]
sub rax, rdx
add rax, r15
cmp rdi, rax
jae 0x1400077ce
mov rbx, rsi
cmp rdx, rcx
je 0x1400077cb
nop dword [rax]
lea rdx, [rbx + rdi]
mov qword [rsp + 0x20], rsi
mov r9d, 1
lea r8, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp - 0x68]
test eax, eax
je 0x140007715
movzx eax, byte [rcx + rbx]
cmp al, 0x3f
je 0x140007701
cmp al, byte [rbp - 0x70]
jne 0x140007715
inc rbx
mov rax, qword [rbp - 0x60]
sub rax, rcx
cmp rbx, rax
jb 0x1400076d0
jmp 0x1400077cb
inc rdi
mov rax, rcx
mov rdx, qword [rbp - 0x60]
sub rax, rdx
add rax, r15
cmp rdi, rax
jb 0x1400076c1
jmp 0x1400077ce
lea rdx, str.Invalid_NT_header_at_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000d150
lea rdx, [0x140005880]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
jmp 0x140007791
lea rdx, str.Invalid_DOS_header_at_base_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000d150
lea rdx, [0x140005880]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, str.._Error_Code:
mov rcx, rax
call fcn.14000d150
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000d330]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, rsi
mov rcx, qword [rbp - 0x68]
mov rsi, rdi
test rcx, rcx
je 0x140007807
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140063ec4
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140063a30
mov rbx, qword [rsp + 0x200]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret