Function at 0x10035afe
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10035b23
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 1
call fcn.10035cb0
pop ecx
pop ecx
jmp 0x10035cac
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10035b72
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10035b6d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10035cac
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10011cc6
push 1
mov ecx, dword [ebp - 8]
call fcn.10011cc6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10011cc6
push 3
mov ecx, dword [ebp - 8]
call fcn.10011cc6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10035c05
mov dword [ebp - 0x14], 1
jmp 0x10035c09
and dword [ebp - 0x14], 0
push 3
mov ecx, dword [ebp - 8]
call fcn.10011cc6
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jle 0x10035c23
mov dword [ebp - 0x18], 1
jmp 0x10035c27
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
neg eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jge 0x10035c3c
mov dword [ebp - 0x60], 1
jmp 0x10035c40
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10011cc6
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.10011cc6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, 0x2fc257a1
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jge 0x10035c80
mov dword [ebp - 0x20], 1
jmp 0x10035c84
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0xf199314e
jbe 0x10035ca0
mov dword [ebp - 0x24], 1
jmp 0x10035ca4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret