Function at 0x1000f0d0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ab7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x44], ebx
push edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 4
push 0
push 0
mov dword [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x1000f16a
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.1000f7c0
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
call fcn.1000e7f0
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
nop dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x1000f1ce
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1000f1db
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005a80
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0x3b
push edi
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x1000f25b
cmp eax, 0xea
je 0x1000f1b0
cmp eax, 0x7a
je 0x1000f1b0
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
call fcn.1000f7c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 2
call fcn.10005f70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 5
call fcn.1000e7f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
jle 0x1000f5f5
add esi, 8
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp - 4], 6
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 7
xor eax, eax
mov edx, dword [esi - 8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp word [edx], ax
jne 0x1000f314
xor ecx, ecx
jmp 0x1000f32f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f320
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10008110
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe4]
call fcn.1000c460
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 9
call fcn.10004060
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xd0]
cmp eax, 0x10
jb 0x1000f3ab
mov ecx, dword [ebp - 0xe4]
inc eax
cmp eax, 0x1000
jb 0x1000f3a2
test cl, 0x1f
jne 0x1000f626
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000f626
sub ecx, eax
cmp ecx, 4
jb 0x1000f626
cmp ecx, 0x23
ja 0x1000f626
mov ecx, eax
push ecx
call fcn.1004531b
add esp, 4
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x1000f3df
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10008690
mov edx, dword [esi - 4]
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], eax
mov word [ebp - 0x74], ax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp word [edx], ax
jne 0x1000f413
xor ecx, ecx
jmp 0x1000f42f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f420
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10008110
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xfc]
call fcn.1000c460
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
call fcn.10004060
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xe8]
cmp eax, 0x10
jb 0x1000f4ab
mov ecx, dword [ebp - 0xfc]
inc eax
cmp eax, 0x1000
jb 0x1000f4a2
test cl, 0x1f
jne 0x1000f626
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000f626
sub ecx, eax
cmp ecx, 4
jb 0x1000f626
cmp ecx, 0x23
ja 0x1000f626
mov ecx, eax
push ecx
call fcn.1004531b
add esp, 4
mov dword [ebp - 0xe8], 0xf
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x1000f4df
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10008690
movups xmm0, xmmword [esi]
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea ecx, [ebp - 0x3c]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xcc]
movups xmmword [ebp - 0x9c], xmm0
push eax
movq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x64], 0
movq qword [ebp - 0x8c], xmm0
call fcn.1000f690
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x1000f572
mov ecx, dword [ebp - 0xb4]
inc eax
cmp eax, 0x1000
jb 0x1000f569
test cl, 0x1f
jne 0x1000f626
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000f626
sub ecx, eax
cmp ecx, 4
jb 0x1000f626
cmp ecx, 0x23
ja 0x1000f626
mov ecx, eax
push ecx
call fcn.1004531b
add esp, 4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp eax, 0x10
jb 0x1000f5c9
mov ecx, dword [ebp - 0xcc]
inc eax
cmp eax, 0x1000
jb 0x1000f5c0
test cl, 0x1f
jne 0x1000f626
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000f626
sub ecx, eax
cmp ecx, 4
jb 0x1000f626
cmp ecx, 0x23
ja 0x1000f626
mov ecx, eax
push ecx
call fcn.1004531b
add esp, 4
mov dword [ebp - 0xb8], 0xf
inc ebx
mov dword [ebp - 0xbc], 0
add esi, 0x24
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 4
cmp ebx, dword [ebp - 0x2c]
jl 0x1000f280
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.1000f7c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 1
cmp eax, 0x10
jb 0x1000f658
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x1000f64f
test cl, 0x1f
je 0x1000f62b
call fcn.100497ee
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000f637
call fcn.100497ee
sub ecx, eax
cmp ecx, 4
jae 0x1000f643
call fcn.100497ee
cmp ecx, 0x23
jbe 0x1000f64d
call fcn.100497ee
mov ecx, eax
push ecx
call fcn.1004531b
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xd
call fcn.1000e7f0
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret