Function at 0x14000e8f0
Capabilities:
Start service

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rbp + 0xd8], rax
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp]
call fcn.140182920
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x80], xmm0
xor r14d, r14d
mov word [rsp + 0x70], r14w
lea rdx, [0x140267738]
lea rcx, [rsp + 0x70]
call fcn.140009370
nop
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
lea rdx, str.wscsvc
lea rcx, [rsp + 0x50]
call fcn.140009370
nop
mov qword [rbp], r14
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.14000b840
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.14000b840
lea r15, 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
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r14
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000ea02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e9fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f162
call fcn.14017fde4
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000ea57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f168
call fcn.14017fde4
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x58]
call qword [rax]
mov qword [rbp + 0x60], r14
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x48]
call qword [rax]
mov qword [rbp + 0x50], r14
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x48]
call qword [rdx]
mov qword [rbp + 0x50], rbx
test rbx, rbx
jne 0x14000eb0d
mov rdi, qword [rbp]
test rdi, rdi
je 0x14000ebaf
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rbx, qword [rbp + 8]
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.OpenSCManager_failed.__Error__u.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 2
mov r9d, 0x1a
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonwindowsservice.cpp
lea rdx, str.mb::common::system::WindowsService::Open
mov rcx, qword [rbp]
call qword [rdi + 0x20]
jmp 0x14000ebaf
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8d, 0x2000000
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x58]
call qword [rdx]
mov qword [rbp + 0x60], rbx
test rbx, rbx
jne 0x14000ebfa
mov rsi, qword [rbp]
test rsi, rsi
je 0x14000ebaf
lea rdi, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdi, qword [rbp + 0x28]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rbx, qword [rbp + 8]
mov rsi, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rdi
lea rax, str.OpenService_failed_on__1s._Error__u.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 2
mov r9d, 0x22
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonwindowsservice.cpp
lea rdx, str.mb::common::system::WindowsService::Open
mov rcx, qword [rbp]
call qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000ebc1
movzx eax, ax
or eax, 0x80070000
mov ebx, 0x80004005
test eax, eax
jns 0x14000ebe1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000ebe3
movzx edi, ax
or edi, 0x80070000
jmp 0x14000ebe3
mov edi, ebx
call fcn.14000b5d0
lea rcx, str.Failed_to_open_wscsvc_handle__08X
mov r9d, 0x53
jmp 0x14000ee7f
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], eax
lea rdx, [rbp + 0x70]
lea rcx, [rbp]
call fcn.1400352b0
mov ecx, r14d
test al, al
cmovne ecx, dword [rbp + 0x74]
test ecx, ecx
je 0x14000efa3
cmp ecx, 2
jbe 0x14000ec62
cmp ecx, 4
jne 0x14000efa3
call fcn.14000b5d0
lea rcx, str.wscsvc_is_already_running
lea rdi, str.MBAMWsc
mov r9d, 0x5d
jmp 0x14000ef1e
mov esi, 0xea60
cmp ecx, 1
jne 0x14000ed31
mov dword [rbp - 0x10], 0xffffffff
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_3a4aa008e7f7f64cdc38243f7c39c4a6___void__struct__QUERY_SERVICE_CONFIGW_const____ptr64_.0
mov qword [rbp + 0x98], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x98]
mov qword [rbp + 0xd0], rax
lea rdx, [rbp + 0x98]
lea rcx, [rbp]
call fcn.140035440
test al, al
jne 0x14000ed10
mov rcx, qword [rbp]
test rcx, rcx
je 0x14000ed10
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov r10, qword [rcx]
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:jenkinsworkspace_n_mbcommon_srcmbcommonwindowsservice.cpp
lea rdx, str.mb::common::system::WindowsService::GetServiceStartState
call qword [r10 + 0x20]
cmp dword [rbp - 0x10], 2
jne 0x14000ee22
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0x927c0
jae 0x14000ee22
mov esi, 0x75300
call fcn.14000b5d0
mov rcx, rax
mov r10, qword [rax]
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:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
call qword [r10 + 0x20]
mov qword [rbp - 0x60], 2
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
lea rax, [fcn.140009f40]
mov qword [rbp - 0x58], rax
lea r8, [rbp - 0x60]
mov edx, 8
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_NotifyServiceStatusChangeW]
mov ebx, eax
test eax, eax
je 0x14000eeec
call fcn.14000b5d0
mov r10, qword [rax]
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:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call qword [r10 + 0x20]
test ebx, ebx
jle 0x14000f073
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14000f073
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000ed31
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000ee4b
movzx eax, ax
or eax, 0x80070000
mov ebx, 0x80004005
test eax, eax
jns 0x14000ee6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14000ee6d
movzx edi, ax
or edi, 0x80070000
jmp 0x14000ee6d
mov edi, ebx
call fcn.14000b5d0
lea rcx, str.StartService_failed__08X
mov r9d, 0x7c
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rcx
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call qword [r10 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000eec8
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x14000f073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14000f073
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14000f073
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov ebx, eax
cmp eax, 0xc0
jne 0x14000ef50
cmp dword [rbp - 0x48], 0
jne 0x14000ef50
test byte [rbp - 0x20], 8
je 0x14000ef50
call fcn.14000b5d0
lea rcx, str.wscsvc_has_entered_the_running_state
lea r9d, [rbx - 0x29]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 4
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call qword [r10 + 0x18]
mov ebx, r14d
jmp 0x14000f073
call fcn.14000b5d0
mov r10, qword [rax]
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp - 0x48]
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:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rax
call qword [r10 + 0x20]
jmp 0x14000f06e
call fcn.14000b5d0
mov rsi, rax
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], eax
lea rdx, [rbp + 0x70]
lea rcx, [rbp]
call fcn.1400352b0
test al, al
je 0x14000efe6
cmp dword [rbp + 0x74], 1
mov ebx, dword [rbp + 0x8c]
jne 0x14000efe9
mov ebx, r14d
xor eax, eax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], eax
lea rdx, [rbp + 0x98]
lea rcx, [rbp]
call fcn.1400352b0
mov ecx, r14d
test al, al
cmovne ecx, dword [rbp + 0x9c]
mov rax, qword [rsi]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ecx
lea rcx, str.wscsvc_state__u_pid__u
mov qword [rsp + 0x30], rcx
lea rdi, str.MBAMWsc
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
mov r9d, 0x9d
lea r8, str.d:jenkinsworkspace_n_mbamwsc_srcwsccom.cpp
lea rdx, str.wsccom::WaitForWscServiceRunning
mov rcx, rsi
call qword [rax + 0x20]
mov ebx, 0x8007139f
mov qword [rbp + 0x58], r15
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14000f086
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x48], r15
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000f09d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rbp + 0x50], r14
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x14000f0e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f0dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f16e
call fcn.14017fde4
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r14w
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x14000f12e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f15c
call fcn.14017fde4
mov eax, ebx
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.14017fdc0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14018b33c
nop
call fcn.14018b33c
nop
call fcn.14018b33c
nop
call fcn.14018b33c
int3