Function at 0x14005b4b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 0x10]
mov rdi, rcx
add rcx, 0x10
call qword [rax]
xor ebx, ebx
mov rcx, rdi
mov qword [rdi + 0x18], rbx
mov rax, qword [rdi]
call qword [rax]
mov qword [rdi + 8], rbx
cmp qword [rdi + 0x30], rbx
jne 0x14005b544
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14005b5df
mov rax, qword [rcx]
add rdi, 0x40
cmp qword [rdi + 0x18], 7
jbe 0x14005b502
mov rdi, qword [rdi]
lea rdx, str.Invalid_mapping_name
mov r9d, 0x74
mov qword [rsp + 0x30], rdx
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesmbcommon_vs2022.4.2.0.62_build_nativeincludeIPCMapping.h
mov qword [rsp + 0x28], rdi
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_DLLOPERATION_::CreateMappingCommon
mov dword [rsp + 0x20], 2
call qword [rax + 0x18]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp qword [rdi + 0x38], 7
lea r8, [rdi + 0x20]
jbe 0x14005b552
mov r8, qword [r8]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdx, qword [rdi]
mov rcx, rdi
mov rbx, rax
call qword [rdx]
lea rcx, [rbx + 1]
mov qword [rdi + 8], rbx
test rcx, 0xfffffffffffffffe
jne 0x14005b5f1
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14005b5df
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rdi, 0x40
cmp qword [rdi + 0x18], 7
jbe 0x14005b59d
mov rdi, qword [rdi]
mov dword [rsp + 0x40], eax
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesmbcommon_vs2022.4.2.0.62_build_nativeincludeIPCMapping.h
lea rax, str.opening
mov r9d, 0x7d
mov qword [rsp + 0x38], rax
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_DLLOPERATION_::CreateMappingCommon
lea rax, str.Error__ls_IPC_mapping._Error__u
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 2
call rsi
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], 0x1025c
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
test rbx, rbx
jne 0x14005b697
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14005b67d
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x58], 7
lea rdx, [rdi + 0x40]
jbe 0x14005b647
mov rdx, qword [rdx]
mov dword [rsp + 0x38], eax
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesmbcommon_vs2022.4.2.0.62_build_nativeincludeIPCMapping.h
lea rax, str.Error_mapping_view_of_IPC_mapping._Error__u
mov r9d, 0x85
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov qword [rsp + 0x28], rdx
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_DLLOPERATION_::CreateMappingCommon
mov dword [rsp + 0x20], 2
call rsi
mov rcx, rdi
call fcn.14002a930
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x60]
mov al, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret