Function at 0x444df0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d11ee
mov eax, dword fs:[0]
push eax
sub esp, 0x6f8
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push 1
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x4452ef
cmp dword [0x689c94], 7
mov eax, 0x689c80
cmova eax, dword [0x689c80]
or esi, 4
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x445311
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x444eab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x689c80
push 0x2b
push str.Unable_to_query_status_of_the_service__
jmp 0x445323
cmp dword [0x689c94], 7
mov ecx, 0x689c80
mov eax, dword [0x689c90]
cmova ecx, dword [0x689c80]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x6c]
push eax
call fcn.00444480
cmp dword [ebp - 0x58], 7
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmova eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x298]
push eax
call fcn.0043b480
add esp, 0xc
lea eax, [ebp - 0x298]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4d4]
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x294]
push eax
call fcn.0043b6f0
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 1
mov byte [ebp - 4], 4
call fcn.00456770
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 0x29d], al
call fcn.0043b3f0
cmp byte [ebp - 0x29d], 0
je 0x444f6c
mov byte [ebp - 0x28], 1
jmp 0x44517a
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x4d4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x294]
movlpd qword [ebp - 0x18], xmm0
push eax
call fcn.0043b6f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x700]
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x704], eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.0043b6f0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4e0], 2
lea edx, [ebp - 0x704]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x29c]
call fcn.004565a0
mov byte [ebp - 0x14], 1
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x445022
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x445022
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x29c], 0
cmp eax, 7
jbe 0x44504c
mov edx, dword [ebp - 0x4f8]
lea ecx, [ebp - 0x4fc]
push eax
call fcn.0043b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x4e8], 0
mov word [ebp - 0x4f8], ax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x4e4], 7
cmp eax, 7
jbe 0x445089
mov edx, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2cc]
push eax
call fcn.0043b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 9
push eax
sub esp, 8
mov dword [ebp - 0x29c], 1
mov eax, esp
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x580]
mov dword [eax], str.ErrorControl
mov dword [eax + 4], 0xc
call fcn.00445830
add esp, 0xc
lea ecx, [ebp - 0x580]
call fcn.00444d50
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 3
push eax
sub esp, 8
lea edx, [ebp - 0x18]
mov eax, esp
lea ecx, [ebp - 0x580]
mov dword [eax], str.Start
mov dword [eax + 4], 5
call fcn.00445830
add esp, 0xc
lea ecx, [ebp - 0x580]
call fcn.00444d50
lea eax, [ebp - 0x4c]
push eax
sub esp, 8
lea edx, [ebp - 0x18]
mov eax, esp
lea ecx, [ebp - 0x580]
mov dword [eax], str.Type
mov dword [eax + 4], 4
call fcn.00445830
add esp, 0xc
lea ecx, [ebp - 0x580]
call fcn.00444d50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x44517a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x44517a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp + 0xc]
je 0x445212
cmp eax, dword [ebp + 0x10]
je 0x445212
mov eax, dword [ebp + 8]
test eax, eax
je 0x4451ce
lea ecx, [ebp - 0x4c]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x445212
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x33
push str.Unable_to_send_control_code__to_the_service__
push eax
lea ecx, [ebp - 0x20]
call fcn.00445910
push 0x68501c
lea eax, [ebp - 0x20]
jmp 0x445334
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x445212
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x445212
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x689c80
push 0x21
push str.Unable_to_start_the_service__
push eax
lea ecx, [ebp - 0x20]
call fcn.00445730
push 0x68501c
lea eax, [ebp - 0x20]
jmp 0x445334
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x28], 0
jne 0x445230
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], eax
call fcn.00445a10
mov eax, dword [ebp - 0x78]
cmp eax, 7
jbe 0x44524d
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x90]
push eax
call fcn.0043b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 1
call fcn.00428f60
xor eax, eax
mov dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
je 0x445284
jae 0x4452b2
cmp eax, 0xffffff9b
jae 0x4452b2
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x48], eax
je 0x4452c4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x444e94
mov eax, dword [ebp - 0x29c]
add eax, 0x64
jmp 0x445272
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x4452d4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
push str.Unable_to_open_the_service_control_manager_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042b180
push 0x68501c
lea eax, [ebp - 0x30]
push eax
call fcn.00599dcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x689c80
push 0x20
push str.Unable_to_open_the_service__
push eax
lea ecx, [ebp - 0x30]
call fcn.00445730
push 0x68501c
lea eax, [ebp - 0x30]
push eax
call fcn.00599dcb
int3