Function at 0x10006ab0
Capabilities:
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1004f100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push ebx
xor edi, edi
push str.SvcStart_Name:_s_..
mov dword [ebp - 0x18], edi
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 8
push 0xf003f
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp eax, edi
jne 0x10006b3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1001af90
push esi
push str.OpenSCManager_failed__error_code:__08x
mov ecx, eax
call fcn.1001b4f0
add esp, 8
push 0x10049464
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10028c35
push 0xf01ff
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x10006b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1001af90
push esi
push ebx
push str.OpenService__s__failed__error_code:__08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], esi
call fcn.10028c35
test byte [ebp + 0xc], 4
je 0x10006bf3
lea edx, [ebp - 0x14]
push edx
push esi
mov dword [ebp - 0x14], 0
call fcn.10006490
mov edi, eax
add esp, 8
test edi, edi
je 0x10006bb0
call fcn.1001af90
push edi
push ebx
push str.StartService__s__SvcGetStartConfigWithHandle_Failed__error_code:__08x
jmp 0x10006be9
cmp dword [ebp - 0x14], 2
je 0x10006bf3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x10006bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1001af90
push edi
push ebx
push str.StartService_ChangeServiceConfig__s_failed_cur:_d_error_code:__08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10006ca2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1001af90
push esi
push ebx
push str.StartService__s__failed__rlt_code:__08x
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
cmp esi, 0x420
jne 0x10006c45
call fcn.1001af90
push ebx
push str.StartService__s_services_status_ERROR_SERVICE_ALREADY_RUNNING___change_to_SUCCESS
mov ecx, eax
call fcn.1001b3f0
add esp, 8
xor esi, esi
jmp 0x10006c5f
test esi, esi
je 0x10006c5f
call fcn.1001af90
push esi
push ebx
push str.StartService__s__failed__error_code:__08x
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], esi
call fcn.10028c35
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x10006c83
ret
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10006cb4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10006cc2
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
push edi
push str.SvcStart_Rlt:_08x___Name:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret