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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2abf
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4e1654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x433d30
push 4
mov dword [ebp - 4], 0
call fcn.0048aa51
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x433aa8
cmp dword [edi + 0x14], 8
jb 0x433a8d
mov edi, dword [edi]
push 0x2c
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x433d4d
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, ecx
jmp 0x433aad
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], 0
push ecx
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
mov edi, dword [ebp - 0x5c]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x60], ecx
xor edx, edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
test edi, edi
je 0x433b63
cmp edi, 0x7fffffff
ja 0x433d6a
cmp edi, 0x1000
jb 0x433b34
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x433d6f
push eax
call fcn.0048aa51
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x433d9b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x433b3d
push edi
call fcn.0048aa51
add esp, 4
push edi
lea ecx, [eax + edi]
mov dword [ebp - 0x60], eax
push 0
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], ecx
call fcn.0048cce0
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov edx, dword [ebp - 0x64]
mov eax, ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x54], ecx
sub edx, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x50]
push 1
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x433d74
xor edi, edi
cmp dword [ebp - 0x58], edi
jbe 0x433c3b
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433bc0
sub ecx, dword [ebp - 0x70]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041ea60
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00433a20
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x433c28
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433c1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433d9b
push edx
push ecx
call fcn.0048aa81
add esp, 8
mov eax, dword [ebp - 0x54]
inc edi
add eax, 0x24
mov dword [ebp - 0x54], eax
cmp edi, dword [ebp - 0x58]
jb 0x433b96
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
push eax
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
push 1
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x433c77
lea eax, [ebp - 0x1c]
push eax
call fcn.00471c40
add esp, 4
mov byte [ebp - 4], 6
jmp 0x433d84
mov eax, dword [ebp - 0x48]
xor edi, edi
nop dword [eax]
cmp eax, 1
je 0x433cb1
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x5c]
push eax
push 0x24
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
mov eax, dword [ebp - 0x48]
je 0x433cb7
cmp eax, 1
je 0x433cd1
inc edi
cmp edi, 5
jb 0x433c80
cmp eax, 1
je 0x433cd1
lea eax, [ebp - 0x1c]
push eax
call fcn.00471c40
add esp, 4
mov byte [ebp - 4], 7
jmp 0x433d84
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x433d05
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x433cfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433d9b
push edx
push ecx
call fcn.0048aa81
add esp, 8
mov eax, dword [ebp - 0x50]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [eax]
call edi
push esi
call edi
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.0048af00
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043b060
push 0x4da004
lea eax, [ebp - 0x6c]
push eax
call fcn.0048c287
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043b060
push 0x4da004
lea eax, [ebp - 0x6c]
push eax
call fcn.0048c287
call fcn.0041e2b0
call fcn.0041e180
lea eax, [ebp - 0x1c]
push eax
call fcn.00471c40
add esp, 4
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043b020
push 0x4da004
lea eax, [ebp - 0x7c]
push eax
call fcn.0048c287
call fcn.0048f71f
int3