Function at 0x61027953
Capabilities:
Query service status

Disassembly:
push 0x60
mov eax, 0x61040726
call fcn.6102aabe
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.610137c8
mov esi, dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.610119d1
push 0x61003b08
lea ecx, [ebp - 0x24]
call fcn.6100d970
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012357
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6101383b
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x610279d0
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.6100d179
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x61027a3b
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 6
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61008e20
push eax
call fcn.61017d5e
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.61026c56
push 0x610447ec
lea eax, [ebp - 0x34]
push eax
call fcn.6102b401
lea eax, [ebp - 0x28]
push eax
call fcn.61012902
mov byte [ebp - 4], 9
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6101383b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027a65
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x10], ebx
jne 0x61027ab0
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61008cf8
push eax
call fcn.61017d5e
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 0xc
jmp 0x61027a24
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.61011d01
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012357
mov byte [ebp - 4], 0xe
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6101383b
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027aee
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.6100d179
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x61027b69
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x38]
push eax
call fcn.61011c71
mov byte [ebp - 4], 0x10
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 0xc]
push 0x61008c98
push eax
call fcn.61017d5e
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
call fcn.6100d179
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 0x12
jmp 0x61027a24
lea eax, [ebp - 0x28]
push eax
call fcn.61012902
mov byte [ebp - 4], 0x13
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6101383b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027b93
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x10], ebx
jne 0x61027bde
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 0x14
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61008c28
push eax
call fcn.61017d5e
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 0x16
jmp 0x61027a24
lea ecx, [ebp - 0x18]
call fcn.6100d224
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x10]
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.61011c71
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x18]
call fcn.6100d722
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
call fcn.6100d179
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x61027c61
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 0x19
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61009138
push eax
call fcn.61017d5e
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 0x1b
jmp 0x61027a24
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012411
mov byte [ebp - 4], 0x1c
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6101383b
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027c91
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x61027cde
lea ecx, [ebp + 0xc]
call fcn.6100d224
mov byte [ebp - 4], 0x1d
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x610090c8
push eax
call fcn.61017d5e
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d24f
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c]
call fcn.61026c8d
mov byte [ebp - 4], 0x1f
jmp 0x61027a24
add eax, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.6100d722
push 0x610090a0
lea ecx, [ebp - 0x18]
call fcn.61017d95
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012357
mov byte [ebp - 4], 0x20
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6101383b
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027d27
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
jne 0x61027d4c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.6100d179
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
call fcn.6100cc28
mov dword [ebp - 0x10], ebx
jmp 0x61027f05
push 0x61009088
lea ecx, [ebp - 0x24]
call fcn.6100d970
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.610124c5
mov byte [ebp - 4], 0x22
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6101383b
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027d8e
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24]
call fcn.6100d179
cmp dword [ebp - 0x10], ebx
je 0x61027eea
lea ecx, [ebp - 0x50]
call fcn.6100cf81
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x10]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.61011c71
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], ebx
je 0x61027dd1
push eax
lea ecx, [ebp - 0x50]
call fcn.610155e9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.610121f5
mov byte [ebp - 4], 0x25
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6101383b
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61027dfe
call fcn.6100cc28
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d179
cmp dword [ebp - 0x10], ebx
jne 0x61027daf
push 0xe0000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x61027ede
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x61027ec7
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.61018bc4
push eax
lea ecx, [ebp - 0x24]
call fcn.6100d24f
mov byte [ebp - 4], 0x26
push 0x80000000
push dword [ebp - 0x24]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x61027e8b
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d179
cmp dword [ebp - 0x30], ebx
jne 0x61027e48
jmp 0x61027ec4
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
call edi
cmp dword [ebp - 0x20], 0xc
jne 0x61027ead
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x61027eb8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d179
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x20]
cmp dword [ebp - 0x28], ebx
jne 0x61027ed9
cmp dword [ebp - 0x20], 0xd
jb 0x61027e33
push dword [ebp - 0x38]
call edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x50]
call fcn.6100cfc3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.6100d179
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.6100cc28
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x61027f16
mov ecx, esi
call fcn.6100cc28
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.6100d179
call fcn.6102abaa
ret 8