Function at 0x10035af5
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f647
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10035bc2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10035b95
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x10035b85
mov dword [ebp - 0x3c], 0x56890c54
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
push 0x13de
call fcn.10032851
add esp, 0x10
jmp 0x10035b93
mov dword [ebp - 0x28], 0xfffc
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jmp 0x10035bbd
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
jmp 0x10035d42
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x2c], 0x23a1
mov dword [ebp - 0x58], 0x10008668
cmp dword [ebp - 0x2c], 0x2788
jle 0x10035c54
and dword [ebp - 0x1c], 0
jmp 0x10035bfe
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x76c3
jge 0x10035c4a
and dword [ebp - 0x20], 0
jmp 0x10035c14
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2ddc
jge 0x10035c48
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10617278
call fcn.10021772
jmp 0x10035c0d
jmp 0x10035bf7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x207a
jge 0x10035c74
mov edx, dword [ebp - 0x58]
mov ecx, 0x10617278
call fcn.10025ce5
jmp 0x10035c90
or dword [ebp - 4], 0xffffffff
jmp 0x10035c9a
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10035cf1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10035cd2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x10035cef
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.10021a50
mov dword [eax], 1
jmp 0x10035cc7
jmp 0x10035d42
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10035d22
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x10035d42
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.10021a50
mov dword [eax], 0xcdf9
jmp 0x10035d17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret