Function at 0x464760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582826
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x334], ecx
mov byte [ebp - 0x304], 0
push 0x1ff
push 0
lea eax, [ebp - 0x303]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
push str.DisplayName
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4647ee
xor eax, eax
jmp 0x464c9b
lea ecx, [ebp - 0xfc]
call fcn.00465880
mov dword [ebp - 4], 0
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0xe0]
call fcn.00405fb0
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
push str.ParentDisplayName
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x464888
mov dword [ebp - 0x308], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.004658f0
mov eax, dword [ebp - 0x308]
jmp 0x464c9b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x104], 4
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x100]
push ecx
push 0
push str.SystemComponent
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4648fb
cmp dword [ebp - 0x100], 4
jne 0x4648fb
cmp dword [ebp - 0x18], 0
jbe 0x4648fb
mov dword [ebp - 0x30c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.004658f0
mov eax, dword [ebp - 0x30c]
jmp 0x464c9b
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
push str.DisplayVersion
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00405fb0
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
push str.InstallLocation
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00405fb0
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x100]
push eax
push 0
push str.Publisher
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0x70]
call fcn.00405fb0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x104], 4
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x100]
push edx
push 0
push str.EstimatedSize
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x464aa9
cmp dword [ebp - 0x100], 4
jne 0x464aa9
push 0x200
push 0
lea ecx, [ebp - 0x304]
push ecx
call fcn.00562540
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x33c], edx
mov dword [ebp - 0x338], 0
fild qword [ebp - 0x33c]
fdiv qword [0x601858]
sub esp, 8
fstp qword [esp]
push str._.1fMB
push 0x200
lea eax, [ebp - 0x304]
push eax
call fcn.0055b87e
add esp, 0x14
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00405fb0
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x100]
push edx
push 0
push 0x5e4438
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x100], 1
jne 0x464b0f
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00405fb0
jmp 0x464bbd
cmp dword [ebp - 0x100], 4
jne 0x464bab
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x310], esp
push str._Y__m__d__H:_M:_S
call fcn.00405ef0
mov dword [ebp - 0x340], eax
movzx edx, byte [ebp - 0x301]
shl edx, 0x18
movzx eax, byte [ebp - 0x302]
shl eax, 0x10
add edx, eax
movzx ecx, byte [ebp - 0x303]
shl ecx, 8
add edx, ecx
movzx eax, byte [ebp - 0x304]
add edx, eax
push edx
lea ecx, [ebp - 0x32c]
push ecx
call fcn.004188b0
add esp, 0x24
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x348], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x348]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00405f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x32c]
call fcn.00405f70
jmp 0x464bbd
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00405fb0
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x100]
push edx
push 0
push str.DisplayIcon
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00405fb0
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x104], 0x200
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x100]
push edx
push 0
push 0x5e4464
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00405fb0
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0046a3c0
mov dword [ebp - 0x330], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.004658f0
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret 8