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

Disassembly:
push 0x82c
mov eax, 0x5bdb7d
call fcn.0058ec94
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.SoftwareSMRHome
lea eax, [ebp - 0x81c]
mov edi, ecx
push eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x838], ebx
call fcn.004085b5
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push ebx
push str.IsGlobal
push str.Update
call fcn.004019dc
mov byte [ebp - 0x811], al
test al, al
lea eax, [ebp - 0x81c]
je 0x422f90
push 0x688308
push eax
call fcn.00408678
push dword [ebp - 0x81c]
call fcn.004259f0
pop ecx
jmp 0x422f9b
push str.Nus
push eax
call fcn.00408678
push edi
call fcn.0040855f
mov byte [ebp - 4], 2
lea eax, [edi + 4]
push eax
call fcn.0040855f
mov byte [ebp - 4], 3
lea eax, [edi + 8]
push eax
mov dword [ebp - 0x82c], eax
call fcn.0040855f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push 0x6882a0
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 0x423024
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.0040865a
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x6882ac
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x423072
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.0040865a
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x6882c4
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x42311d
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.005818e3
pop ecx
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x82c]
call fcn.0040865a
cmp dword [ebp - 0x824], 0
jbe 0x4231b6
push 0
call fcn.00583034
pop ecx
mov ecx, dword [ebp - 0x824]
mov dword [ebp - 0x828], eax
xor eax, eax
add ecx, 0x278d00
cmp edx, eax
jg 0x4231b6
jl 0x423114
cmp dword [ebp - 0x828], ecx
jae 0x4231b6
mov byte [edi + 0xc], 1
jmp 0x4231b6
cmp byte [ebp - 0x811], 0
je 0x4231b6
lea eax, [ebp - 0x824]
push eax
call fcn.0040855f
mov byte [ebp - 4], 5
push 0
call fcn.00583034
pop ecx
push edx
push eax
push 0x687ee8
lea eax, [ebp - 0x824]
call fcn.004310f7
mov edi, dword [ebp - 0x82c]
add esp, 0xc
lea eax, [ebp - 0x824]
call fcn.00408619
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.00408830
push eax
push 1
push 0x6882c4
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.004085f6
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 str.Date
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 0x400
push ebx
call esi
test eax, eax
jne 0x423206
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.0040865a
cmp byte [edi + 0xc], 0
je 0x423230
call fcn.0042357d
mov byte [ebp - 0x811], al
call fcn.004235c6
cmp byte [ebp - 0x811], 0
jne 0x42322c
cmp eax, 0x278d00
jle 0x423230
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 str.Renew
push dword [ebp - 0x81c]
mov dword [ebp - 0x818], 4
push ebx
call esi
test eax, eax
jne 0x42328c
mov ebx, dword [ebp - 0x834]
test ebx, ebx
jle 0x42328c
mov esi, dword [ebp - 0x82c]
push dword [esi]
call fcn.005818e3
pop ecx
add eax, ebx
push eax
push 0x687ee8
mov eax, esi
call fcn.004310f7
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x81c]
call fcn.004085f6
mov eax, edi
call fcn.0058ed17
ret