Function at 0x44046b
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push 0x30
mov eax, 0x4b765a
call fcn.00487ec7
push 0x20000000
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x440493
xor al, al
jmp 0x440693
push 0x14
push str.Winmgmt
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4404b0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44048c
push 0x1c
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00488da0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4404d6
cmp dword [ebp - 0x28], 4
jne 0x4404e7
mov bl, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x440691
lea ecx, [ebp - 0x38]
call fcn.0040364a
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
push str.sStatus.dwCurrentState:_08X
push eax
call fcn.00403636
pop ecx
pop ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00401f6f
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.0043bfae
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.StartService___1
call fcn.00402306
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
call fcn.0043bfae
pop ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.QueryServiceStatus___1
call fcn.00402306
mov byte [ebp - 4], 3
mov byte [ebp - 4], bl
call fcn.0043bfae
pop ecx
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4405bc
mov eax, ebx
mov dword [ebp - 0x30], eax
cmp eax, 0x190
jge 0x4405bc
cmp dword [ebp - 0x28], 4
je 0x4405f1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4da54c
call fcn.00402306
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
call fcn.0043bfae
add dword [ebp - 0x30], 0x64
lea eax, [ebp - 0x2c]
pop ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov eax, dword [ebp - 0x30]
jne 0x440575
push ebx
push ebx
push str.config_Winmgmt_start_auto
push 0x4c947c
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.QueryServiceStatus___2
mov dword [ebp - 0x30], ebx
call fcn.00402306
mov byte [ebp - 4], 7
mov byte [ebp - 4], bl
call fcn.0043bfae
jmp 0x440666
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService_Completed_:_SERVICE_RUNNING
call fcn.00402306
mov byte [ebp - 4], 4
jmp 0x4406af
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService___2
call fcn.00402306
mov byte [ebp - 4], 8
mov byte [ebp - 4], bl
call fcn.0043bfae
pop ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp dword [ebp - 0x30], 0xa
jge 0x440676
cmp dword [ebp - 0x28], 4
je 0x44069b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x4da54c
call fcn.00402306
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
call fcn.0043bfae
inc dword [ebp - 0x30]
pop ecx
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x44060a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040259b
mov al, bl
call fcn.00487e76
ret 8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService_Completed_:_SERVICE_RUNNING
call fcn.00402306
mov byte [ebp - 4], 9
mov byte [ebp - 4], bl
call fcn.0043bfae
pop ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor ebx, ebx
inc ebx
jmp 0x440682