Function at 0x100071990
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x408
mov qword [rsp + 0x280], 0xfffffffffffffffe
lea rcx, [rsp + 0x60]
call fcn.100069bc0
nop
lea rcx, [rsp + 0x70]
call fcn.100069bc0
nop
lea rcx, [rsp + 0x68]
call fcn.100069bc0
nop
lea rcx, [rsp + 0x60]
call fcn.1000636e0
lea rcx, [rsp + 0x60]
call fcn.100053100
mov rdx, qword [rsp + 0x410]
mov rcx, rax
call fcn.10006a7e0
lea rdx, [0x10000c078]
lea rcx, [rsp + 0xf8]
call fcn.100018c00
nop
lea rcx, [rsp + 0x60]
call fcn.100053100
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.10006a8b0
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x290]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x100]
call fcn.10007f260
nop
lea rcx, [rsp + 0xf8]
call fcn.1000144b0
lea rcx, [rsp + 0x70]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x100071b5c
lea rcx, [rsp + 0x78]
call fcn.100014450
nop
mov rax, qword [rsp + 0x410]
mov r8, qword [rax]
lea rdx, [0x10000e560]
lea rcx, [rsp + 0x78]
call fcn.100015d50
lea rax, [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x130]
call fcn.1000148e0
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x2a0], rax
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x118]
call fcn.100070d90
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x108]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x118]
call fcn.10006a210
lea rcx, [rsp + 0x78]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x70]
call fcn.100053100
lea rdx, [rsp + 0x138]
mov rcx, rax
call fcn.10006b930
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x138]
call fcn.10007f260
lea rcx, [rsp + 0x68]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x100071ca7
lea rcx, [rsp + 0x80]
call fcn.100014450
nop
mov rax, qword [rsp + 0x410]
mov r8, qword [rax]
lea rdx, [0x10000e4d0]
lea rcx, [rsp + 0x80]
call fcn.100015d50
lea rax, [rsp + 0x160]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x168]
call fcn.1000148e0
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x2d0], rax
mov rdx, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x150]
call fcn.100070d90
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x140]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x140]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x150]
call fcn.10006a210
lea rcx, [rsp + 0x80]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x68]
call fcn.100053100
xor r8d, r8d
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.10006c960
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f0], rax
lea rcx, [rsp + 0x60]
call fcn.100053100
mov r8, qword [rsp + 0x2f0]
lea rdx, [rsp + 0x178]
mov rcx, rax
call fcn.10006a8b0
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x300]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x178]
call fcn.10007f260
nop
lea rcx, [rsp + 0x170]
call fcn.1000144b0
lea rcx, [rsp + 0x70]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x100071e8e
lea rcx, [rsp + 0x88]
call fcn.100014450
nop
lea rcx, [rsp + 0x68]
call fcn.100053100
mov r8d, 1
lea rdx, [rsp + 0x180]
mov rcx, rax
call fcn.10006c700
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x410]
mov r9, qword [rax]
mov rax, qword [rsp + 0x310]
mov r8, qword [rax]
lea rdx, [0x10000e470]
lea rcx, [rsp + 0x88]
call fcn.100015d50
nop
lea rcx, [rsp + 0x180]
call fcn.1000144b0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x1b0]
call fcn.1000148e0
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x320], rax
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x198]
call fcn.100070d90
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x188]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x188]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x198]
call fcn.10006a210
lea rcx, [rsp + 0x88]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x70]
call fcn.100053100
lea rdx, [rsp + 0x1b8]
mov rcx, rax
call fcn.10006b930
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x340], rax
mov rcx, qword [rsp + 0x340]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x1b8]
call fcn.10007f260
lea rcx, [rsp + 0x68]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x100071fd9
lea rcx, [rsp + 0x90]
call fcn.100014450
nop
mov rax, qword [rsp + 0x410]
mov r8, qword [rax]
lea rdx, [0x10000e400]
lea rcx, [rsp + 0x90]
call fcn.100015d50
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x1e8]
call fcn.1000148e0
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x350], rax
mov rdx, qword [rsp + 0x350]
lea rcx, [rsp + 0x1d0]
call fcn.100070d90
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0x1c0]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x1c0]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x1d0]
call fcn.10006a210
lea rcx, [rsp + 0x90]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x58]
call fcn.100014450
nop
lea rcx, [rsp + 0x68]
call fcn.100053100
mov r8d, 1
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.10006c700
mov qword [rsp + 0x368], rax
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x370], rax
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x58]
call fcn.100015fc0
nop
lea rcx, [rsp + 0x1f0]
call fcn.1000144b0
lea rcx, [rsp + 0x58]
call fcn.100013fb0
movzx eax, al
test eax, eax
je 0x10007212d
lea rcx, [rsp + 0x98]
call fcn.100014450
nop
mov rax, qword [rsp + 0x410]
mov r8, qword [rax]
lea rdx, [0x10000ed70]
lea rcx, [rsp + 0x98]
call fcn.100015d50
lea rax, [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x220]
call fcn.1000148e0
mov qword [rsp + 0x378], rax
mov rax, qword [rsp + 0x378]
mov qword [rsp + 0x380], rax
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x208]
call fcn.100070d90
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x390], rax
mov rdx, qword [rsp + 0x390]
lea rcx, [rsp + 0x1f8]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x1f8]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x208]
call fcn.10006a210
lea rcx, [rsp + 0x98]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x60]
call fcn.100053100
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x228]
mov rcx, rax
call fcn.10006aa60
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x3a0], rax
mov rcx, qword [rsp + 0x3a0]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x228]
call fcn.10007f260
lea rcx, [rsp + 0x70]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x10007227d
lea rcx, [rsp + 0xa0]
call fcn.100014450
nop
mov rax, qword [rsp + 0x410]
mov r8, qword [rax]
lea rdx, [0x10000ed00]
lea rcx, [rsp + 0xa0]
call fcn.100015d50
lea rax, [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x258]
call fcn.1000148e0
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0x240]
call fcn.100070d90
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rdx, qword [rsp + 0x3c0]
lea rcx, [rsp + 0x230]
call fcn.10006f9e0
lea rdx, [0x1000a58c8]
lea rcx, [rsp + 0x230]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x240]
call fcn.10006a210
lea rcx, [rsp + 0xa0]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x70]
call fcn.100053100
mov rcx, rax
call fcn.100064e60
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.100015fc0
lea rdx, [0x10000ecd0]
lea rcx, [rsp + 0x58]
call fcn.100015e80
lea rcx, [rsp + 0x60]
call fcn.100053100
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x260]
mov rcx, rax
call fcn.10006a8b0
mov qword [rsp + 0x3c8], rax
mov rax, qword [rsp + 0x3c8]
mov qword [rsp + 0x3d0], rax
mov rcx, qword [rsp + 0x3d0]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x260]
call fcn.10007f260
lea rcx, [rsp + 0x70]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x10007235b
lea rcx, [rsp + 0x58]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x68]
call fcn.10007f260
nop
lea rcx, [rsp + 0x70]
call fcn.10007f260
nop
lea rcx, [rsp + 0x60]
call fcn.10007f260
nop
mov rcx, qword [rsp + 0x410]
call fcn.1000144b0
jmp 0x1000726df
lea rdx, [0x10000ecb8]
lea rcx, [rsp + 0x268]
call fcn.100018c00
nop
lea rcx, [rsp + 0x70]
call fcn.100053100
lea r8, [rsp + 0x268]
lea rdx, [rsp + 0x270]
mov rcx, rax
call fcn.10006bb70
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
mov qword [rsp + 0x3e0], rax
mov rcx, qword [rsp + 0x3e0]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x270]
call fcn.10007f260
nop
lea rcx, [rsp + 0x268]
call fcn.1000144b0
lea rcx, [rsp + 0x68]
call fcn.1000639a0
movzx eax, al
test eax, eax
je 0x10007242f
lea rcx, [rsp + 0x58]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x68]
call fcn.10007f260
nop
lea rcx, [rsp + 0x70]
call fcn.10007f260
nop
lea rcx, [rsp + 0x60]
call fcn.10007f260
nop
mov rcx, qword [rsp + 0x410]
call fcn.1000144b0
jmp 0x1000726df
lea rcx, [rsp + 0x28]
call fcn.1000141d0
nop
lea rcx, [rsp + 0x68]
call fcn.100053100
mov r8d, 1
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.10006c700
nop
lea rcx, [rsp + 0xa8]
call fcn.100013fb0
movzx eax, al
test eax, eax
jne 0x100072489
lea rcx, [rsp + 0xa8]
call fcn.100013bb0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.10001c640
lea rcx, [rsp + 0x68]
call fcn.100053100
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.10006c560
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x3f0], rax
mov rcx, qword [rsp + 0x3f0]
call fcn.100053100
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.10005b5a0
nop
lea rcx, [rsp + 0x278]
call fcn.10007f260
nop
lea rcx, [rsp + 0xa8]
call fcn.1000144b0
lea rcx, [rsp + 0x68]
call fcn.1000639e0
movzx eax, al
test eax, eax
jne 0x10007243a
mov qword [rsp + 0x20], 0
mov r8d, 0xe0000000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x10007268b
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xb0], 1
lea rcx, [rsp + 0x28]
call fcn.100013bb0
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x100072657
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x28]
call fcn.100013bc0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1000148e0
nop
mov dword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0xd0]
call fcn.100013bb0
mov r8d, 0x80000000
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x100072645
mov dword [rsp + 0xb0], 0
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0xc0], 0xc
jne 0x10007262a
mov rax, qword [rsp + 0x418]
mov dword [rax], 1
jmp 0x100072636
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0xd0]
call fcn.1000144b0
jmp 0x100072657
lea rcx, [rsp + 0xd0]
call fcn.1000144b0
jmp 0x100072564
mov eax, dword [rsp + 0xc0]
inc eax
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xb0], 0
jne 0x10007267f
cmp dword [rsp + 0xc0], 0xd
jb 0x100072552
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x28]
call fcn.100014300
nop
lea rcx, [rsp + 0x58]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x68]
call fcn.10007f260
nop
lea rcx, [rsp + 0x70]
call fcn.10007f260
nop
lea rcx, [rsp + 0x60]
call fcn.10007f260
nop
mov rcx, qword [rsp + 0x410]
call fcn.1000144b0
jmp 0x1000726df
add rsp, 0x408
ret