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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x32c
mov eax, dword [0x4cd724]
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.0048833a
and dword [ebp - 0x2c0], ebx
push 0x44
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.004677c0
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.00487d95
push dword [ebp - 0x2bc]
lea eax, [ebp + 0x20]
push 0x40
push eax
call fcn.00469f5d
add esp, 0x1c
push 1
push 1
lea eax, [ebp + 0x20]
push eax
call fcn.0048884b
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push esi
lea ecx, [ebp + 0x20]
push ecx
push eax
call fcn.00487ad8
push eax
lea eax, [ebp - 0x60]
push 0x40
push eax
call fcn.0046a10d
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 0x489975
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 0x4897bb
mov eax, dword [ebp - 0x2c0]
call fcn.0046d420
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 0x4897bb
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2c8]
call fcn.0048830d
mov eax, dword [ebp - 0x2c0]
cmp eax, 0x44
jb 0x4897a5
push 0x44
pop eax
push eax
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2a4]
push eax
call fcn.0046ab00
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 0x489802
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 0x48980a
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor esi, esi
push dword [ebp - 0x278]
call fcn.00487eb0
pop ecx
test eax, eax
jge 0x489860
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x489860
push 8
lea esi, [ebp - 0x268]
lea eax, [ebp - 0x270]
call fcn.00488061
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.00487e56
mov dword [ebp - 0x278], eax
push 0x44
pop eax
lea ecx, [ebp - 0x2a4]
call fcn.004882e2
push dword [ebp - 0x2c4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2b8], esi
jne 0x489975
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 0x4898f8
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.0048833a
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.00487df5
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 0x489975
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.0048833a
pop ecx
mov ebx, dword [ebp - 0x2b8]
push 0x4c39f4
call fcn.0048833a
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.004677af
add ebp, 0x64
leave
ret 0x14