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

Disassembly:
push 0xffffffffffffffff
push 0x533374
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
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.00471a76
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 0x483acc
push 0x206
mov word [esp + 0x244], ax
mov ebp, ebx
lea eax, [esp + 0x246]
push ebx
push eax
call fcn.00507230
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 0x483ac2
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x240]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x450]
push 0x56bf1c
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 0x56bf48
push dword [esp + 0x30]
mov byte [esp + 0x40], bl
call edi
test eax, eax
jne 0x4839a4
cmp dword [esp + 0x14], 4
jne 0x4839a4
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.00507230
add esp, 0xc
mov dword [esp + 0x18], 0x1fe
cmp byte [esp + 0x28], 0
mov dword [esp + 0x14], ebx
je 0x483a20
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 0x483a0f
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 0x483a20
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
jne 0x483a20
cmp word [esp + 0x40], 0
jne 0x483a59
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 0x483915
jmp 0x483ac2
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.00507230
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x483a7d
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 0x483ac0
cmp dword [esp + 0x14], 1
jne 0x483ac0
cmp word [esp + 0x40], ax
je 0x483ac0
lea eax, [esp + 0x40]
push eax
call fcn.00450d9e
pop ecx
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00450d31
mov bl, 1
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00450cd2
mov ecx, dword [esp + 0xc5c]
add ecx, 0xfffffff0
call fcn.00450cd2
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.005026a3
add esp, 0xc44
ret