Function at 0x41e1da
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x82c
mov eax, 0x5b84b0
call fcn.005870c4
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x688bf4
lea eax, [ebp - 0x81c]
mov edi, ecx
push eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x838], ebx
call fcn.00408518
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push esi
push 0x688c28
push 0x688c34
call fcn.004019e0
mov byte [ebp - 0x811], al
test al, al
lea eax, [ebp - 0x81c]
je 0x41e24c
push 0x688c3c
push eax
call fcn.004085db
push dword [ebp - 0x81c]
call fcn.004204e6
pop ecx
jmp 0x41e257
push 0x688c4c
push eax
call fcn.004085db
push edi
call fcn.004084c2
mov byte [ebp - 4], 2
lea eax, [edi + 4]
push eax
call fcn.004084c2
mov byte [ebp - 4], 3
lea eax, [edi + 8]
push eax
mov dword [ebp - 0x82c], eax
call fcn.004084c2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push 0x688c58
push dword [ebp - 0x81c]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x838], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
mov byte [edi + 0xc], 0
mov dword [ebp - 0x818], 0x400
call esi
test eax, eax
jne 0x41e2e0
mov eax, dword [ebp - 0x818]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
lea eax, [ebp - 0x810]
push eax
push edi
call fcn.004085bd
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x688c64
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e32e
mov eax, dword [ebp - 0x818]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
lea eax, [ebp - 0x810]
push eax
lea eax, [edi + 4]
push eax
call fcn.004085bd
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x688c70
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e3d9
mov eax, dword [ebp - 0x818]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
lea eax, [ebp - 0x810]
push eax
call fcn.00579d57
pop ecx
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x82c]
call fcn.004085bd
cmp dword [ebp - 0x824], 0
jbe 0x41e472
push 0
call fcn.0057b2eb
pop ecx
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x828], eax
xor eax, eax
add ecx, 0x93a80
cmp edx, eax
jg 0x41e472
jl 0x41e3d0
cmp dword [ebp - 0x828], ecx
jae 0x41e472
mov byte [edi + 0xc], 1
jmp 0x41e472
cmp byte [ebp - 0x811], 0
je 0x41e472
lea eax, [ebp - 0x824]
push eax
call fcn.004084c2
mov byte [ebp - 4], 5
push 0
call fcn.0057b2eb
pop ecx
push edx
push eax
push 0x688c7c
lea eax, [ebp - 0x824]
call fcn.00417a4d
mov edi, dword [ebp - 0x82c]
add esp, 0xc
lea eax, [ebp - 0x824]
call fcn.0040857c
mov eax, dword [ebp - 0x824]
mov eax, dword [eax - 0xc]
mov edi, dword [ebp - 0x81c]
add eax, eax
push eax
lea esi, [ebp - 0x824]
call fcn.00408793
push eax
push 1
push 0x688c84
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x830]
mov byte [eax + 0xc], 1
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00408559
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [ebp - 0x830]
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x688c90
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e4c2
mov eax, dword [ebp - 0x818]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x810], cx
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x82c]
call fcn.004085bd
cmp byte [edi + 0xc], 0
je 0x41e4ec
call fcn.0041e83c
mov byte [ebp - 0x811], al
call fcn.0041e882
cmp byte [ebp - 0x811], 0
jne 0x41e4e8
cmp eax, 0x93a80
jle 0x41e4ec
mov byte [edi + 0xc], 0
and dword [ebp - 0x834], 0
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x834]
push eax
push 0
push 0x688c9c
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 4
push ebx
call esi
test eax, eax
jne 0x41e548
mov ebx, dword [ebp - 0x834]
test ebx, ebx
jle 0x41e548
mov esi, dword [ebp - 0x82c]
push dword [esi]
call fcn.00579d57
pop ecx
add eax, ebx
push eax
push 0x688ca8
mov eax, esi
call fcn.00417a4d
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x81c]
call fcn.00408559
mov eax, edi
call fcn.00587147
ret