Function at 0x1000eb84
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069ba4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000ebcc
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000ebc7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1000ee35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x30], 0x687b
mov dword [ebp - 0x98], 0x100078b0
cmp dword [ebp - 0x30], 0x6a2c
jle 0x1000ecab
and dword [ebp - 0x28], 0
jmp 0x1000ec1e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc17
jge 0x1000ecab
and dword [ebp - 0x1c], 0
jmp 0x1000ec38
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x753d
jge 0x1000eca6
and dword [ebp - 0x20], 0
jmp 0x1000ec4e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1c00
jge 0x1000eca4
and dword [ebp - 0x24], 0
jmp 0x1000ec64
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1f88
jge 0x1000eca2
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x1c]
imul edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0x10612038
call fcn.1000c022
jmp 0x1000ec5d
jmp 0x1000ec47
jmp 0x1000ec31
jmp 0x1000ec17
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x680e
jge 0x1000ecd1
mov edx, dword [ebp - 0x98]
mov ecx, 0x10612038
call fcn.1000e0f4
jmp 0x1000eced
or dword [ebp - 4], 0xffffffff
jmp 0x1000ecf7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jl 0x1000ed62
mov dword [ebp - 0x38], 1
jmp 0x1000ed66
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x60]
mov dword [eax], 0x28bf2fea
cmp dword [ebp - 0x38], 0x28bf2fea
jl 0x1000ed81
mov dword [ebp - 0x48], 1
jmp 0x1000ed85
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
inc eax
cmp eax, 0x5954a437
jle 0x1000ed99
mov dword [ebp - 0x40], 1
jmp 0x1000ed9d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
je 0x1000edb0
mov dword [ebp - 0x34], 1
jmp 0x1000edb4
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
je 0x1000edc7
mov dword [ebp - 0x44], 1
jmp 0x1000edcb
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
add edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
imul esi, edx
mov edx, 0x149f
sub edx, esi
add edx, dword [ecx]
cmp edx, dword [eax]
jne 0x1000edfc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1000edfc
and dword [ebp - 0x2c], 0
jmp 0x1000ee03
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x1000ee26
mov eax, dword [ebp - 0x80]
cmp dword [eax], 0
je 0x1000ee26
mov dword [ebp - 0x4c], 1
jmp 0x1000ee2a
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret