Function at 0x61028113
Capabilities:
Query service status

Disassembly:
push 0x60
mov eax, 0x6104118c
call fcn.6102b2d6
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.61013d72
mov esi, dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.61012091
push 0x61003b04
lea ecx, [ebp - 0x24]
call fcn.6100dfda
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012a18
mov byte [ebp - 4], 5
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6102196c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61028190
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.6100d793
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x610281fb
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 6
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x610090e0
push eax
call fcn.6101824b
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.61027412
push 0x61045230
lea eax, [ebp - 0x34]
push eax
call fcn.6102bc21
lea eax, [ebp - 0x28]
push eax
call fcn.61012fc3
mov byte [ebp - 4], 9
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6102196c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61028225
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x10], ebx
jne 0x61028270
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61008fb8
push eax
call fcn.6101824b
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 0xc
jmp 0x610281e4
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.610123c2
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012a18
mov byte [ebp - 4], 0xe
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6102196c
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x610282ae
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.6100d793
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x61028329
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x38]
push eax
call fcn.61012332
mov byte [ebp - 4], 0x10
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp + 0xc]
push 0x61008f58
push eax
call fcn.6101824b
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
call fcn.6100d793
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 0x12
jmp 0x610281e4
lea eax, [ebp - 0x28]
push eax
call fcn.61012fc3
mov byte [ebp - 4], 0x13
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6102196c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61028353
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x10], ebx
jne 0x6102839e
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 0x14
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61008ee8
push eax
call fcn.6101824b
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 0x16
jmp 0x610281e4
lea ecx, [ebp - 0x18]
call fcn.6100d83e
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.61012332
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x18]
call fcn.6100dd8c
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
call fcn.6100d793
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x61028421
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 0x19
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x610093f8
push eax
call fcn.6101824b
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 0x1b
jmp 0x610281e4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012ad2
mov byte [ebp - 4], 0x1c
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6102196c
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x61028451
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x6102849e
lea ecx, [ebp + 0xc]
call fcn.6100d83e
mov byte [ebp - 4], 0x1d
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push 0x61009388
push eax
call fcn.6101824b
pop ecx
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.6100d869
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c]
call fcn.61027449
mov byte [ebp - 4], 0x1f
jmp 0x610281e4
add eax, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.6100dd8c
push 0x61009360
lea ecx, [ebp - 0x18]
call fcn.61018282
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.61012a18
mov byte [ebp - 4], 0x20
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6102196c
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x610284e7
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
jne 0x6102850c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.6100d793
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
call fcn.6100d0cb
mov dword [ebp - 0x10], ebx
jmp 0x610286c5
push 0x61009348
lea ecx, [ebp - 0x24]
call fcn.6100dfda
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.61012b86
mov byte [ebp - 4], 0x22
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6102196c
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x6102854e
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24]
call fcn.6100d793
cmp dword [ebp - 0x10], ebx
je 0x610286aa
lea ecx, [ebp - 0x50]
call fcn.6100d565
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x10]
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.61012332
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], ebx
je 0x61028591
push eax
lea ecx, [ebp - 0x50]
call fcn.61015b13
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.610128b6
mov byte [ebp - 4], 0x25
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.6102196c
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x610285be
call fcn.6100d0cb
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d793
cmp dword [ebp - 0x10], ebx
jne 0x6102856f
push 0xe0000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x6102869e
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x61028687
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.6101e793
push eax
lea ecx, [ebp - 0x24]
call fcn.6100d869
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 0x6102864b
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d793
cmp dword [ebp - 0x30], ebx
jne 0x61028608
jmp 0x61028684
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 0x6102866d
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x61028678
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x24]
call fcn.6100d793
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x20]
cmp dword [ebp - 0x28], ebx
jne 0x61028699
cmp dword [ebp - 0x20], 0xd
jb 0x610285f3
push dword [ebp - 0x38]
call edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x50]
call fcn.6100d5a3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.6100d793
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.6100d0cb
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x610286d6
mov ecx, esi
call fcn.6100d0cb
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.6100d793
call fcn.6102b3c2
ret 8