Function at 0x75a97b70
Capabilities:
Enumerate services
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 1
call dword [eax + 0x24]
mov ebx, eax
mov eax, dword [edi]
push 4
push edi
mov dword [ebp - 0x10], ebx
call dword [eax + 0x1c]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], eax
je 0x75a97be0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push ebx
push 2
push esi
call dword [eax + 0x3c]
mov eax, dword [esi]
push 2
push 3
push esi
call dword [eax + 0x34]
mov ecx, dword [ebp - 8]
push esi
push 0x4d
call fcn.75a96581
test al, al
jne 0x75a97bda
mov byte [ebp + 0xf], 0
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov al, byte [ebp + 0xf]
jmp 0x75a97df8
mov byte [ebp + 0xf], 1
jmp 0x75a97bcc
mov eax, dword [edi]
push 1
push edi
call dword [eax + 0x24]
push 0x2c
mov esi, eax
push ebx
push esi
call fcn.75a978f7
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp + 8], 0
jne 0x75a97c14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x75a97bc8
jmp 0x75a97bda
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x75a97c3a
mov ecx, dword [ebp - 8]
push 1
push dword [ebp + 0xc]
push edi
call fcn.75a9dff7
jmp 0x75a97dbb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x426
je 0x75a97de7
cmp eax, 0x435
je 0x75a97de7
cmp eax, 0x424
je 0x75a97de7
cmp eax, 0x41b
jne 0x75a97dbb
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
lea ecx, [ebp - 0xc]
push ecx
xor eax, eax
lea ecx, [ebp + 0x10]
push ecx
push eax
push eax
push 1
push dword [ebp + 8]
mov byte [ebp - 1], 1
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], eax
call ebx
call esi
mov esi, dword [ebp + 0x14]
cmp eax, 0xea
jne 0x75a97d95
cmp dword [ebp + 0x10], 0
je 0x75a97d95
push dword [ebp + 0x10]
call fcn.759c6f57
pop ecx
push 1
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push 1
push dword [ebp + 8]
call ebx
test eax, eax
je 0x75a97d3d
and dword [ebp + 0x14], 0
cmp dword [ebp - 0xc], 0
jbe 0x75a97d4e
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov eax, dword [edi]
push 2
push edi
call dword [eax + 0x40]
cmp dword [ebp - 0x18], 0
jne 0x75a97d02
mov eax, dword [edi]
push 1
push 4
push edi
call dword [eax + 0x34]
push dword [ebx + 4]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x40]
push dword [ebx]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x40]
mov ecx, dword [ebp - 8]
push esi
push 0
push dword [ebp + 0xc]
push edi
call fcn.75a97b70
mov byte [ebp - 1], al
test al, al
je 0x75a97d4e
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add ebx, 0x24
cmp eax, dword [ebp - 0xc]
jae 0x75a97d4e
jmp 0x75a97ce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x14]
call fcn.759c6f79
mov eax, dword [edi]
pop ecx
push dword [ebp - 0x10]
push 2
push edi
call dword [eax + 0x3c]
cmp dword [ebp - 0x18], 0
jne 0x75a97d72
mov eax, dword [edi]
push 0
push 4
push edi
call dword [eax + 0x34]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi]
push ebx
push 1
push esi
call dword [eax + 0x3c]
push dword [ebp - 0x10]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x3c]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp byte [ebp - 1], 0
je 0x75a97db8
mov ecx, dword [ebp - 8]
push esi
push 0
push dword [ebp + 0xc]
push edi
call fcn.75a97b70
mov byte [ebp - 1], al
test al, al
jne 0x75a97db8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x18], 0
je 0x75a97dd3
mov ecx, dword [ebp - 8]
push 4
push 1
push dword [ebp + 8]
call fcn.75a97a5b
mov byte [ebp - 1], al
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov al, byte [ebp - 1]
jmp 0x75a97df8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10