Function at 0x4807de
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x68cbb0
call fcn.0056e23b
mov ebx, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], eax
call fcn.004173bc
and dword [ebp - 4], 0
mov ecx, edi
call fcn.00480020
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
push 0x6c7210
push esi
call fcn.00480d91
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x480aeb
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExtStats
push esi
lea eax, [ebp - 0x48]
push str._s_s_siexplore
push eax
call fcn.0041ccda
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x20019
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00567b83
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x480adf
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 4
push eax
xor ecx, ecx
lea eax, [ebp - 0x50]
push eax
push ecx
push ecx
push 0x6c72e0
push esi
mov dword [ebp - 0x50], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x480a28
cmp dword [ebp - 0x4c], eax
jbe 0x480a28
mov eax, dword [ebp - 0x50]
sub eax, 1
je 0x480988
sub eax, 4
je 0x4808e5
sub eax, 5
je 0x4808e5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov esi, dword [ebp - 0x58]
jmp 0x48080e
lea ecx, [edi + 4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4808f9
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e50
push 0x6c4ef4
mov dword [edi], 4
call fcn.00647fd1
pop ecx
push eax
push 0x6c4ef4
lea ecx, [edi + 0x1c]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x1c]
call fcn.00404690
call fcn.00564e00
test eax, eax
mov ecx, ebx
push 0
lea eax, [ebp - 0x28]
je 0x480970
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c4f28
push 0x6c4f34
call fcn.0047ff0e
cmp dword [ebp - 0x14], 8
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x6c4f60
push 0x6c4f6c
jmp 0x480aab
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c4f98
push 0x6c4fa4
jmp 0x480aca
lea ecx, [edi + 4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x48099c
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e50
and dword [edi], 0
push 0x6c4e20
call fcn.00647fd1
pop ecx
push eax
push 0x6c4e20
lea ecx, [edi + 0x1c]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x1c]
call fcn.00404690
call fcn.00564e00
test eax, eax
mov ecx, ebx
push 0
lea eax, [ebp - 0x28]
je 0x480a10
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c4e54
push 0x6c4e60
call fcn.0047ff0e
cmp dword [ebp - 0x14], 8
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x6c4e8c
push 0x6c4e98
jmp 0x480aab
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c4ec4
push 0x6c4ed0
jmp 0x480aca
lea ecx, [edi + 4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x480a3c
push 0xffffffffffffffff
push 0
push eax
call fcn.00401e50
and dword [edi], 0
push 0x6c4fc8
call fcn.00647fd1
pop ecx
push eax
push 0x6c4fc8
lea ecx, [edi + 0x1c]
call fcn.004044d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x1c]
call fcn.00404690
call fcn.00564e00
test eax, eax
mov ecx, ebx
push 0
lea eax, [ebp - 0x28]
je 0x480ab7
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c4ffc
push 0x6c5008
call fcn.0047ff0e
cmp dword [ebp - 0x14], 8
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x6c5034
push 0x6c5040
mov ecx, ebx
call fcn.0047ff0e
mov dword [edi + 0x38], eax
jmp 0x480ad6
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push 0x6c506c
push 0x6c5078
call fcn.0047ff0e
and dword [edi + 0x38], 0
mov dword [edi + 0x34], eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, dword [ebp - 0x60]
call fcn.0056e1e5
ret 0xc