Function at 0x10007bd0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100190ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x20], esi
call fcn.1000dd80
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.1000dd80
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.1000dd80
test byte [ebp + 8], 5
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x50]
jne 0x10007c35
push str.SybASIQ_
jmp 0x10007c3a
push str.ASANY
call fcn.1000dfa0
lea ecx, [ebp - 0x50]
call fcn.1000dc70
push 4
push esi
push esi
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x3c], edi
je 0x10007cd5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push 3
push 0x30
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
push edi
call esi
mov eax, dword [ebp - 0x14]
push eax
call fcn.1000ea50
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
push 3
push 0x30
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
call esi
test eax, eax
jne 0x10007d14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa
push eax
lea ecx, [ebp - 0x60]
call fcn.1000e3e0
mov eax, dword [ebp - 0x30]
push eax
call fcn.1000ce20
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.1000d8c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.1000d8c0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.1000d8c0
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x24]
lea edx, [ecx*4]
push edx
call fcn.1000ea50
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
xor edi, edi
cmp edi, dword [ebp - 0x24]
jae 0x10007dda
mov ecx, dword [ebp - 0x30]
lea eax, [edi + edi*8]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
push edx
lea ecx, [ebp - 0x48]
call fcn.1000dfa0
lea ecx, [ebp - 0x48]
call fcn.1000dc70
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
cmp eax, edx
jb 0x10007dd4
push ecx
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
call fcn.1000de00
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.1000e0f0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.1000d8c0
lea ecx, [ebp - 0x48]
call fcn.1000dd60
push eax
lea ecx, [ebp - 0x50]
call fcn.1000dc80
test eax, eax
jne 0x10007dd4
push 8
call fcn.1000ea50
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
test ecx, ecx
mov byte [ebp - 4], 5
je 0x10007dc1
mov edx, dword [esi]
push edx
call fcn.1000dd80
jmp 0x10007dc3
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
inc ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ecx
inc edi
jmp 0x10007d33
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0x10006c80
push 4
push eax
push ecx
call fcn.1000f340
add esp, 0x10
xor esi, esi
mov dword [ebx], 0
mov dword [ebp - 0x2c], esi
lea esp, [esp]
cmp esi, dword [ebp - 0x18]
jae 0x10007f63
push 0
lea ecx, [ebp - 0x68]
call fcn.1000dd80
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx + esi*4]
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], esi
call fcn.1000ddc0
mov eax, dword [ebp + 8]
mov esi, eax
and esi, 1
mov byte [ebp - 4], 7
jne 0x10007e3b
test al, 4
je 0x10007e4d
push str.ASANY__
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov dword [ebp - 0x28], edi
jmp 0x10007e50
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x10007e69
lea ecx, [ebp - 0x58]
call fcn.1000dd60
push eax
mov ecx, ebx
call fcn.100071d0
cmp eax, 9
jne 0x10007e8c
test byte [ebp + 8], 4
je 0x10007f26
lea ecx, [ebp - 0x58]
call fcn.1000dd60
push eax
mov ecx, ebx
call fcn.100071d0
cmp eax, 9
jne 0x10007f26
lea ecx, [ebp - 0x58]
call fcn.1000dc70
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000de00
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.1000e0f0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.1000d8c0
push 0x48
call fcn.1000ea50
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
test esi, esi
mov byte [ebp - 4], 9
je 0x10007ef9
lea ecx, [ebp - 0x58]
call fcn.1000dd60
push eax
mov ecx, ebx
call fcn.100071d0
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.1000dd60
push edi
push eax
mov ecx, esi
call fcn.10007480
jmp 0x10007efb
xor eax, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
mov byte [ebp - 4], 7
je 0x10007f15
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x34], 0
jmp 0x10007f24
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x3c]
mov dword [ebx + 8], edx
inc dword [ebx]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x10007f3d
mov ecx, esi
call fcn.1000d8c0
push esi
call fcn.1000ce20
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.1000d8c0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.1000d8c0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov esi, eax
jmp 0x10007e00
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1000ce20
mov ecx, dword [ebp - 0x30]
add esp, 4
push ecx
call fcn.1000ce20
mov edx, dword [ebp - 0x3c]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.1000d8c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.1000d8c0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.1000d8c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4