Function at 0x100f723
Capabilities:
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x102c22c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [esi + 0xc], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
je 0x100f77c
lea eax, [esi + 0x10]
push eax
push 4
push dword [esi]
push edi
call fcn.01017d5a
cmp eax, ebx
mov dword [ebp - 0x210], eax
je 0x100f77c
mov dword [esi + 0xc], ebx
push 0xe0000000
push dword [esi]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0x214], eax
mov edi, 0x107f8a0
jne 0x100f7b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1002940
call fcn.01015c5a
pop ecx
pop ecx
jmp 0x100f884
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0xf0b3
push ebx
call fcn.0100e2c5
push dword [esi + 4]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
cmp dword [ebp - 0x218], ebx
je 0x100f80a
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x10017c8
push 0x411
push dword [ebp - 0x218]
call ebx
push edi
push 0x411
push dword [ebp - 0x218]
call ebx
push edi
call fcn.01015c42
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x214]
mov dword [esi + 8], 1
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x100f84d
push dword [ebp - 0x210]
push 0x1002910
call fcn.01015c5a
pop ecx
pop ecx
call ebx
jmp 0x100f931
mov eax, dword [ebp - 0x238]
cmp eax, 1
jne 0x100f864
and dword [ebp - 0x210], 0
jmp 0x100f944
cmp eax, 4
je 0x100f8e4
cmp eax, 7
je 0x100f8e4
mov dword [ebp - 0x210], 0x4c7
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esi]
mov edx, edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x100f888
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [esi]
mov dword [ebp - 0x21c], 0xfffa
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_GetServiceDisplayNameA]
push dword [ebp - 0x210]
mov esi, 0x108f8a0
push edi
push 0x10028e0
push esi
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x10
push esi
call fcn.01015c42
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.0101439a
leave
ret 0xc
mov dword [esi + 8], eax
lea eax, [ebp - 0x23c]
push eax
push 1
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x100f917
call ebx
push eax
push 0x10028b4
mov dword [ebp - 0x210], eax
call fcn.01015c5a
pop ecx
pop ecx
jmp 0x100f937
push dword [0x102c910]
lea eax, [ebp - 0x23c]
push 1
push eax
push dword [ebp - 0x214]
call fcn.01017c5a
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x100f878
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x100f978
push eax
push 0x1002910
call fcn.01015c5a
pop ecx
pop ecx
call ebx
test eax, eax
mov dword [ebp - 0x210], eax
jne 0x100f878
cmp dword [ebp - 0x238], 1
jne 0x100f878
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100f8d3