Function at 0x415e56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
push ebx
push esi
push edi
push 0x2c
push 2
push dword [ebp + 8]
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x14], 1
call fcn.00406477
push 0x10
pop ecx
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x70]
call fcn.00403642
add esp, 0x14
test eax, eax
je 0x416149
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
push eax
push 0x4032cc
push 1
push ebx
push 0x4032bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x41613a
push dword [ebp - 0x70]
call fcn.00403623
pop ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
mov word [ebp - 0x2c], bx
call fcn.00414b2a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 8]
lea ecx, [ebp - 8]
call fcn.00414afc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
lea esi, [ebp - 0x1c]
push esi
push dword [eax]
push ecx
call dword [edx + 0x30]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, 0x206
push edi
lea eax, [ebp - 0x2b6]
push ebx
push eax
mov word [ebp - 0x2b8], bx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x6c]
and dword [ebp - 4], ebx
add esp, 0xc
test ecx, ecx
je 0x415fa4
movzx eax, word [ecx]
test ax, ax
je 0x415fa4
cmp ax, 0x23
jne 0x415f6e
inc ecx
inc ecx
push ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ecx
call fcn.00403470
pop ecx
mov ebx, eax
jmp 0x415fab
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4014f4
push ecx
call esi
test eax, eax
je 0x415fa4
push 0x403114
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x415f9c
push 0x403100
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x415fab
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
jmp 0x415fab
mov dword [ebp - 4], 1
xor esi, esi
inc esi
cmp dword [ebp - 4], 0
je 0x416063
call fcn.004072a1
test eax, eax
je 0x41603c
lea eax, [ebp - 8]
push eax
push 0x401578
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jne 0x41607b
mov dword [ebp - 0xc], esi
xor esi, esi
push edi
lea eax, [ebp - 0x4be]
push esi
push eax
mov dword [ebp - 0x10], 0x104
mov word [ebp - 0x4c0], si
call sub.MSVCRT.dll_memset
push dword [ebp - 8]
lea eax, [ebp - 0x4c0]
push 0x4030ec
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x4c0]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x416073
cmp ebx, 1
lea eax, [ebp - 0x2b8]
push eax
ja 0x416051
imul ebx, ebx, 5
add ebx, 0x1505
push ebx
push 0x4030d4
call fcn.0040c02e
add esp, 0xc
mov esi, eax
jmp 0x416073
push dword [ebp - 0x6c]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test esi, esi
je 0x41613a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x1c]
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x416128
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
mov word [ebp - 0x2c], 3
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 4]
and dword [ebp - 0xc], 0
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x24]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x41610c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc ebx
cmp ebx, dword [ebp - 8]
jne 0x4160a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret