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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x32c
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
lea esi, [ebp + 0x6c]
lea edi, [ebp - 0x2b4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str._SerialNumber_UpdateKeyTime
xor ebx, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2bc], eax
call fcn.00488b9a
and dword [ebp - 0x2c0], ebx
push 0x44
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.00468010
lea esi, [ebp - 0x2b4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp - 0x260]
movsd dword es:[edi], dword [esi]
call fcn.004885f5
push dword [ebp - 0x2bc]
lea eax, [ebp + 0x20]
push 0x40
push eax
call fcn.0046a7ad
add esp, 0x1c
push 1
push 1
lea eax, [ebp + 0x20]
push eax
call fcn.004890ab
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046dc70
mov eax, esp
push esi
lea ecx, [ebp + 0x20]
push ecx
push eax
call fcn.00488338
push eax
lea eax, [ebp - 0x60]
push 0x40
push eax
call fcn.0046a95d
add esp, 0xc
lea eax, [ebp - 0x2c4]
push eax
mov esi, 0x20019
push esi
push 0
mov eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov edi, closesocket
push edi
call ebx
mov dword [ebp - 0x2b8], eax
xor eax, eax
cmp dword [ebp - 0x2b8], eax
jne 0x48a1d5
lea ecx, [ebp - 0x2c0]
push ecx
push eax
push eax
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x48a01b
mov eax, dword [ebp - 0x2c0]
call fcn.0046dc70
mov dword [ebp - 0x2c8], esp
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x60]
push 0
push 0
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x48a01b
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2c8]
call fcn.00488b6d
mov eax, dword [ebp - 0x2c0]
cmp eax, 0x44
jb 0x48a005
push 0x44
pop eax
push eax
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2a4]
push eax
call fcn.0046b350
add esp, 0xc
lea eax, [ebp - 0x2bc]
push eax
push esi
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x2c4]
call ebx
test eax, eax
lea eax, [ebp - 0x270]
push eax
jne 0x48a062
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48a06a
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor esi, esi
push dword [ebp - 0x278]
call fcn.00488710
pop ecx
test eax, eax
jge 0x48a0c0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x48a0c0
push 8
lea esi, [ebp - 0x268]
lea eax, [ebp - 0x270]
call fcn.004888c1
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x26c]
pop ecx
mov dword [ebp - 0x264], eax
xor esi, esi
and dword [ebp - 0x274], 0xfffffffe
call fcn.004886b6
mov dword [ebp - 0x278], eax
push 0x44
pop eax
lea ecx, [ebp - 0x2a4]
call fcn.00488b42
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2b8], esi
jne 0x48a1d5
lea eax, [ebp - 0x2c4]
push eax
push 0x20006
push esi
lea eax, [ebp - 0x260]
push eax
push edi
call ebx
mov dword [ebp - 0x2b8], eax
cmp eax, esi
jne 0x48a158
push dword [ebp - 0x2c0]
lea eax, [ebp - 0x2a4]
push eax
push 3
push esi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c4]
mov ebx, eax
mov dword [ebp - 0x2b8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.__SerialNumber_UpdateKeyTime_Machine_Updated_
call fcn.00488b9a
pop ecx
sub esp, 0x10
lea esi, [ebp - 0x2b4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp - 0x260]
movsd dword es:[edi], dword [esi]
call fcn.00488655
add esp, 0x10
lea eax, [ebp - 0x2bc]
push eax
push 0x20006
push 0
mov eax, ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48a1d5
push dword [ebp - 0x2c0]
lea eax, [ebp - 0x2a4]
push eax
push 3
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2bc]
mov ebx, eax
mov dword [ebp - 0x2b8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.__SerialNumber_UpdateKeyTime_User_Updated_
call fcn.00488b9a
pop ecx
mov ebx, dword [ebp - 0x2b8]
push 0x4c4cc4
call fcn.00488b9a
pop ecx
mov eax, ebx
lea esp, [ebp - 0x2d4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x60]
xor ecx, ebp
call fcn.00467fff
add ebp, 0x64
leave
ret 0x14