Function at 0x426180
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b3b1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x49c068]
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, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x50], edi
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
movups xmmword [edi], xmm0
mov dword [ebp - 4], 0
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0042b3f0
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
push 4
push 0
mov dword [ebp - 4], 1
push 0
mov dword [ebp - 0x30], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4263f4
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
lea ecx, [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 3
push 0x3b
push eax
call esi
push dword [ebp - 0x1c]
push 1
call fcn.00443d20
add esp, 8
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x1c]
push eax
push 3
push 0x3b
push dword [ebp - 0x2c]
call esi
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
jbe 0x4263eb
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov dword [ebp - 0x24], eax
push 0x60
call fcn.0042b3f0
push 0x60
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00403960
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov esi, eax
mov edx, dword [edx - 8]
call fcn.00426710
mov ecx, eax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x4262c2
mov ecx, eax
call fcn.00406820
push dword [ebp - 0x20]
lea ecx, [esi + 0x1c]
call fcn.00406a60
lea ecx, [ebp - 0x4c]
call fcn.00406820
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.0042b3d0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
add esp, 8
mov edx, dword [eax - 0xc]
call fcn.00426710
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x426305
mov ecx, esi
call fcn.00406820
push dword [ebp - 0x20]
mov ecx, esi
call fcn.00406a60
lea ecx, [ebp - 0x4c]
call fcn.00406820
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.0042b3d0
mov ecx, dword [ebp - 0x24]
add esp, 8
mov eax, dword [ecx]
mov dword [esi + 0x58], eax
mov eax, dword [ecx - 4]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
push esi
cmp eax, dword [edi + 0xc]
je 0x4263cf
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.004058a0
mov dword [ebp - 4], 2
lea eax, [esi + 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 0x1c
call fcn.004058a0
mov byte [ebp - 4], 3
lea eax, [esi + 0x38]
mov ecx, dword [ebp - 0x20]
push eax
lea ecx, [ecx + 0x38]
call fcn.004058a0
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0x54]
push 3
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x5c], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
mov esi, dword [edi + 8]
call fcn.004283d0
mov edx, dword [edi]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x4263c1
cmp dword [eax + 8], esi
jb 0x4263b8
ja 0x4263b8
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x4263bd
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x4263a4
lea ecx, [ebp - 0x18]
call fcn.00428480
add dword [edi + 8], 0x60
jmp 0x4263d7
push eax
mov ecx, edi
call fcn.00426420
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x24], 0x24
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x14]
jb 0x426277
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 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.0042b3c0
mov esp, ebp
pop ebp
ret