Function at 0x1010c6d0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014fc5b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x58], ebx
cmp dword [ecx + 0x38], 0x10
mov dword [ebp - 0x5c], eax
je 0x1010c716
mov al, 1
jmp 0x1010c95f
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x24
lea eax, [ebp - 0x54]
push eax
push 0
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1010c8f5
cmp dword [ebp - 0x38], ebx
je 0x1010c8f5
call fcn.1000af50
test eax, eax
jg 0x1010c7a6
push 0
push 0x26f
push str.RepairService_repair.cc
lea ecx, [ebp - 0x13c]
call fcn.1000afc0
push dword [ebp - 0x38]
add eax, 8
mov dword [ebp - 4], 1
push str.dwProcessId:
mov ebx, 2
push eax
mov dword [ebp - 0x58], ebx
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x1010c7bd
lea ecx, [ebp - 0x13c]
call fcn.1000b010
push dword [ebp - 0x38]
mov dword [ebp - 0x14], 0
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
xor esi, esi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1010c801
cmp edi, 0xffffffff
je 0x1010c801
mov dword [ebp - 0x14], edi
call fcn.10006540
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.100134c0
mov esi, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 4], 2
test esi, esi
je 0x1010c8be
cmp esi, 0xffffffff
je 0x1010c8be
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
push 0x104
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push 0x104
push eax
call fcn.1000fd90
add esp, 8
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x1010c863
lea ecx, [ebp - 0x30]
xor bl, bl
call fcn.1000baf0
mov esi, dword [ebp - 0x14]
jmp 0x1010c8c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000d260
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.1000d7b0
push dword [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
call fcn.1000ded0
add esp, 8
mov byte [ebp - 4], 4
test eax, eax
lea ecx, [ebp - 0x8c]
sete bl
call fcn.1000baf0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1000baf0
lea ecx, [ebp - 0x30]
call fcn.1000baf0
mov esi, dword [ebp - 0x14]
jmp 0x1010c8c0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1010c8f1
cmp esi, 0xffffffff
je 0x1010c8f1
call fcn.10006540
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
call fcn.10013580
push dword [ebp - 0x14]
call fcn.10013480
add esp, 0x14
mov al, bl
jmp 0x1010c95f
call fcn.1000af50
cmp eax, 2
jg 0x1010c946
push 2
push 0x26b
push str.RepairService_repair.cc
lea ecx, [ebp - 0x1ec]
call fcn.1000afc0
mov esi, eax
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.QueryServiceStatusEx_failed:
push eax
call fcn.100025d0
add esp, 8
mov ecx, eax
call fcn.100058d0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1010c95d
lea ecx, [ebp - 0x1ec]
call fcn.1000b010
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 4