Function at 0x8615fb
Capabilities:
Query service status

Disassembly:
push 0x70
push 0x8617a0
call fcn.008617fb
mov dword [ebp - 0x1c], 0x57
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x80], esi
push 0x38
push esi
lea eax, [ebp - 0x7c]
push eax
call fcn.008617f5
add esp, 0xc
mov dword [ebp - 0x44], esi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov esi, 0x8750c0
mov edi, 0x8617bc
mov ebx, dword [fcn.008613ac]
push 1
push 0x861780
push 0
call dword [0x8750a0]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x869c4d
push 4
push dword [ebp + 8]
push eax
call dword [0x8750a4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x869b0b
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [0x875008]
test eax, eax
je 0x869b3c
test dword [ebp - 0x40], 4
jne 0x861742
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x8616c2
test byte [eax + 0x1c], 1
je 0x8616c2
cmp byte [eax + 0x19], 4
jb 0x8616c2
push dword [ebp + 0xc]
push edi
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00862f89
push 2
pop ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0x862253
lea eax, [ebp - 0x80]
push eax
push 8
push dword [ebp - 0x20]
call dword [0x8750b0]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x869b6d
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x86170c
test byte [eax + 0x1c], 1
je 0x86170c
cmp byte [eax + 0x19], 4
jb 0x86170c
push edi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.008615b6
push 1
push dword [ebp + 0xc]
call dword [0x8612ac]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x869b98
cmp eax, 0xc0
jne 0x869bca
mov ecx, dword [ebp - 0x74]
test ecx, ecx
jne 0x869bf5
cmp dword [ebp - 0x6c], 4
jne 0x869c1e
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861765
test byte [eax + 0x1c], 1
je 0x861765
cmp byte [eax + 0x19], 4
jb 0x861765
push edi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.008615b6
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.008617d1
mov eax, dword [ebp - 0x1c]
call fcn.008615e2
ret 8
call ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], 2
jb 0x861769
push dword [ebp - 0x1c]
push edi
push 0x12
jmp 0x869c83
call ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], 2
jb 0x861769
push dword [ebp - 0x1c]
push edi
push 0x13
jmp 0x869c83
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], bl
jb 0x861769
push dword [ebp - 0x1c]
push edi
push 0x15
jmp 0x869c83
mov dword [ebp - 0x1c], 0x5b4
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], bl
jb 0x861769
push dword [ebp + 0xc]
push edi
push 0x17
jmp 0x869c83
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], bl
jb 0x861769
push dword [ebp - 0x1c]
push edi
push 0x18
jmp 0x869c83
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], bl
jb 0x861769
push ecx
push edi
push 0x19
jmp 0x869c83
mov dword [ebp - 0x1c], 0x5b4
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], bl
jb 0x861769
push dword [ebp - 0x6c]
push edi
push 0x1a
jmp 0x869c83
call ebx
mov dword [ebp - 0x1c], eax
mov eax, 0x5b4
cmp dword [ebp - 0x1c], eax
je 0x869c93
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x861769
test byte [eax + 0x1c], 1
je 0x861769
cmp byte [eax + 0x19], 2
jb 0x861769
push dword [ebp - 0x1c]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00862f89
jmp 0x861769
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x24], ecx
jbe 0x869ca3
mov dword [ebp - 0x1c], eax
jmp 0x861769
mov eax, dword [0x8750c0]
cmp eax, esi
je 0x869cc7
test byte [eax + 0x1c], 1
je 0x869cc7
cmp byte [eax + 0x19], 4
jb 0x869cc7
push ecx
push edi
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00862f89
push 0x64
call dword [fcn.008612b8]
add dword [ebp - 0x24], 0x64
jmp 0x86164b