Function at 0x14005c450
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, rcx
mov qword [rbp - 0x80], rcx
xorps xmm0, xmm0
lea rax, str.SeBackupPrivilege
mov qword [rsp + 0x40], rax
lea rax, str.SeDebugPrivilege
mov qword [rsp + 0x48], rax
lea rax, str.SeSecurityPrivilege
mov qword [rsp + 0x50], rax
lea rax, str.SeRestorePrivilege
mov qword [rsp + 0x58], rax
movdqu xmmword [rbp - 0x78], xmm0
xor r14d, r14d
mov qword [rbp - 0x68], r14
lea ecx, [r14 + 0x20]
call fcn.14014f518
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rsi, [rax + 0x20]
mov qword [rbp - 0x68], rsi
lea r8d, [r14 + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1403ebbf0
mov qword [rbp - 0x70], rsi
mov rbx, qword [rbp - 0x78]
cmp rbx, rsi
je 0x14005c511
nop dword [rax + rax]
mov rcx, qword [rbx]
call fcn.1400f2450
add rbx, 8
cmp rbx, rsi
jne 0x14005c500
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov ecx, eax
call fcn.140092260
test al, al
jne 0x14005c59b
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005c578
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c567
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005c591
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov eax, 0xe0004006
jmp 0x14005c82f
mov dword [rbp + 0x10], 1
mov dword [rbp + 0x14], 3
mov dword [rbp + 0x18], 7
mov dword [rbp + 0x1c], 0xffffffff
mov dword [rbp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x24], xmm0
mov qword [rbp + 0x34], r14
mov dword [rbp + 0x3c], r14d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x40]
call fcn.1403ec370
mov dword [rbp + 0x240], r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r8d, [rax + 6]
lea rdx, str.Local_
lea rcx, [rsp + 0x60]
call fcn.14001fb40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x1404e3f68]
lea rcx, [rsp + 0x40]
call fcn.14001fb40
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14005d610
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14005c6ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c6a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cd9f
call fcn.14014f510
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14005c6ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c6e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cda5
call fcn.14014f510
movdqa xmm0, xmmword [0x140516800]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14005d8c0
test al, al
je 0x14005c76c
mov rax, qword [rbp - 0x48]
test rax, rax
jne 0x14005c856
mov rcx, qword [rbp]
test rcx, rcx
je 0x14005c76c
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rax, qword [rbp - 0x20]
lea rdx, str.Not_initialized
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x59
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesmbcommon_vs2022.4.2.0.62_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::GetStruct
call r10
nop
lea rcx, [rbp - 0x20]
call fcn.140021d30
lea rcx, [rbp - 0x40]
call fcn.140021d30
lea rax, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICECONTROL____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005c798
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x48], r14
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c7bb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005c811
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005c82a
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov eax, 0xe0004002
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x10]
mov ebx, 4
mov edx, ebx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14005c861
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov ecx, esi
call fcn.140098cf0
cmp dword [rbp + 0x3c], eax
je 0x14005c9a7
lea rcx, [rbp - 0x20]
call fcn.140021d30
lea rcx, [rbp - 0x40]
call fcn.140021d30
lea rax, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICECONTROL____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005c90b
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x48], r14
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c92e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005c984
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c973
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005c99d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov eax, 0xe0004003
jmp 0x14005c82f
lea rcx, [rbp + 0x10]
call fcn.1400620d0
test al, al
jne 0x14005ca80
lea rcx, [rbp - 0x20]
call fcn.140021d30
lea rcx, [rbp - 0x40]
call fcn.140021d30
lea rax, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICECONTROL____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005c9e4
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x48], r14
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005ca07
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005ca5d
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ca4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005ca76
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov eax, 0xe0004004
jmp 0x14005c82f
mov edx, 1
mov ecx, dword [rbp + 0x3c]
call fcn.140092260
test al, al
jne 0x14005cb93
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Invalid_signature
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0xfa
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeChildInstance.h
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
nop
lea rcx, [rbp - 0x20]
call fcn.140021d30
lea rcx, [rbp - 0x40]
call fcn.140021d30
lea rax, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICECONTROL____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005cb08
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x48], r14
lea rax, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005cb2b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005cb81
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, rdi
call fcn.140026cb0
mov eax, 0xe0004005
jmp 0x14005c82f
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005cd99
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
call qword [rax + 0x10]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x14005ccbd
mov rcx, qword [rbp]
test rcx, rcx
je 0x14005cc08
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rax, qword [rbp - 0x20]
lea rdx, str.Not_initialized
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x65
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesmbcommon_vs2022.4.2.0.62_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::SetStruct
call r10
call fcn.14002c3f0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Unable_to_write_section
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x105
lea r8, str.D:JenkinsworkspaceN_MB5_InstallerService_srcPackagesSledgehammer.5.1.0.91_build_nativeincludeChildInstance.h
lea rdx, [0x1404e3f68]
mov rcx, rax
call r10
nop
lea rcx, [rbp - 0x60]
call fcn.14005d850
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005ccab
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, rdi
call fcn.140026cb0
mov eax, 0xe0004000
jmp 0x14005c82f
lea rax, [rbp + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rbx, 1
jne 0x14005ccc1
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov ebx, dword [rbp + 0x1c]
lea rcx, [rbp - 0x60]
call fcn.14005d850
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14005cd8a
mov rax, qword [rbp - 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cd79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cdab
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov rcx, rdi
call fcn.140026cb0
mov eax, ebx
jmp 0x14005c82f
call fcn.14012da9c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3