Function at 0x406380
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x440ed0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea edi, [ecx + 0x1c]
mov ecx, edi
mov dword [ebp - 0x224], edi
call fcn.004108b0
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareRealNetworks
push 0x80000000
mov dword [ebp - 0x210], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4066b8
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov dword [ebp - 0x218], ebx
mov byte [ebp - 0x108], bl
call fcn.0041b530
add esp, 0xc
push esi
mov ecx, dword [ebp - 0x218]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x240]
push edx
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x108]
push eax
push ecx
push edx
mov dword [ebp - 0x240], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov dword [ebp - 0x23c], esi
cmp esi, ebx
jne 0x406692
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x108]
push ecx
push edx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406692
push 0x103
mov byte [ebp - 0x20c], al
lea eax, [ebp - 0x20b]
push ebx
push eax
mov dword [ebp - 0x220], ebx
call fcn.0041b530
add esp, 0xc
mov eax, dword [ebp - 0x220]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x20c]
push edx
push eax
or ebx, 0xffffffff
push ecx
or edi, ebx
mov dword [ebp - 0x238], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
test esi, esi
jne 0x406563
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00410900
push 0x2e
lea ecx, [ebp - 0x22c]
call fcn.004106c0
cmp eax, 2
jne 0x406558
push 1
push 0x2e
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00411140
cmp byte [eax + 7], 0xff
jne 0x406509
mov eax, dword [eax]
push eax
call fcn.0041bc91
add esp, 4
lea ecx, [ebp - 0x250]
mov ebx, eax
call fcn.004108e0
push 2
push 0x2e
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00411140
cmp byte [eax + 7], 0xff
jne 0x40653d
mov eax, dword [eax]
push eax
call fcn.0041bc91
add esp, 4
lea ecx, [ebp - 0x248]
mov edi, eax
call fcn.004108e0
mov esi, 0x103
lea ecx, [ebp - 0x22c]
call fcn.004108e0
inc dword [ebp - 0x220]
test esi, esi
je 0x406484
test ebx, ebx
jl 0x406677
test edi, edi
jl 0x406677
push 0x44
call fcn.0041b6f3
add esp, 4
test eax, eax
je 0x4066a2
mov ecx, eax
call fcn.00410410
test eax, eax
je 0x4066a2
lea esi, [eax + 0x10]
test esi, esi
je 0x4066a2
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esi + 8]
push edi
push ebx
lea edx, [ebp - 0x108]
push edx
lea eax, [esi + 8]
push str.RealNetworks
push eax
mov eax, dword [ecx + 0xc]
call eax
push 0x436328
lea ecx, [ebp - 0x234]
call fcn.00410900
lea ecx, [ebp - 0x234]
call fcn.004108b0
lea edx, [ebp - 0x214]
push edx
xor edi, edi
mov dword [ebp - 0x214], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
push str.ClassName
push esi
call eax
test eax, eax
jne 0x406664
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
push eax
lea ecx, [ebp - 0x234]
call fcn.004109d0
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x40663c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x214], edi
mov edi, dword [ebp - 0x224]
mov ecx, edi
call fcn.004037f0
test al, al
jne 0x406656
push 0x7c
mov ecx, edi
call fcn.00410d70
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.00410d90
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
lea ecx, [ebp - 0x234]
call fcn.004108e0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x224]
xor ebx, ebx
inc dword [ebp - 0x218]
cmp esi, ebx
je 0x4063f4
jmp 0x4066aa
mov edi, dword [ebp - 0x224]
xor ebx, ebx
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov cl, byte [edi + 7]
cmp cl, 0xff
je 0x4066ca
xor eax, eax
cmp cl, 7
sete al
jmp 0x4066e5
cmp byte [edi + 4], 0
jne 0x4066e3
cmp byte [edi + 5], 0
jne 0x4066e3
cmp byte [edi + 6], 0
jne 0x4066e3
mov eax, 1
jmp 0x4066e5
xor eax, eax
mov ecx, dword [ebp - 4]
xor edx, edx
test al, al
sete dl
pop edi
xor ecx, ebp
pop ebx
mov eax, edx
call fcn.0041bc6c
mov esp, ebp
pop ebp
ret