Function at 0x66e11550
Capabilities:
Query service status
Start service

Disassembly:
push 0xffffffffffffffff
push 0x66f77ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x66fe31a0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x66fe31a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x8c]
mov al, byte [eax + 0x2d]
test al, al
je 0x66e116d3
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push eax
lea ecx, [esp + 0x1c]
call fcn.66e12890
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
test edi, edi
jne 0x66e115ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x66feb0e0
push edi
cmp eax, 5
je 0x66e115dc
push 0x477ffff
call fcn.66e09730
mov bl, al
jmp 0x66e117dd
push 0x47503ef
call fcn.66e09730
mov bl, al
jmp 0x66e117dd
mov ecx, dword [esi + 0x8c]
add ecx, 4
push 0x14
call fcn.66e13a40
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
lea ecx, [esp + 0x14]
call fcn.66e12890
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 1
test eax, eax
jne 0x66e11642
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x66feb0e0
push 0
cmp eax, 5
je 0x66e11638
push 0x48a03ea
jmp 0x66e117c8
push 0x48503ef
jmp 0x66e117c8
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x66e11772
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x422
ja 0x66e116ff
je case.0x66e11712.1072
cmp eax, 5
ja 0x66e116a2
je 0x66e11696
sub eax, 2
je 0x66e1168a
dec eax
jne case.0x66e11712.1069
push eax
push 0x4b003ed
jmp 0x66e117c3
push 0
push 0x4b203ed
jmp 0x66e117c3
push 0
push 0x4ae03ef
jmp 0x66e117c3
cmp eax, 0x13d
je 0x66e116f3
cmp eax, 0x420
jne case.0x66e11712.1069
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.66e128b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.66e128b0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.66f2a29c
add esp, 0x3c
ret
push 0
push 0x4b803e9
jmp 0x66e117c3
sub eax, 0x42c
cmp eax, 0xee
ja case.0x66e11712.1069
movzx eax, byte [eax + 0x66e1180c]
jmp dword [eax*4 + 0x66e117f8]
mov ecx, dword [esi + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x66e11736
push 0
push 0x49f03ea
jmp 0x66e117c3
mov eax, dword [esi + 0x8c]
mov al, byte [eax + 0x2c]
test al, al
je 0x66e116b4
xor bl, bl
jmp 0x66e117cf
push 0
push 0x4b403e9
jmp 0x66e117c3
push 0
push 0x4b603e9
jmp 0x66e117c3
push 0
push 0x4ba03e9
jmp 0x66e117c3
push 0
push 0x4bd03e9
jmp 0x66e117c3
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call edi
xor esi, esi
cmp dword [esp + 0x24], 4
je 0x66e116b4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call edi
push 0xc8
call ebx
mov eax, esi
inc esi
cmp eax, 0x64
jg 0x66e117bc
cmp dword [esp + 0x24], 4
jne 0x66e11796
jmp 0x66e116b4
push 0
push 0x4d703ed
mov ecx, 0x66feb0e0
call fcn.66e09730
mov bl, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.66e128b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.66e128b0
mov al, bl
jmp 0x66e116d5