Function at 0x1001443e
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
push esi
push edi
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
nop
nop
nop
nop
nop
nop
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0x2d8
cmp dword [ebp - 0x14], 0
jne 0x100144b4
xor eax, eax
jmp 0x100146b9
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100144da
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x100146b9
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 4]
push eax
push 0x10000
mov ecx, dword [ebp - 0x18]
push ecx
push 3
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x10014519
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xffffffff
xor eax, eax
jmp 0x100146b9
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 8]
add edx, 2
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 8]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov byte [edx], 0x9e
mov dword [ebp - 0x1c], 0
jmp 0x10014560
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x2c]
jae 0x10014673
push 0x2d8
push 0
lea edx, [ebp - 0x304]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
lea eax, [ebp - 0x304]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 4]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 4]
push eax
lea ecx, [ebp - 0x2c3]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x24
mov eax, dword [ebp - 0x18]
cmp dword [eax + edx + 0xc], 4
jne 0x10014601
mov dword [ebp - 0x38], 2
jmp 0x1001463a
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 0x18]
cmp dword [edx + ecx + 0xc], 1
jne 0x1001461a
mov dword [ebp - 0x38], 1
jmp 0x1001463a
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x24
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax + 0xc], 7
jne 0x10014633
mov dword [ebp - 0x38], 3
jmp 0x1001463a
mov dword [ebp - 0x38], 4
lea edx, [ebp - 0x304]
push edx
mov ecx, dword [ebp - 0x308]
call fcn.100146c2
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x304]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx + 1]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x10014557
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x18], 0
je 0x10014694
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
push 0x42
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 8]
add eax, 2
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4