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

Disassembly:
push 0xffffffffffffffff
push 0x532798
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x58d700]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58d700]
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.0047114b
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 0x483243
push 0x206
mov word [esp + 0x244], ax
mov ebp, ebx
lea eax, [esp + 0x246]
push ebx
push eax
call fcn.00506530
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 0x483239
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x240]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x450]
push 0x56b30c
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 0x56b338
push dword [esp + 0x30]
mov byte [esp + 0x40], bl
call edi
test eax, eax
jne 0x48311b
cmp dword [esp + 0x14], 4
jne 0x48311b
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.00506530
add esp, 0xc
mov dword [esp + 0x18], 0x1fe
cmp byte [esp + 0x28], 0
mov dword [esp + 0x14], ebx
je 0x483197
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 0x483186
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 0x483197
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
jne 0x483197
cmp word [esp + 0x40], 0
jne 0x4831d0
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 0x48308c
jmp 0x483239
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.00506530
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4831f4
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 0x483237
cmp dword [esp + 0x14], 1
jne 0x483237
cmp word [esp + 0x40], ax
je 0x483237
lea eax, [esp + 0x40]
push eax
call fcn.00450d3f
pop ecx
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00450cc6
mov bl, 1
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00450c64
mov ecx, dword [esp + 0xc5c]
add ecx, 0xfffffff0
call fcn.00450c64
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.005019be
add esp, 0xc44
ret