Function at 0x9883d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x2c], eax
xor eax, eax
push esi
xor ecx, ecx
push edi
mov dword [esp + 0x10], 0
mov word [esp + 0x24], cx
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
call fcn.00968110
test eax, eax
je 0x988450
call fcn.00968110
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x988435
lea edx, [esp + 0x10]
push edx
jmp 0x98845b
lea eax, [esp + 0x10]
push eax
push 0x101
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call fcn.0097eda0
jmp 0x98846b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call edi
test esi, esi
jne 0x988634
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push esi
push str.InstallDate
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9884b0
cmp dword [esp + 0x14], esi
jne 0x988517
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 4
call fcn.00968110
test eax, eax
je 0x988513
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x9884d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
push 1
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call ebx
mov esi, eax
push esi
call edi
test esi, esi
jne 0x988511
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push str.InstallDate
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
cmp dword [esp + 0x14], esi
jbe 0x988625
mov ecx, 0xab713c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0094c620
mov edi, eax
cmp edi, esi
je 0x988625
push str.RtlSecondsSince1970ToTime
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x98861c
push 0x103
lea eax, [esp + 0x14d]
push 0
push eax
mov byte [esp + 0x154], 0
call fcn.00a7ffb0
push 0x103
lea ecx, [esp + 0x51]
push 0
push ecx
mov byte [esp + 0x58], 0
call fcn.00a7ffb0
mov eax, dword [esp + 0x2c]
add esp, 0x18
lea edx, [esp + 0x1c]
push edx
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
lea edx, [esp + 0x14c]
push edx
push str.dd_MMM_yyyy
lea eax, [esp + 0x30]
push eax
push 0
push 0x409
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0x104
lea ecx, [esp + 0x44]
push ecx
push str.HH:mm:ss
lea edx, [esp + 0x30]
push edx
push 0
push 0x409
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14c]
push ecx
push 0xab7fc4
push edx
call fcn.00a78f30
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x988634
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret