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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2c], 0
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
push edi
push 0x408a84
push 4
mov dword [ebp - 0x44], edi
mov ebx, ecx
inc esi
call fcn.0041e83a
add esp, 0xc
test ebx, ebx
je 0x432c14
push 0x408aa0
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
and ebx, eax
push 0xf003f
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x432c30
xor esi, esi
jmp 0x432dc6
push 0xf01ff
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x432c4e
xor esi, esi
inc esi
jmp 0x432da6
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x432d3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x432c70
push 0x57
pop eax
cmp eax, 0x426
je 0x432c46
cmp eax, 0x425
jne 0x432c9b
cmp dword [ebp - 0x1c], 1
je 0x432c46
cmp dword [ebp - 0x1c], 2
jne 0x432d3d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x432c4e
cmp eax, 0x41b
jne 0x432da4
cmp dword [ebp - 0x2c], 0
jne 0x432da4
and dword [ebp - 0x34], 0
and dword [ebp - 0x28], 0
push 0x24
push 0x64
mov dword [ebp - 0x2c], 1
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
mov dword [ebp - 0x3c], edi
pop ecx
pop ecx
test edi, edi
je 0x432da4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push 0xe10
push edi
push 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x432d33
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x28], 0
jbe 0x432d23
mov dword [ebp - 0x38], edi
mov edx, dword [edi]
mov ecx, ebx
call fcn.00432bc9
neg eax
lea edi, [edi + 0x24]
sbb eax, eax
and esi, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x28]
jb 0x432d02
mov edi, dword [ebp - 0x3c]
push edi
call dword [sym.imp.msvcrt.dll_free]
mov edi, dword [ebp - 0x24]
pop ecx
jmp 0x432c4e
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x432da4
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x432da4
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x432da6
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ebx, ecx
cmp edi, 0x64
jg 0x432d66
mov edi, 0x2710
test edi, edi
jle 0x432d9b
cmp eax, 1
je 0x432da6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x432da4
mov eax, dword [ebp - 0x1c]
sub edi, 0x1f4
test edi, edi
jg 0x432d6a
mov ecx, dword [ebp - 0xc]
cmp eax, 1
je 0x432da6
cmp ebx, ecx
jne 0x432d57
xor esi, esi
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x432dbd
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 0x408ab0
test esi, esi
jne 0x432dcb
mov eax, 0x408ac4
push eax
push dword [ebp - 0x44]
push 0x408ad4
push 4
call fcn.0041e83a
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00441130
leave
ret