Function at 0x140006b30
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x48], rdx
mov r13, rcx
call fcn.140001860
mov rcx, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140006ba8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140006f4e
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x140006f45
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x140006f3c
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x140006f33
movsxd rsi, dword [rbp + 0x3c]
add rsi, rbp
cmp dword [rsi], 0x4550
jne 0x140006f33
movzx r15d, word [rsi + 0x14]
add r15, 0x18
add r15, rsi
cmp di, word [rsi + 6]
jae 0x140006d33
mov byte [rsp + 0x40], dil
nop dword [rax]
nop word [rax + rax]
mov r8d, 8
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140007b20
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.140007950
mov rbx, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140007950
mov r10, qword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400079a0
lea r9, [rsp + 0x40]
mov r8, r10
mov rdx, qword [rax]
lea rcx, [rsp + 0x68]
call fcn.140008a10
mov r9, rbx
mov r8, qword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1400079d0
lea rdx, str..vmp0
lea rcx, [rsp + 0x78]
call fcn.140008a80
test al, al
jne 0x140006e5f
lea rdx, str..vmp1
lea rcx, [rsp + 0x78]
call fcn.140008a80
test al, al
jne 0x140006e5f
lea rdx, [0x140011d70]
lea rcx, [rsp + 0x78]
call fcn.140008a80
test al, al
jne 0x140006e0b
lea rdx, str.MTX1
lea rcx, [rsp + 0x78]
call fcn.140008a80
test al, al
jne 0x140006e0b
lea rcx, [rsp + 0x78]
call fcn.140001870
inc rdi
add r15, 0x28
movzx eax, word [rsi + 6]
cmp rdi, rax
jb 0x140006c40
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x98]
call fcn.140007b20
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.1400077e0
cmp rax, 0xffffffffffffffff
je 0x140006f04
call fcn.140003160
lea rdx, [0x140011b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 6
call fcn.140003130
lea rdx, [0x140011b58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
call fcn.140003160
lea rdx, str.__Suspicious_file_indicator:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 6
call fcn.140003130
mov rdx, r13
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008a90
lea rdx, [0x140001f70]
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]
call fcn.140003160
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x140006f21
call fcn.140003160
lea rdx, [0x140011b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 2
call fcn.140003130
lea rdx, [0x140011b58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
call fcn.140003160
lea rdx, str.__Matrix_has_been_detected_in:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 2
jmp 0x140006eb1
call fcn.140003160
lea rdx, [0x140011b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 6
call fcn.140003130
lea rdx, [0x140011b58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
call fcn.140003160
lea rdx, str.__Suspicious_file_indicator:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001d90
mov ecx, 6
call fcn.140003130
mov rdx, r13
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008a90
lea rdx, [0x140001f70]
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]
call fcn.140003160
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x78]
call fcn.140001870
mov al, 1
jmp 0x140006f50
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
lea rcx, [rsp + 0x98]
call fcn.140001870
movzx eax, bl
jmp 0x140006f50
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14000f430
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret