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

Disassembly:
push 0xffffffffffffffff
push 0x534a20
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00472b9f
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 0x484ec0
push 0x206
mov word [esp + 0x244], ax
mov ebp, ebx
lea eax, [esp + 0x246]
push ebx
push eax
call fcn.00508660
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 0x484eb6
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x240]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x450]
push 0x56d30c
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 0x56d338
push dword [esp + 0x30]
mov byte [esp + 0x40], bl
call edi
test eax, eax
jne 0x484d98
cmp dword [esp + 0x14], 4
jne 0x484d98
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.00508660
add esp, 0xc
mov dword [esp + 0x18], 0x1fe
cmp byte [esp + 0x28], 0
mov dword [esp + 0x14], ebx
je 0x484e14
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 0x484e03
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 0x484e14
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
jne 0x484e14
cmp word [esp + 0x40], 0
jne 0x484e4d
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 0x484d09
jmp 0x484eb6
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.00508660
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x484e71
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 0x484eb4
cmp dword [esp + 0x14], 1
jne 0x484eb4
cmp word [esp + 0x40], ax
je 0x484eb4
lea eax, [esp + 0x40]
push eax
call fcn.00450d8e
pop ecx
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00450d21
mov bl, 1
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00450cc2
mov ecx, dword [esp + 0xc5c]
add ecx, 0xfffffff0
call fcn.00450cc2
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.00503aee
add esp, 0xc44
ret