Function at 0x449ef0
Capabilities:
Query service status
Start service

Disassembly:
push 0xffffffffffffffff
push 0x4c5186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x56c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 1
mov esi, ecx
push ebx
push ebx
mov dword [esp + 0x1c], esi
mov dword [esi], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, ebx
mov dword [esp + 0x584], ebx
je 0x44a175
mov eax, 0x4f2fc0
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449f50
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x44]
call fcn.00401ab0
mov esi, dword [esp + 0x58c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push esi
push ecx
mov byte [esp + 0x590], 1
call fcn.00449210
mov ecx, dword [eax + 0x18]
mov ebx, 0x10
add esp, 0xc
cmp ecx, ebx
jb 0x449f9b
mov eax, dword [eax + 4]
jmp 0x449f9e
add eax, 4
push 0x14
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebp
jb 0x449fc1
mov edx, dword [esp + 0x24]
push edx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x54], ebx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jb 0x449fe9
mov eax, dword [esp + 0x40]
push eax
call fcn.00442830
add esp, 4
test ebp, ebp
je 0x44a171
mov dword [esp + 0x1c], 0xc8
lea esp, [esp]
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44a02e
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x44a079
cmp eax, 4
je 0x44a04b
dec dword [esp + 0x1c]
je 0x44a05e
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44a000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
mov dword [edx], eax
call esi
push edi
call esi
jmp 0x44a188
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
push edi
call esi
mov al, 1
jmp 0x44a18a
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
mov dword [eax], 0xfff3
call esi
push edi
call esi
jmp 0x44a188
mov eax, dword [esp + 0x590]
test eax, eax
jne 0x44a0a2
push eax
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x44a105
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x44a15d
cmp dword [esi + 0x18], ebx
jb 0x44a0ac
mov edx, dword [esi + 4]
jmp 0x44a0af
lea edx, [esi + 4]
lea esi, [esp + 0x58]
mov cl, byte [edx]
inc edx
mov byte [esi], cl
inc esi
test cl, cl
jne 0x44a0b3
mov ecx, dword [eax]
lea edx, [esp + 0x58]
mov dword [esp + 0x158], edx
xor edx, edx
test ecx, ecx
je 0x44a0ee
lea esi, [esp + 0x15c]
sub esi, eax
lea esp, [esp]
mov dword [esi + eax], ecx
mov ecx, dword [eax + 4]
add eax, 4
inc edx
test ecx, ecx
jne 0x44a0e0
lea eax, [esp + 0x158]
inc edx
push eax
mov dword [esp + edx*4 + 0x15c], 0
push edx
jmp 0x44a086
mov esi, 0x12c
lea ebx, [ebx]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x20]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44a091
mov eax, dword [esp + 0x24]
cmp eax, 4
je 0x44a13d
cmp eax, 2
jne 0x44a153
dec esi
jne 0x44a110
lea ecx, [esp + 0x14]
call fcn.00449120
lea ecx, [esp + 0x18]
call fcn.00449120
mov al, 1
jmp 0x44a18a
mov edx, dword [esp + 0x10]
mov dword [edx], 0xfff2
lea ecx, [esp + 0x14]
call fcn.00449120
lea ecx, [esp + 0x18]
call fcn.00449120
jmp 0x44a188
mov esi, dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov dword [esi], eax
je 0x44a188
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov ecx, dword [esp + 0x57c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x578
ret 8