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

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x338
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
mov eax, dword [ebp + 0x2dc]
push ebx
push esi
push edi
lea esi, [ebp + 0x2c0]
lea edi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x2d4]
mov edi, dword [ebp + 0x2e0]
push str._SerialNumber_Get
xor ebx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edi
call fcn.00488b9a
pop ecx
test edi, edi
je 0x48ab92
mov dword [edi], 1
mov byte [esi], bl
sub esp, 0x10
lea esi, [ebp + 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x34]
movsd dword es:[edi], dword [esi]
call fcn.00488595
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp + 0x34]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48af3f
lea eax, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x234]
push eax
push dword [ebp + 0x2d0]
mov dword [ebp - 0x50], 0x40
push dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48af34
cmp dword [ebp - 0x30], 0x44
ja 0x48af2d
cmp dword [ebp - 0x4c], 3
jne 0x48af2d
push 0x44
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00468010
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp + 0x234]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48af34
lea eax, [ebp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.0046dc70
mov eax, esp
push esi
lea ecx, [ebp + 0x234]
push ecx
push eax
call fcn.0048835b
push dword [ebp + 0x2d8]
push eax
push dword [ebp + 0x2d8]
push dword [ebp - 0x28]
call fcn.0046a8a8
mov eax, dword [ebp - 0x30]
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00488b6d
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
lea esi, [ebp + 0x24]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00489d9e
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x10
lea esi, [ebp + 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0048a553
add esp, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48af34
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x38], ebx
call fcn.00488710
pop ecx
test eax, eax
je 0x48ad0b
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00489e9a
push ebx
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x34]
call fcn.00489be4
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48ada4
test byte [ebp + 0x10], 1
jne 0x48ada4
cmp byte [ebp - 0x73], 3
jne 0x48ada1
cmp byte [ebp - 0x66], 2
je 0x48ad40
cmp byte [ebp - 0x66], 3
jne 0x48ada1
lea esi, [ebp + 0x1c]
call fcn.0048894e
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea esi, [ebp - 0x40]
call fcn.0048894e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x1c]
mov ecx, esi
call fcn.0048891c
cmp eax, ebx
mov dword [ebp - 0x38], eax
jle 0x48ad8f
lea eax, [ebp - 0x80]
push eax
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x48ada1
push str.SerialNumber_Get__Computer_system_time_changed_
jmp 0x48ad94
push str.SerialNumber_Get__Time_elapsed._Serial_has_expired.
mov dword [ebp - 0x38], ebx
xor ebx, ebx
call fcn.00488b9a
pop ecx
jmp 0x48ada4
mov dword [ebp - 0x24], ebx
cmp byte [ebp - 0x73], 3
jne 0x48addb
cmp byte [ebp - 0x66], 1
je 0x48adb6
cmp byte [ebp - 0x66], 7
jne 0x48addb
movzx eax, byte [ebp - 0x66]
push eax
lea eax, [ebp - 0x58]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 1
movsd dword es:[edi], dword [esi]
call fcn.0048a3d9
test eax, eax
je 0x48adde
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x24], ebx
jne 0x48ae05
cmp dword [ebp - 0x3c], ebx
je 0x48ae05
movzx eax, byte [ebp - 0x65]
cmp dword [ebp - 0x58], eax
jbe 0x48ae05
push str.SerialNumber_Get__Count_too_big._Serial_has_expired.
xor ebx, ebx
mov dword [ebp - 0x24], 1
call fcn.00488b9a
pop ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x48ae17
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 1
jne 0x48af15
or dword [ebp + 0x10], 1
call fcn.004886b6
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.00488b42
call fcn.0048872e
test eax, eax
jne 0x48ae9a
lea eax, [ebp - 0x24]
push eax
push 0xf003f
push ebx
lea eax, [ebp + 0x34]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48ae9a
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046dc70
mov eax, esp
push esi
push dword [ebp - 0x28]
push eax
call fcn.00488338
push 0x44
lea ecx, [ebp - 0x20]
push ecx
push 3
push ebx
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x10
lea esi, [ebp + 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x34]
movsd dword es:[edi], dword [esi]
call fcn.00488655
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x24]
push eax
xor eax, eax
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48af13
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046dc70
mov eax, esp
push esi
push dword [ebp - 0x28]
push eax
call fcn.00488338
push 0x44
lea ecx, [ebp - 0x20]
push ecx
push 3
push 0
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x44], ebx
je 0x48af34
push 0x28
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x44]
call fcn.0046b350
add esp, 0xc
jmp 0x48af34
mov dword [ebp - 0x2c], 0xffff0000
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48af46
mov dword [ebp - 0x2c], 0x103
mov ebx, dword [ebp - 0x2c]
push 0x4c5278
call fcn.00488b9a
pop ecx
mov eax, ebx
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00467fff
add ebp, 0x2b8
leave
ret 0x24