Function at 0x180008d7c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x180015378]
mov r14, rcx
movups xmm0, xmmword [str.NfsNpIsClientRunning]
mov rcx, qword [0x180019630]
xor ebx, ebx
mov dword [rsp + 0x50], eax
add rcx, 0x70
mov al, byte [0x18001537c]
xor edi, edi
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x54], al
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [0x180019030], ebx
lea rsi, section..data
jne 0x180008e42
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
sub rax, qword [0x180019640]
cmp rax, 0xea60
ja 0x180008e42
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x180008e34
test byte [rcx + 0x1c], 8
je 0x180008e34
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0xfc
lea r8, [0x1800153c0]
call fcn.180009468
mov eax, dword [0x180019638]
mov edi, 1
mov dword [r14], eax
mov rcx, qword [0x180019630]
and dword [0x180019030], ebx
add rcx, 0x70
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test edi, edi
je 0x180008e6a
xor eax, eax
jmp 0x180008fe9
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x180008e96
test byte [rcx + 0x1c], 8
je 0x180008e96
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0xfd
lea r8, [0x1800153c0]
call fcn.180009468
xor eax, eax
lea rdx, str.ServicesActive
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov r8d, 0x20000
mov dword [rsp + 0x38], eax
xor ecx, ecx
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x180008eef
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x180008ee7
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x180008fe7
mov r8d, 4
lea rdx, str.NfsClnt
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x180008f36
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x180008f2e
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x180008fd3
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x180008f6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x180008fbf
movzx ebx, ax
or ebx, 0x80070000
jmp 0x180008fbf
mov rcx, qword [0x180019630]
add rcx, 0x70
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
xor eax, eax
cmp dword [rsp + 0x24], 4
sete al
mov dword [0x180019638], eax
mov dword [r14], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
mov rcx, qword [0x180019630]
add rcx, 0x70
mov qword [0x180019640], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rdi, rdi
je 0x180008fd3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
test rsi, rsi
je 0x180008fe7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180001570
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret