Function at 0x4675d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5889e6
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x61b000]
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.00568440
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 0x46765e
xor eax, eax
jmp 0x467b0b
lea ecx, [ebp - 0xfc]
call fcn.00467b30
mov dword [ebp - 4], 0
lea edx, [ebp - 0x304]
push edx
lea ecx, [ebp - 0xe0]
call fcn.00406110
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00568440
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 0x4676f8
mov dword [ebp - 0x308], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00467ba0
mov eax, dword [ebp - 0x308]
jmp 0x467b0b
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 0x46776b
cmp dword [ebp - 0x100], 4
jne 0x46776b
cmp dword [ebp - 0x18], 0
jbe 0x46776b
mov dword [ebp - 0x30c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00467ba0
mov eax, dword [ebp - 0x30c]
jmp 0x467b0b
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00568440
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.00406110
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00568440
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.00406110
push 0x200
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.00568440
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.00406110
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 0x467919
cmp dword [ebp - 0x100], 4
jne 0x467919
push 0x200
push 0
lea ecx, [ebp - 0x304]
push ecx
call fcn.00568440
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x33c], edx
mov dword [ebp - 0x338], 0
fild qword [ebp - 0x33c]
fdiv qword [0x607948]
sub esp, 8
fstp qword [esp]
push str._.1fMB
push 0x200
lea eax, [ebp - 0x304]
push eax
call fcn.005618f5
add esp, 0x14
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00406110
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00568440
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 0x5ea5a8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x100], 1
jne 0x46797f
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00406110
jmp 0x467a2d
cmp dword [ebp - 0x100], 4
jne 0x467a1b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x310], esp
push str._Y__m__d__H:_M:_S
call fcn.00406050
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.00417f90
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.004060f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x32c]
call fcn.004060d0
jmp 0x467a2d
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00406110
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00568440
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.00406110
push 0x200
push 0
lea edx, [ebp - 0x304]
push edx
call fcn.00568440
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.UninstallString
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.00406110
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0046d630
mov dword [ebp - 0x330], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00467ba0
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.00560c61
mov esp, ebp
pop ebp
ret 8