Function at 0x48c6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffff4
mov edi, dword [ebp + 8]
add edi, 0xffffffec
mov ebx, dword [ebp + 8]
add ebx, 0xffffffe4
xor eax, eax
push ebp
push 0x48c9e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x18], 0
je 0x48c750
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0x80000004
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.00405578
push eax
call sub.advapi32.dll_RegConnectRegistryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x48c75a
mov eax, dword [ebx]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409e3c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x48ca00
call fcn.004053c4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x408b20]
call fcn.0040df48
call fcn.00404a48
jmp 0x48c75a
mov eax, dword [ebp + 8]
mov dword [eax - 4], 0x80000004
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
push 0
push 0x48ca2c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebx], eax
cmp dword [ebx], 0xea
jne 0x48c7c6
add dword [edi], 0x1000
mov eax, dword [edi]
mov dword [ebp - 4], eax
mov edx, dword [edi]
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
call fcn.00402ba4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
push 0
push 0x48ca2c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebx], eax
cmp dword [ebx], 0xea
je 0x48c784
cmp dword [ebx], 0
je 0x48c823
lea edx, [ebp - 0x10]
mov eax, dword [ebx]
call fcn.004675b4
cmp dword [ebp - 0x10], 0
je 0x48c7f1
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x408b20]
call fcn.0040df48
call fcn.00404a48
jmp 0x48c823
mov eax, dword [ebx]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00409e3c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48ca38
call fcn.004053c4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x408b20]
call fcn.0040df48
call fcn.00404a48
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0x80000004
je 0x48c83b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
add eax, dword [edx + 0x18]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x48c86f
mov eax, dword [esi]
cmp dword [eax + 0xc], 0xee
je 0x48c86f
mov eax, dword [esi]
mov edx, dword [esi]
add eax, dword [edx]
mov dword [esi], eax
dec ecx
jne 0x48c859
mov eax, dword [esi]
cmp dword [eax + 0xc], 0xee
je 0x48c890
mov ecx, 0x48ca58
mov dl, 1
mov eax, dword [0x408b20]
call fcn.0040df48
call fcn.00404a48
mov eax, dword [ebp + 8]
cmp dword [eax - 0x20], 0
jge 0x48c8cc
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
shl eax, 3
call fcn.00402b54
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
shl eax, 3
call fcn.00402b54
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [esi]
mov edx, dword [esi]
add eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jle 0x48c905
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp dword [eax + 4], 6
je 0x48c905
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
add eax, dword [edx]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
dec ecx
jne 0x48c8e2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp dword [eax + 4], 6
je 0x48c927
mov ecx, 0x48ca94
mov dl, 1
mov eax, dword [0x408b20]
call fcn.0040df48
call fcn.00404a48
mov eax, dword [esi]
mov edx, dword [esi]
add eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x20]
dec ecx
test ecx, ecx
jl 0x48c99d
inc ecx
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov esi, dword [edx + ebx*8]
mov dword [eax + ebx*8], esi
mov esi, dword [edx + ebx*8 + 4]
mov dword [eax + ebx*8 + 4], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp - 0x18]
mov dword [eax + ebx*8], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ebx*8 + 4], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
inc ebx
dec ecx
jne 0x48c93f
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x30]
mov dword [eax - 0x38], ecx
mov ecx, dword [edx - 0x2c]
mov dword [eax - 0x34], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [edx + 0x48]
mov dword [eax - 0x30], ecx
mov ecx, dword [edx + 0x4c]
mov dword [eax - 0x2c], ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c9ee
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004050dc
lea eax, [ebp - 0x10]
call fcn.004050b8
ret