Function at 0x418300
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4948a1
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
push 0x4989d8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004021f0
add esp, 8
movzx eax, al
test eax, eax
jne 0x418363
push 0x20006
push 0x498a14
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402190
add esp, 0x10
push 2
push 0x498a50
lea ecx, [ebp - 0x88]
push ecx
call fcn.004165e0
mov ecx, eax
call fcn.004216e0
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00402cc0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xcc]
push eax
push 0x498a5c
push 0x498a6c
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402130
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00403f90
push 0x498aa8
lea ecx, [ebp - 0x28]
call fcn.00404650
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x28]
push ecx
push str.DisplayName
push 0x498ac0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402130
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f90
push 0x498afc
lea ecx, [ebp - 0x40]
call fcn.00404650
mov dword [ebp - 4], 3
push 2
lea edx, [ebp - 0x40]
push edx
push str.DisplayVersion
push 0x498b14
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402130
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403f90
push 2
push 0x498b50
lea eax, [ebp - 0xb8]
push eax
call fcn.004165e0
mov ecx, eax
call fcn.004216e0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00402cc0
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xdc]
push edx
push str.DisplayIcon
push 0x498b68
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402130
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00403f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00403f90
push 0x498ba4
lea ecx, [ebp - 0x58]
call fcn.00404650
mov dword [ebp - 4], 6
push 2
lea eax, [ebp - 0x58]
push eax
push str.Publisher
push 0x498bbc
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402130
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403f90
push 0
call fcn.0041a340
add esp, 4
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
lea ecx, [ebp - 0xbc]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallHeinote
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4185fa
push 0
push 0
push 0
push 0
push 0x498c34
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4185ce
push 8
lea eax, [ebp - 0xe4]
push eax
push 0xb
push 0
push 0x498c4c
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 8
lea edx, [ebp - 0xe4]
push edx
push 0xb
push 0
push str.LastUpdateDate
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret