Function at 0x48ad10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4c
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x31b]
push esi
push eax
mov byte [ebp - 0x31c], 0
call fcn.004a3190
add esp, 0xc
push 0x4b17de
mov edx, 0x7ffffffe
mov eax, 0x400
mov ecx, ebx
mov dword [ebp - 0xb28], 0x104
mov dword [ebp - 0xb24], esi
call fcn.00401000
push str.SYSTEMCurrentControlSetServices
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x10c]
call fcn.00401000
mov edx, dword [0x4c6444]
lea ecx, [ebp - 0xb20]
push ecx
push edx
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x48b007
lea ecx, [ebp - 0xb48]
push ecx
lea edx, [ebp - 0xb34]
push edx
lea eax, [ebp - 0xb40]
push eax
lea ecx, [ebp - 0xb38]
push ecx
lea edx, [ebp - 0xb30]
push edx
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ebp - 0xb3c]
push ecx
lea edx, [ebp - 0xb24]
push edx
mov edx, dword [ebp - 0xb20]
push esi
lea eax, [ebp - 0xb28]
push eax
lea ecx, [ebp - 0x31c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0xb24], esi
je 0x48b007
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xb20]
push 0x100
lea eax, [ebp - 0x71c]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, esi
inc esi
cmp edx, dword [ebp - 0xb24]
ja 0x48b007
cmp eax, 0x103
je 0x48b007
lea eax, [ebp - 0x71c]
push eax
call edi
test eax, eax
je 0x48ae12
push str.SYSTEMCurrentControlSetServices_
mov edx, 0x7ffffffe
mov eax, 0xff
lea ecx, [ebp - 0x10c]
call fcn.00401000
mov edx, 0xff
lea eax, [ebp - 0x10c]
cmp byte [eax], 0
je 0x48ae83
inc eax
dec edx
jne 0x48ae78
jmp 0x48aead
test edx, edx
je 0x48aead
mov ecx, 0xff
sub ecx, edx
lea edx, [ebp - 0x71c]
mov eax, 0xff
push edx
sub eax, ecx
lea ecx, [ebp + ecx - 0x10c]
mov edx, 0x7fffffff
call fcn.00401000
push 0x200
lea eax, [ebp - 0x10c]
push str.ImagePath
push eax
lea ecx, [ebp - 0x51c]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
mov edx, str.svchost.exe
lea ecx, [ebp - 0x51c]
call fcn.0047dee0
test eax, eax
je 0x48af74
mov eax, 0xff
lea ecx, [ebp - 0x10c]
cmp byte [ecx], 0
je 0x48aeff
inc ecx
dec eax
jne 0x48aef4
jmp 0x48af27
test eax, eax
je 0x48af27
mov ecx, 0xff
sub ecx, eax
mov eax, 0xff
sub eax, ecx
push str.Parameters
lea ecx, [ebp + ecx - 0x10c]
mov edx, 0x7fffffff
call fcn.00401000
push 0x104
lea ecx, [ebp - 0x10c]
push str.ServiceDll
push ecx
lea ecx, [ebp - 0x214]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
call edi
test eax, eax
je 0x48af74
lea eax, [ebp - 0x214]
push eax
mov edx, 0x7ffffffe
mov eax, 0x200
lea ecx, [ebp - 0x51c]
call fcn.00401000
lea ecx, [ebp - 0x51c]
push ecx
call edi
test eax, eax
jle 0x48ae12
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x51c]
call fcn.0047f1b0
mov ecx, dword [ebp + 8]
add esp, 4
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.00483b10
test eax, eax
jne 0x48ae12
push 0x400
lea edx, [ebp - 0x10c]
push str.Description
push edx
lea ecx, [ebp - 0xb1c]
mov edx, 0x80000002
call fcn.0048e050
add esp, 0xc
lea eax, [ebp - 0xb1c]
push eax
mov edx, 0x7ffffffe
mov eax, 0x400
mov ecx, ebx
call fcn.00401000
lea ecx, [ebp - 0xb1c]
push ecx
call edi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xb20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret