Function at 0x140133160
Capabilities:
Query service status

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov r8d, 0xf003f
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x14013337a
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401331c5
mov rdx, qword [rdi]
mov r8d, 0xf003f
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r15, rax
test rax, rax
je 0x14013349f
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1401335cc
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x10]
call fcn.140023b20
nop
lea rcx, [rbp - 0x10]
mov rdx, qword [rbp + 8]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x10]
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x20], eax
lea r9, str.Queried_Windows_Update_Status:__d
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rbx, qword [rbp - 0x10]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
lea r8d, [r12 + 0x17]
lea rdx, str.isWindowsServiceStopped
lea rcx, [rsp + 0x60]
call fcn.140018360
nop
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
lea r8d, [r12 + 0x72]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x30]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x1144
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.1400b16b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140133323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013331e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140133374
call fcn.1401a9a50
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rbp + 0x14], 1
sete bl
mov rcx, rdi
call fcn.1400272a0
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401e3dbc
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x30]
call fcn.140023b20
nop
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.14007e3e0
mov rcx, rax
call fcn.140017de0
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.1400694f0
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
lea r9, str.Opening_SC_Manager_failed_with_error_code:__d__s
mov r8, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14009de10
lea rcx, [rsp + 0x60]
call fcn.140023a10
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov rdi, rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400422b0
movups xmm6, xmmword [rax]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rdx, str.isWindowsServiceStopped
lea rcx, [rbp - 0x58]
call fcn.140017fc0
mov rbx, rax
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x80]
call fcn.140017fc0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
mov r8d, 0x112f
mov rdx, rbx
mov rcx, rax
call fcn.1400b16b0
nop
lea rcx, [rbp - 0x30]
call fcn.140023a10
call fcn.140015e70
mov r8, rax
lea r9, str.Opening_SC_Manager_failed
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rbp - 0x80]
call fcn.1401cfc8c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x30]
call fcn.140023b20
nop
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.14007e3e0
mov rcx, rax
call fcn.140017de0
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.1400694f0
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
lea r9, str.Opening_Windows_Update_Service_failed_with_error_code:__d__s
mov r8, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14009de10
lea rcx, [rbp - 0x80]
call fcn.140023a10
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov rdi, rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400422b0
movups xmm6, xmmword [rax]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rdx, str.isWindowsServiceStopped
lea rcx, [rbp - 0x58]
call fcn.140017fc0
mov rbx, rax
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x60]
call fcn.140017fc0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
mov r8d, 0x1135
mov rdx, rbx
mov rcx, rax
call fcn.1400b16b0
nop
lea rcx, [rbp - 0x30]
call fcn.140023a10
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140015e70
mov r8, rax
lea r9, str.Opening_Windows_Update_Service_failed
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rbp - 0x80]
call fcn.1401cfc8c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x30]
call fcn.140023b20
nop
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.14007e3e0
mov rcx, rax
call fcn.140017de0
mov rbx, rax
lea rcx, [rbp - 0x30]
call fcn.1400694f0
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
lea r9, str.Failed_to_query_Windows_Update_status_with_error_code:__d__s
mov r8, 0xffffffffffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14009de10
lea rcx, [rbp - 0x80]
call fcn.140023a10
lea rcx, [rbp - 0x30]
call fcn.140017de0
mov rdi, rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400422b0
movups xmm6, xmmword [rax]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rdx, str.isWindowsServiceStopped
lea rcx, [rbp - 0x58]
call fcn.140017fc0
mov rbx, rax
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x60]
call fcn.140017fc0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
mov r8d, 0x113e
mov rdx, rbx
mov rcx, rax
call fcn.1400b16b0
nop
lea rcx, [rbp - 0x30]
call fcn.140023a10
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140015e70
mov r8, rax
lea r9, str.Failed_to_query_Windows_Update_status
mov edx, esi
lea rcx, [rbp - 0x80]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rbp - 0x80]
call fcn.1401cfc8c
int3