Function at 0x14003e030
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rax, qword [rcx + 0x10]
mov rdi, rcx
add rcx, 0x10
movzx ebp, dl
call qword [rax]
xor r15d, r15d
mov rcx, rdi
mov qword [rdi + 0x18], r15
mov rax, qword [rdi]
call qword [rax]
mov qword [rdi + 8], r15
cmp qword [rdi + 0x30], r15
jne 0x14003e0c0
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14003e197
add rdi, 0x40
cmp qword [rdi + 0x18], 8
jb 0x14003e086
mov rdi, qword [rdi]
mov rax, qword [rcx]
lea rdx, str.Invalid_mapping_name
mov qword [rsp + 0x30], rdx
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackagesmbcommon.3.2.0.1128_build_nativeincludeipcmapping.h
mov qword [rsp + 0x28], rdi
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_CRASHPROCESS_::CreateMappingCommon
mov r9d, reloc.WS2_32.dll_WSACleanup
mov dword [rsp + 0x20], 2
call qword [rax + 0x18]
xor al, al
jmp 0x14003e256
lea r8, [rdi + 0x20]
test bpl, bpl
je 0x14003e0f5
cmp qword [r8 + 0x18], 8
jb 0x14003e0d3
mov r8, qword [r8]
mov qword [rsp + 0x28], r8
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 0x38
lea r8d, [r9 + 4]
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
jmp 0x14003e10a
cmp qword [r8 + 0x18], 8
jb 0x14003e0ff
mov r8, qword [r8]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax]
lea rax, [rbx + 1]
mov qword [rdi + 8], rbx
test rax, 0xfffffffffffffffe
jne 0x14003e19e
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14003e197
cmp qword [rdi + 0x58], 8
lea rsi, [rdi + 0x40]
jb 0x14003e13c
mov rsi, qword [rsi]
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
test bpl, bpl
lea rdx, str.creating
mov r9d, 0x7d
lea rax, str.Error__ls_IPC_mapping._Error__u
lea rcx, str.opening
cmovne rcx, rdx
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackagesmbcommon.3.2.0.1128_build_nativeincludeipcmapping.h
mov qword [rsp + 0x38], rcx
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_CRASHPROCESS_::CreateMappingCommon
mov rcx, qword [rdi + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 2
call qword [rbx + 0x20]
xor al, al
jmp 0x14003e256
xor r9d, r9d
mov qword [rsp + 0x20], 0x38
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
mov rbx, rax
call qword [rdx]
mov qword [rdi + 0x18], rbx
cmp rbx, r15
jne 0x14003e254
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14003e236
cmp qword [rdi + 0x58], 8
mov qword [rsp + 0x70], r14
lea r14, [rdi + 0x40]
jb 0x14003e1f0
mov r14, qword [r14]
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x60]
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackagesmbcommon.3.2.0.1128_build_nativeincludeipcmapping.h
mov dword [rsp + 0x38], eax
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_CRASHPROCESS_::CreateMappingCommon
lea rax, str.Error_mapping_view_of_IPC_mapping._Error__u
mov r9d, 0x85
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 2
call qword [rbx + 0x20]
mov r14, qword [rsp + 0x70]
mov rax, qword [rdi + 0x10]
lea rcx, [rdi + 0x10]
call qword [rax]
mov qword [rdi + 0x18], r15
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax]
xor al, al
mov qword [rdi + 8], r15
jmp 0x14003e256
mov al, 1
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret