Function at 0x4818a4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x530fdc
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x58a700]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58a700]
xor eax, esp
push eax
lea eax, [esp + 0xc4c]
mov dword fs:[0], eax
mov ebp, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0xc64]
mov esi, dword [esp + 0xc60]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc5c]
xor ebx, ebx
push eax
mov edx, str.Software_
mov dword [esp + 0xc58], ebx
lea ecx, [esp + 0x24]
call fcn.0047052e
pop ecx
xor eax, eax
inc eax
mov byte [esp + 0xc54], al
lea eax, [esp + 0x24]
push eax
push 9
push ebx
push dword [esp + 0x2c]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481b49
push 0x206
mov word [esp + 0x244], ax
mov ebp, ebx
lea eax, [esp + 0x246]
push ebx
push eax
call fcn.00505190
add esp, 0xc
mov dword [esp + 0x2c], 0x104
lea eax, [esp + 0x2c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0x254]
push eax
push ebx
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x481b3f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x240]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x450]
push 0x568694
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push 9
push ebx
lea eax, [esp + 0x454]
push eax
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], ebx
push eax
push ebx
push 0x5686c0
push dword [esp + 0x30]
mov byte [esp + 0x40], bl
call edi
test eax, eax
jne 0x481a21
cmp dword [esp + 0x14], 4
jne 0x481a21
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x30], ecx
push 1
movzx eax, al
pop ecx
cmove eax, ecx
mov dword [esp + 0x28], eax
xor eax, eax
push 0x1fc
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push ebx
push eax
call fcn.00505190
add esp, 0xc
mov dword [esp + 0x18], 0x1fe
cmp byte [esp + 0x28], 0
mov dword [esp + 0x14], ebx
je 0x481a9d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push str.InstallInfo
push dword [esp + 0x30]
call edi
test eax, eax
je 0x481a8c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push str.InstallDate
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x481a9d
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
jne 0x481a9d
cmp word [esp + 0x40], 0
jne 0x481ad6
push ebx
push ebx
xor eax, eax
mov dword [esp + 0x34], 0x104
push ebx
push ebx
mov word [esp + 0x250], ax
inc ebp
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x254]
push eax
push ebp
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x481992
jmp 0x481b3f
mov eax, 0x1fe
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00505190
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x481afa
mov esi, dword [esi]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push esi
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x481b3d
cmp dword [esp + 0x14], 1
jne 0x481b3d
cmp word [esp + 0x40], ax
je 0x481b3d
lea eax, [esp + 0x40]
push eax
call fcn.00450bfe
pop ecx
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00450b91
mov bl, 1
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00450b32
mov ecx, dword [esp + 0xc5c]
add ecx, 0xfffffff0
call fcn.00450b32
mov al, bl
mov ecx, dword [esp + 0xc4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0050061e
add esp, 0xc44
ret