Function at 0x10011a5c
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f7c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10011bfc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10011b0b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
push 8
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jbe 0x10011b06
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
mov dword [ebp - 0x40], ecx
push 1
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
call fcn.10011951
add esp, 0x18
jmp 0x10011bfa
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], 0x37a0
mov dword [ebp - 0x5c], 0x10007ffc
cmp dword [ebp - 0x30], 0x3991
jle 0x10011b8a
and dword [ebp - 0x1c], 0
jmp 0x10011b47
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3b18
jge 0x10011b8a
and dword [ebp - 0x20], 0
jmp 0x10011b5d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x586d
jge 0x10011b88
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x10607df8
call fcn.1002c3bf
jmp 0x10011b56
jmp 0x10011b40
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10011ba0
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 0x10011bba
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.1002c572
and dword [eax], 0
jmp 0x10011b95
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x36dc
jge 0x10011bd4
mov edx, dword [ebp - 0x5c]
mov ecx, 0x10607df8
call fcn.1002de69
jmp 0x10011bf0
or dword [ebp - 4], 0xffffffff
jmp 0x10011bfa
jmp 0x10011c6f
lea eax, [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10011c65
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10011c46
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 0x10011c63
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.1002c572
mov dword [eax], 0xd5357554
jmp 0x10011c3b
jmp 0x10011c6f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret