Function at 0x430a80
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
or edi, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
test esi, esi
je 0x430aae
mov dword [esi], 0
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.0043cec0
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x430ad1
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043d300
add esp, 8
cmp dword [0x5fdc84], 0
mov ebx, dword [ebp + 8]
je 0x430c99
lea eax, [ebp + 4]
sub eax, 4
push ebx
push eax
call fcn.00420ed0
add esp, 8
push 0xf01ff
push dword [eax]
push dword [0x5fdc84]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push eax
call fcn.0053b430
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x430c99
mov ecx, dword [ebp - 0xc]
push ecx
push ecx
call fcn.0043d2a0
add esp, 4
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push eax
call fcn.0053b400
add esp, 4
test eax, eax
jne 0x430bc5
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x28f0]
test eax, eax
jne 0x430b5d
call fcn.00541542
mov ecx, dword [ebp - 0x10]
cmp dword [eax], 0x420
jne 0x430b88
cmp dword [0x601c94], 6
jl 0x430b81
push ebx
push str.service__s_already_running
push 0x550006
call fcn.00424230
add esp, 0xc
xor edi, edi
jmp 0x430c6f
test esi, esi
je 0x430b9f
mov eax, dword [ecx + 0x28f0]
test eax, eax
jne 0x430b9b
call fcn.00541542
mov eax, dword [eax]
mov dword [esi], eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0043d280
push dword [eax]
push ebx
push str.failed_start_service__s__s:__m
push 0x550003
call fcn.00424230
add esp, 0x18
jmp 0x430c6f
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push eax
call fcn.0053b400
add esp, 4
test eax, eax
jne 0x430bfe
push ebx
push str.failed_query_service_status__s:__m
push 0x550003
call fcn.00424230
add esp, 0xc
test eax, eax
jne 0x430c6f
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp - 0x30]
cmp eax, 4
je 0x430b81
cmp esi, 0xea60
jge 0x430c63
cmp edi, 0x1d4c0
jge 0x430c63
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x10]
call fcn.00431590
add esp, 0xc
test eax, eax
jne 0x430c6c
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jbe 0x430c45
xor esi, esi
mov dword [ebp - 0x10], eax
push 0
push 0x64
call fcn.00425cf0
mov eax, dword [ebp - 0x30]
add esp, 8
add esi, 0x64
add edi, 0x64
cmp eax, 4
jne 0x430c14
xor edi, edi
jmp 0x430c6f
cmp eax, 4
jne 0x430c6c
xor edi, edi
jmp 0x430c6f
or edi, 0xffffffff
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call fcn.0053b400
add esp, 4
test eax, eax
jne 0x430cac
push str.Failed_close_service_handle:__m
push 0x550003
call fcn.00424230
add esp, 8
jmp 0x430cac
push ebx
push str.service__s_doesnt_exist
push 0x550005
call fcn.00424230
add esp, 0xc
lea eax, [ebp - 4]
push eax
call fcn.0043d010
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x430ccf
push eax
call fcn.00541560
add esp, 4
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
call fcn.0043d2c0
add esp, 4
test edi, edi
je 0x430cf2
push ebx
push str.error_starting_service__s
push 0x550003
call fcn.00424230
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret