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

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x338
mov eax, dword [0x4cd724]
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.0048833a
pop ecx
test edi, edi
je 0x48a332
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.00487d35
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 0x48a6df
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 0x48a6d4
cmp dword [ebp - 0x30], 0x44
ja 0x48a6cd
cmp dword [ebp - 0x4c], 3
jne 0x48a6cd
push 0x44
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004677c0
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 0x48a6d4
lea eax, [ebp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.0046d420
mov eax, esp
push esi
lea ecx, [ebp + 0x234]
push ecx
push eax
call fcn.00487afb
push dword [ebp + 0x2d8]
push eax
push dword [ebp + 0x2d8]
push dword [ebp - 0x28]
call fcn.0046a058
mov eax, dword [ebp - 0x30]
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.0048830d
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.0048953e
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.00489cf3
add esp, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48a6d4
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x38], ebx
call fcn.00487eb0
pop ecx
test eax, eax
je 0x48a4ab
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.0048963a
push ebx
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x34]
call fcn.00489384
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x48a544
test byte [ebp + 0x10], 1
jne 0x48a544
cmp byte [ebp - 0x73], 3
jne 0x48a541
cmp byte [ebp - 0x66], 2
je 0x48a4e0
cmp byte [ebp - 0x66], 3
jne 0x48a541
lea esi, [ebp + 0x1c]
call fcn.004880ee
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea esi, [ebp - 0x40]
call fcn.004880ee
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.004880bc
cmp eax, ebx
mov dword [ebp - 0x38], eax
jle 0x48a52f
lea eax, [ebp - 0x80]
push eax
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x48a541
push str.SerialNumber_Get__Computer_system_time_changed_
jmp 0x48a534
push str.SerialNumber_Get__Time_elapsed._Serial_has_expired.
mov dword [ebp - 0x38], ebx
xor ebx, ebx
call fcn.0048833a
pop ecx
jmp 0x48a544
mov dword [ebp - 0x24], ebx
cmp byte [ebp - 0x73], 3
jne 0x48a57b
cmp byte [ebp - 0x66], 1
je 0x48a556
cmp byte [ebp - 0x66], 7
jne 0x48a57b
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.00489b79
test eax, eax
je 0x48a57e
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x24], ebx
jne 0x48a5a5
cmp dword [ebp - 0x3c], ebx
je 0x48a5a5
movzx eax, byte [ebp - 0x65]
cmp dword [ebp - 0x58], eax
jbe 0x48a5a5
push str.SerialNumber_Get__Count_too_big._Serial_has_expired.
xor ebx, ebx
mov dword [ebp - 0x24], 1
call fcn.0048833a
pop ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x48a5b7
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 1
jne 0x48a6b5
or dword [ebp + 0x10], 1
call fcn.00487e56
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.004882e2
call fcn.00487ece
test eax, eax
jne 0x48a63a
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 0x48a63a
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push esi
push dword [ebp - 0x28]
push eax
call fcn.00487ad8
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.00487df5
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 0x48a6b3
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push esi
push dword [ebp - 0x28]
push eax
call fcn.00487ad8
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 0x48a6d4
push 0x28
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x44]
call fcn.0046ab00
add esp, 0xc
jmp 0x48a6d4
mov dword [ebp - 0x2c], 0xffff0000
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48a6e6
mov dword [ebp - 0x2c], 0x103
mov ebx, dword [ebp - 0x2c]
push 0x4c3fa8
call fcn.0048833a
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.004677af
add ebp, 0x2b8
leave
ret 0x24