Function at 0x41e59c
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x5b8436
call fcn.0058705b
mov dword [ebp - 4], 2
push 0x688cb0
lea eax, [ebp - 0x10]
push eax
call fcn.00408518
mov byte [ebp - 4], 3
push 1
push str.IsGlobal
push str.Update
call fcn.004019e0
test al, al
lea eax, [ebp - 0x10]
je 0x41e717
push str.Global
push eax
call fcn.004085db
lea eax, [ebp - 0x18]
push eax
mov ecx, str.smthr.lic
call fcn.0042250b
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x41e709
lea esi, [ebp - 0x14]
call fcn.0042d425
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edi, esi
call fcn.0040857c
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push 0x688d1c
push eax
call fcn.00408518
mov byte [ebp - 4], 7
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042d561
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 8
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x688d28
push eax
call fcn.00408518
mov byte [ebp - 4], 9
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042d561
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 0xa
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x688d34
push eax
call fcn.00408518
mov byte [ebp - 4], 0xb
mov eax, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042d561
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x41e6c9
mov eax, 0x688d40
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
push ecx
call fcn.00408518
mov byte [ebp - 4], 0xc
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x688d44
push eax
call fcn.00408518
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0042d561
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.0045d236
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00408559
jmp 0x41e722
push str.Nus
push eax
call fcn.004085db
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.00408793
push eax
push 1
push 0x688d5c
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.00408793
push eax
push 1
push 0x688d68
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.00408793
push eax
push 1
push str.Date
push dword [ebp - 0x18]
push ebx
call edi
cmp dword [ebp + 0x14], 0
je 0x41e7c4
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x41e7a3
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.00408559
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00408559
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00408559
call fcn.00587133
ret