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

Disassembly:
push 0xffffffffffffffff
push 0x531193
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x58b700]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58b700]
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.004705a5
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 0x481cc6
push 0x206
mov word [esp + 0x244], ax
mov ebp, ebx
lea eax, [esp + 0x246]
push ebx
push eax
call fcn.00505440
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 0x481cbc
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x240]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x450]
push str._ls_ls
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 0x569708
push dword [esp + 0x30]
mov byte [esp + 0x40], bl
call edi
test eax, eax
jne 0x481b9e
cmp dword [esp + 0x14], 4
jne 0x481b9e
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.00505440
add esp, 0xc
mov dword [esp + 0x18], 0x1fe
cmp byte [esp + 0x28], 0
mov dword [esp + 0x14], ebx
je 0x481c1a
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 0x481c09
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 0x481c1a
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
jne 0x481c1a
cmp word [esp + 0x40], 0
jne 0x481c53
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 0x481b0f
jmp 0x481cbc
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.00505440
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x481c77
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 0x481cba
cmp dword [esp + 0x14], 1
jne 0x481cba
cmp word [esp + 0x40], ax
je 0x481cba
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.005008c3
add esp, 0xc44
ret