Function at 0x14000ebd0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14024e280]
xor rax, rsp
mov qword [rbp + 0x90], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x14021bea8]
lea rcx, [rbp + 0x50]
call fcn.140009260
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 6
lea rdx, str.wscsvc
lea rcx, [rsp + 0x50]
call fcn.140009260
nop
xor r15d, r15d
mov qword [rbp - 0x20], r15
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.14000ba00
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.14000ba00
lea r12, vtable.mb::common::system::ScopedAny_struct_SC_HANDLE______ptr64__int____cdecl___struct_SC_HANDLE______ptr64___int___cdecl_CloseServiceHandle_struct_SC_HANDLE______ptr64___0__0__0_.0
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r15
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000ecf0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f443
call fcn.14013c1c0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14000ed30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f449
call fcn.14013c1c0
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x38]
call qword [rax]
mov qword [rbp + 0x40], r15
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x28]
call qword [rax]
mov qword [rbp + 0x30], r15
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x28]
call qword [rdx]
mov qword [rbp + 0x30], rbx
test rbx, rbx
jne 0x14000edd5
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x14000ee79
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov dword [rsp + 0x38], eax
lea rax, str.OpenSCManager_failed.__Error__u.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x1a
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWindowsService.cpp
lea rdx, str.mb::common::system::WindowsService::Open
mov rcx, rdi
call rbx
jmp 0x14000ee79
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov r8d, 0x2000000
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x38]
call qword [rdx]
mov qword [rbp + 0x40], rbx
test rbx, rbx
jne 0x14000eecf
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x14000ee79
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r8, qword [rbp + 8]
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r8
lea rax, str.OpenService_failed_on__1s._Error__u.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x22
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWindowsService.cpp
lea rdx, str.mb::common::system::WindowsService::Open
mov rcx, rdi
call rbx
call fcn.14000b7c0
mov rsi, rax
mov rcx, qword [rax]
mov r14, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000ee9a
movzx eax, ax
or eax, 0x80070000
mov ebx, 0x80004005
test eax, eax
jns 0x14000eeb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000eeb9
movzx eax, ax
or eax, 0x80070000
jmp 0x14000eeb9
mov eax, ebx
mov dword [rsp + 0x38], eax
lea rax, str.Failed_to_open_wscsvc_handle__08X
mov r9d, 0x53
jmp 0x14000f231
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], eax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140036df0
mov ecx, r15d
test al, al
cmovne ecx, dword [rbp + 0x54]
mov eax, ecx
sub eax, 1
je 0x14000f009
sub eax, 1
je 0x14000f009
cmp eax, 2
je 0x14000efbb
call fcn.14000b7c0
mov rsi, rax
mov rcx, qword [rax]
mov r14, qword [rcx + 0x20]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], eax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140036df0
test al, al
je 0x14000ef4b
cmp dword [rbp + 0x54], 1
mov ebx, dword [rbp + 0x6c]
jne 0x14000ef4e
mov ebx, r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], eax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140036df0
mov ecx, r15d
test al, al
cmovne ecx, dword [rbp + 0x54]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ecx
lea rax, str.wscsvc_state__u_pid__u
mov qword [rsp + 0x30], rax
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
mov r9d, 0x9d
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rsi
call r14
jmp 0x14000f34b
call fcn.14000b7c0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.wscsvc_is_already_running
mov qword [rsp + 0x30], rcx
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 4
mov r9d, 0x5d
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call r10
mov ebx, r15d
jmp 0x14000f350
mov esi, 0xea60
cmp ecx, 1
jne 0x14000f0cf
mov dword [rbp - 0x30], 0xffffffff
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_unsigned_long_int___cdecl_mb::common::system::WindowsService::GetServiceStartState_void____ptr64::_3::_lambda_1___void__struct__QUERY_SERVICE_CONFIGW_const____ptr64_.0
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x50]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140036f80
test al, al
jne 0x14000f0ae
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000f0ae
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea rax, [rbp - 0x18]
cmp qword [rbp], 7
cmova rax, qword [rbp - 0x18]
mov qword [rsp + 0x38], rdx
lea rdx, str.Unable_to_get_start_state_for__ls
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x14c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWindowsService.cpp
lea rdx, str.mb::common::system::WindowsService::GetServiceStartState
call r10
cmp dword [rbp - 0x30], 2
jne 0x14000f1c9
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0x927c0
jae 0x14000f1c9
mov esi, 0x75300
call fcn.14000b7c0
mov r11, rax
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov eax, 0x10624dd3
mul esi
shr edx, 6
mov dword [rsp + 0x38], edx
lea rax, str.Waiting__u_seconds_for_wscsvc_to_enter_running_state
mov qword [rsp + 0x30], rax
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 4
mov r9d, 0x81
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, r11
call r10
mov qword [rbp - 0x80], 2
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x40], xmm1
lea rax, [fcn.14000a1e0]
mov qword [rbp - 0x78], rax
lea r8, [rbp - 0x80]
mov edx, 8
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_NotifyServiceStatusChangeW]
mov ebx, eax
test eax, eax
je 0x14000f296
call fcn.14000b7c0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov dword [rsp + 0x38], ebx
lea rcx, str.NotifyServiceStatusChange_failed__u
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
mov r9d, 0x8a
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call r10
test ebx, ebx
jle 0x14000f350
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14000f350
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000f0cf
call fcn.14000b7c0
mov rsi, rax
mov rcx, qword [rax]
mov r14, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000f201
movzx eax, ax
or eax, 0x80070000
mov ebx, 0x80004005
test eax, eax
jns 0x14000f21e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000f220
movzx eax, ax
or eax, 0x80070000
jmp 0x14000f220
mov eax, ebx
mov dword [rsp + 0x38], eax
lea rax, str.StartService_failed__08X
mov r9d, 0x7c
mov qword [rsp + 0x30], rax
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rsi
call r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000f272
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14000f350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14000f350
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14000f350
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov ebx, eax
cmp eax, 0xc0
jne 0x14000f2fa
cmp dword [rbp - 0x68], 0
jne 0x14000f2fa
test byte [rbp - 0x40], 8
je 0x14000f2fa
call fcn.14000b7c0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.wscsvc_has_entered_the_running_state
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 4
lea r9d, [rbx - 0x29]
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call r10
mov ebx, r15d
jmp 0x14000f350
call fcn.14000b7c0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
mov ecx, dword [rbp - 0x40]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp - 0x68]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], ebx
lea rcx, str.wscsvc_did_not_enter_the_running_state__u__u__08X
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
mov r9d, 0x92
lea r8, str.D:JenkinsworkspaceN_MBAMWsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call r10
mov ebx, 0x8007139f
mov qword [rbp + 0x38], r12
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000f363
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x28], r12
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14000f37a
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x30], r15
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14000f3be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f3b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f43d
call fcn.14013c1c0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14000f40b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f43d
call fcn.14013c1c0
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14013c1a0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14014b94c
nop
call fcn.14014b94c
nop
call fcn.14014b94c
int3