Function at 0x41205c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x14], 1
call fcn.00404497
push 0x10
pop ecx
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x70]
call fcn.00402c8c
add esp, 0xc
test eax, eax
je 0x412349
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
push eax
push 0x4029b8
push 1
push ebx
push 0x4029a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x41233a
push dword [ebp - 0x70]
call fcn.00402c6d
pop ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], eax
mov word [ebp - 0x2c], bx
call fcn.0040f73f
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.0040f711
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 esi, dword [ebp - 0x6c]
and dword [ebp - 4], ebx
push esi
call fcn.004043ee
add esp, 0x10
test eax, eax
je 0x4121a4
cmp word [esi], 0x23
jne 0x41216e
inc esi
inc esi
push esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], esi
call fcn.00402b60
pop ecx
mov ebx, eax
jmp 0x4121ab
push 0x401478
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
call esi
test eax, eax
je 0x4121a4
push 0x402938
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x41219c
push 0x402924
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x4121ab
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
jmp 0x4121ab
mov dword [ebp - 4], 1
xor esi, esi
inc esi
cmp dword [ebp - 4], 0
je 0x412263
call fcn.00405308
test eax, eax
je 0x41223c
lea eax, [ebp - 8]
push eax
push 0x4014b0
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jne 0x41227b
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 0x402910
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 0x412273
cmp ebx, 1
lea eax, [ebp - 0x2b8]
push eax
ja 0x412251
imul ebx, ebx, 5
add ebx, 0x1505
push ebx
push 0x4028f8
call fcn.00407f4f
add esp, 0xc
mov esi, eax
jmp 0x412273
push dword [ebp - 0x6c]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test esi, esi
je 0x41233a
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 0x412328
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 0x41230c
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 0x4122a0
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