Function at 0x44db14
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x38], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 0x420274
push 4
xor edi, edi
pop esi
mov dword [ebp - 0x30], eax
inc edi
call fcn.00440126
pop ecx
pop ecx
test ebx, ebx
je 0x44db61
push 0x420290
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x44db61
xor ebx, ebx
push 0xf003f
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x44db7d
xor edi, edi
jmp 0x44dd17
push 0xf01ff
push dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x44db9d
xor edi, edi
inc edi
jmp 0x44dcf9
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x44dc8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44dbbf
push 0x57
pop eax
cmp eax, 0x426
je 0x44db95
cmp eax, 0x425
jne 0x44dbea
cmp dword [ebp - 0x1c], 1
je 0x44db95
cmp dword [ebp - 0x1c], 2
jne 0x44dc8b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44db9d
cmp eax, 0x41b
jne 0x44dcf7
cmp dword [ebp - 0x38], 0
jne 0x44dcf7
and dword [ebp - 0x3c], 0
and dword [ebp - 0x28], 0
push 0x24
push reloc.KERNEL32.dll_InitializeCriticalSection
mov dword [ebp - 0x38], 1
call dword [sym.imp.msvcrt.dll_calloc]
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x44dcf7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0xe10
push esi
push 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x44dc81
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x28], 0
jbe 0x44dc71
mov dword [ebp - 0x44], esi
push dword [esi]
push ebx
call fcn.0044db14
test eax, eax
jne 0x44dc5f
xor edi, edi
mov eax, dword [ebp - 0x34]
inc eax
add esi, 0x24
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x28]
jb 0x44dc51
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.msvcrt.dll_free]
mov esi, dword [ebp - 0x24]
pop ecx
jmp 0x44db9d
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x44dcf7
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x44dcf7
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x44dcf9
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov esi, edx
cmp edx, 0x64
jg 0x44dcb9
mov esi, 0x2710
test esi, esi
jle 0x44dced
cmp eax, 1
je 0x44dcf9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call ebx
test eax, eax
je 0x44dcf7
mov eax, dword [ebp - 0x1c]
sub esi, 0x1f4
test esi, esi
jg 0x44dcbd
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp eax, 1
je 0x44dcf9
cmp dword [ebp - 0x2c], ecx
jne 0x44dcaa
xor edi, edi
push dword [ebp - 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x44dd0e
push eax
call esi
mov eax, 0x4202a0
test edi, edi
jne 0x44dd1c
mov eax, 0x4202b4
push eax
push dword [ebp - 0x30]
push 0x4202c4
push 4
pop esi
call fcn.00440126
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 8