Function at 0x41e6eb
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x5b167c
call fcn.00580b4b
mov dword [ebp - 4], 2
push 0x6813a0
lea eax, [ebp - 0x10]
push eax
call fcn.0040852d
mov byte [ebp - 4], 3
push 1
push str.IsGlobal
push str.Update
call fcn.004019d7
test al, al
lea eax, [ebp - 0x10]
je 0x41e866
push str.Global
push eax
call fcn.004085f0
lea eax, [ebp - 0x18]
push eax
mov ecx, str.smthr.lic
call fcn.004226aa
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x41e858
lea esi, [ebp - 0x14]
call fcn.0042c801
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edi, esi
call fcn.00408591
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004084fe
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push 0x681408
push eax
call fcn.0040852d
mov byte [ebp - 4], 7
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042c93d
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.004084fe
mov byte [ebp - 4], 8
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x681414
push eax
call fcn.0040852d
mov byte [ebp - 4], 9
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042c93d
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004084fe
mov byte [ebp - 4], 0xa
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x681420
push eax
call fcn.0040852d
mov byte [ebp - 4], 0xb
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042c93d
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x41e818
mov eax, 0x68142c
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
push ecx
call fcn.0040852d
mov byte [ebp - 4], 0xc
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x681430
push eax
call fcn.0040852d
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0042c93d
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.00466fa2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040856e
jmp 0x41e871
push str.Nus
push eax
call fcn.004085f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edi, dword [ebp - 0x10]
add eax, eax
push eax
lea esi, [ebp + 8]
call fcn.004087a8
push eax
push 1
push 0x681448
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x10]
add eax, eax
push eax
lea esi, [ebp + 0xc]
mov dword [ebp - 0x18], ecx
call fcn.004087a8
push eax
push 1
push 0x681454
push dword [ebp - 0x18]
push ebx
call edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x10]
add eax, eax
push eax
lea esi, [ebp + 0x10]
mov dword [ebp - 0x18], ecx
call fcn.004087a8
push eax
push 1
push str.Date
push dword [ebp - 0x18]
push ebx
call edi
cmp dword [ebp + 0x14], 0
je 0x41e913
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41e8f2
sub eax, edx
sar eax, 1
add eax, eax
push eax
push dword [ebp + 0x14]
push 1
push str.Local
push dword [ebp - 0x10]
push ebx
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040856e
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040856e
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040856e
call fcn.00580c23
ret