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

Disassembly:
push 0x7c
mov eax, 0x4fd8e4
call fcn.004e43cd
mov dword [ebp - 0x58], ecx
fldz
lea eax, [ebp - 0x64]
xor ebx, ebx
fst qword [ebp - 0x7c]
push eax
fstp qword [ebp - 0x70]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
call fcn.0040465c
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406877
push str._d__b__Y
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.00404a50
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401bc7
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401285
push 0x400
push ebx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x7c]
call fcn.00404716
mov dword [ebp - 0x54], 0x1e
mov dword [ebp - 0x38], ebx
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406877
mov esi, str.Demo
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004018fe
push str.Demo_Days
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004018fe
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401727
push 0x517638
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004018fe
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
mov edi, str.SoftwareDRPUERPTT_Demo
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4262ab
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x20]
call fcn.004e5295
pop ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.004018fe
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push ebx
mov esi, str.Demo_Days
push esi
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
call edi
push dword [ebp - 0x20]
call fcn.004e5295
pop ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
call fcn.004018fe
push dword [ebp - 0x10]
mov byte [ebp - 4], 8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x34]
call fcn.004e6672
mov dword [esp], 0x400
push ebx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
call fcn.00404716
mov esi, str._d__b__Y
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00407a47
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401285
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00407a47
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401285
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405d7e
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
jne 0x4261a6
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004068b4
test al, al
je 0x4260f1
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040699c
lea ecx, [ebp - 0x88]
call fcn.00405d2c
call fcn.004e54d0
mov dword [ebp - 0x30], eax
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x40]
call fcn.00406877
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push 0x511a8c
push eax
mov byte [ebp - 4], 9
call fcn.004022da
push dword [ebp - 0x40]
call fcn.004e6672
push dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
call fcn.004e6672
sub eax, dword [ebp - 0x30]
add esp, 0x14
mov dword [ebp - 0x54], eax
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x30]
call fcn.00406877
push dword [ebp - 0x54]
lea eax, [ebp - 0x30]
push 0x511a8c
push eax
mov byte [ebp - 4], 0xa
call fcn.004022da
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bc7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareDRPUERPTT_Demo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x54], eax
call fcn.00401745
mov ecx, dword [ebp - 0x54]
inc ecx
push ecx
push eax
push 1
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], eax
call fcn.00401745
mov ecx, dword [ebp - 0x54]
inc ecx
push ecx
push eax
push 1
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401285
jmp 0x426197
push dword [ebp - 0x34]
call fcn.004e6672
dec eax
pop ecx
mov dword [ebp - 0x54], eax
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x40]
call fcn.00406877
push dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push 0x511a8c
push eax
mov byte [ebp - 4], 0xb
call fcn.004022da
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bc7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareDRPUERPTT_Demo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x54], eax
call fcn.00401745
mov ecx, dword [ebp - 0x54]
inc ecx
push ecx
push eax
push 1
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], eax
call fcn.00401745
mov ecx, dword [ebp - 0x54]
inc ecx
push ecx
push eax
push 1
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.00401285
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareDRPUERPTT_Demo
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x44]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
push str.Demo_Days
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x44]
call fcn.004e5295
pop ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push str.Demo_Days
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
call fcn.004018fe
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00401bc7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareDRPUERPTT_Demo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax - 0xc]
push edi
lea ecx, [ebp - 0x18]
call fcn.00401745
inc edi
push edi
push eax
push 1
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax - 0xc]
push edi
lea ecx, [ebp - 0x14]
call fcn.00401745
inc edi
push edi
push eax
push 1
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x48]
call fcn.004e6672
pop ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401285
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401285
jmp 0x42630b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax - 0xc]
push esi
lea ecx, [ebp - 0x18]
call fcn.00401745
inc esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push 1
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax - 0xc]
push edi
lea ecx, [ebp - 0x14]
call fcn.00401745
inc edi
push edi
push eax
push 1
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call esi
mov esi, dword [ebp - 0x54]
lea eax, [esi - 1]
cmp eax, 0x1d
ja 0x426350
push 0x510f7c
lea ecx, [ebp - 0x48]
call fcn.004018fe
push esi
lea eax, [ebp - 0x48]
push str._d__Days_left_to_use
push eax
mov byte [ebp - 4], 0xd
call fcn.004022da
add esp, 0xc
push dword [ebp - 0x48]
mov ecx, 0x553940
call fcn.004b59e6
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401285
jmp 0x42636e
push str.Please_Register
mov ecx, 0x553940
call fcn.004b59e6
mov ecx, dword [ebp - 0x58]
push ebx
add ecx, 0x6e0
call fcn.004b5af3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401285
call fcn.004e44a5
ret