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

Disassembly:
push 0x30
mov eax, 0x4c017f
call fcn.0048f706
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x20000000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x44e91e
xor al, al
jmp 0x44eb1a
push 0x14
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x44e937
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44e917
push 0x1c
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00490cd0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44e95d
cmp dword [ebp - 0x28], 4
jne 0x44e96e
mov bl, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x44eb18
lea ecx, [ebp - 0x38]
call fcn.004026b1
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
push 0x4d8688
push eax
call fcn.00402a35
pop ecx
pop ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00401270
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.0043ed25
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.StartService___1
call fcn.004012a3
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
call fcn.0043ed25
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.004012a3
mov byte [ebp - 4], 3
mov byte [ebp - 4], bl
call fcn.0043ed25
pop ecx
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44ea43
mov eax, ebx
mov dword [ebp - 0x30], eax
cmp eax, 0x190
jge 0x44ea43
cmp dword [ebp - 0x28], 4
je 0x44ea78
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x4d876c
call fcn.004012a3
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
call fcn.0043ed25
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 0x44e9fc
push ebx
push ebx
push str.config_Winmgmt_start_auto
push 0x4c5afc
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.004012a3
mov byte [ebp - 4], 7
mov byte [ebp - 4], bl
call fcn.0043ed25
jmp 0x44eaed
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService_Completed_:_SERVICE_RUNNING
call fcn.004012a3
mov byte [ebp - 4], 4
jmp 0x44eb36
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService___2
call fcn.004012a3
mov byte [ebp - 4], 8
mov byte [ebp - 4], bl
call fcn.0043ed25
pop ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp dword [ebp - 0x30], 0xa
jge 0x44eafd
cmp dword [ebp - 0x28], 4
je 0x44eb22
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x4d876c
call fcn.004012a3
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], bl
call fcn.0043ed25
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 0x44ea91
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.00401fe9
mov al, bl
call fcn.0048f6b5
ret 8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.StartService_Completed_:_SERVICE_RUNNING
call fcn.004012a3
mov byte [ebp - 4], 9
mov byte [ebp - 4], bl
call fcn.0043ed25
pop ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor ebx, ebx
inc ebx
jmp 0x44eb09