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

Disassembly:
push 0x82c
mov eax, 0x5b16f6
call fcn.00580bb4
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x6812e8
lea eax, [ebp - 0x81c]
mov edi, ecx
push eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x838], ebx
call fcn.0040852d
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push esi
push 0x681318
push 0x681324
call fcn.004019d7
mov byte [ebp - 0x811], al
test al, al
lea eax, [ebp - 0x81c]
je 0x41e39b
push 0x68132c
push eax
call fcn.004085f0
push dword [ebp - 0x81c]
call fcn.00420627
pop ecx
jmp 0x41e3a6
push 0x68133c
push eax
call fcn.004085f0
push edi
call fcn.004084d7
mov byte [ebp - 4], 2
lea eax, [edi + 4]
push eax
call fcn.004084d7
mov byte [ebp - 4], 3
lea eax, [edi + 8]
push eax
mov dword [ebp - 0x82c], eax
call fcn.004084d7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push 0x681348
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 0x41e42f
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.004085d2
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x681354
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e47d
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.004085d2
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x681360
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e528
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.00573a87
pop ecx
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x82c]
call fcn.004085d2
cmp dword [ebp - 0x824], 0
jbe 0x41e5c1
push 0
call fcn.0057501b
pop ecx
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x828], eax
xor eax, eax
add ecx, 0x278d00
cmp edx, eax
jg 0x41e5c1
jl 0x41e51f
cmp dword [ebp - 0x828], ecx
jae 0x41e5c1
mov byte [edi + 0xc], 1
jmp 0x41e5c1
cmp byte [ebp - 0x811], 0
je 0x41e5c1
lea eax, [ebp - 0x824]
push eax
call fcn.004084d7
mov byte [ebp - 4], 5
push 0
call fcn.0057501b
pop ecx
push edx
push eax
push 0x68136c
lea eax, [ebp - 0x824]
call fcn.004175e6
mov edi, dword [ebp - 0x82c]
add esp, 0xc
lea eax, [ebp - 0x824]
call fcn.00408591
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.004087a8
push eax
push 1
push 0x681374
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.0040856e
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 0x681380
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x41e611
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.004085d2
cmp byte [edi + 0xc], 0
je 0x41e63b
call fcn.0041e98b
mov byte [ebp - 0x811], al
call fcn.0041e9d4
cmp byte [ebp - 0x811], 0
jne 0x41e637
cmp eax, 0x278d00
jle 0x41e63b
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 0x68138c
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 4
push ebx
call esi
test eax, eax
jne 0x41e697
mov ebx, dword [ebp - 0x834]
test ebx, ebx
jle 0x41e697
mov esi, dword [ebp - 0x82c]
push dword [esi]
call fcn.00573a87
pop ecx
add eax, ebx
push eax
push 0x681398
mov eax, esi
call fcn.004175e6
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x81c]
call fcn.0040856e
mov eax, edi
call fcn.00580c37
ret