Function at 0x459e60
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cc50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 0x10]
push eax
sub esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
call fcn.00459380
push str.515D3FFF_9236_408D_A516_69900458B165
mov edx, str.Amazon_Games
mov ecx, str.Creating_reg_entries__productInstallName:__s__productInstallGUID:__s_
call fcn.0041c5c0
add esp, 4
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
push 0x34
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
call fcn.0041b490
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
cmp dword [esi + 0x3c], 8
jb 0x459f07
mov ecx, dword [esi + 0x28]
push dword [esi + 0x38]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041a690
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0041b400
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x4c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push eax
push SysReAllocString
call edi
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x459fd4
mov ecx, str.Couldnt_create_root_key_with_KEY_WOW64_32KEY__creating_without
call fcn.0041c380
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push SysReAllocString
call edi
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x459fd4
mov ecx, str.Couldnt_create_reg_keys
call fcn.0041c4a0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x45a41c
cmp dword [esi + 0x54], 8
lea edx, [esi + 0x40]
mov eax, dword [esi + 0x50]
jb 0x459fe2
mov edx, dword [edx]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push str.AuthorizedCDFPrefix
push ecx
call edi
cmp dword [esi + 0x6c], 8
lea ecx, [esi + 0x58]
mov eax, dword [esi + 0x68]
jb 0x45a00b
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Comments
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x84], 8
lea ecx, [esi + 0x70]
mov eax, dword [esi + 0x80]
jb 0x45a036
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Contact
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x9c], 8
lea ecx, [esi + 0x88]
mov eax, dword [esi + 0x98]
jb 0x45a064
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0xb4], 8
lea ecx, [esi + 0xa0]
mov eax, dword [esi + 0xb0]
jb 0x45a092
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayName
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0xcc], 8
lea ecx, [esi + 0xb8]
mov eax, dword [esi + 0xc8]
jb 0x45a0c0
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0xd0]
push eax
push 4
push 0
push str.EstimatedSize
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0xe8], 8
lea ecx, [esi + 0xd4]
mov eax, dword [esi + 0xe4]
jb 0x45a105
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 2
push 0
push str.HelpLink
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x100], 8
lea ecx, [esi + 0xec]
mov eax, dword [esi + 0xfc]
jb 0x45a133
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.HelpTelephone
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x118], 8
lea ecx, [esi + 0x104]
mov eax, dword [esi + 0x114]
jb 0x45a161
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallDate
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x130], 8
lea ecx, [esi + 0x11c]
mov eax, dword [esi + 0x12c]
jb 0x45a18f
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallEventGUID
push dword [ebp - 0x48]
call edi
push 8
lea eax, [esi + 0x138]
push eax
push 0xb
push 0
push str.InstallFileTime
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x154], 8
lea ecx, [esi + 0x140]
mov eax, dword [esi + 0x150]
jb 0x45a1d4
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x16c], 8
lea ecx, [esi + 0x158]
mov eax, dword [esi + 0x168]
jb 0x45a202
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallSource
push dword [ebp - 0x48]
call edi
push 8
lea eax, [esi + 0x170]
push eax
push 0xb
push 0
push str.InstallTimingBundle
push dword [ebp - 0x48]
call edi
push 8
lea eax, [esi + 0x178]
push eax
push 0xb
push 0
push str.InstallTimingNetwork
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x180]
push eax
push 4
push 0
push str.Language
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x198], 8
lea ecx, [esi + 0x184]
mov eax, dword [esi + 0x194]
jb 0x45a275
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 2
push 0
push str.ModifyPath
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x19c]
push eax
push 4
push 0
push str.NoModify
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x1a0]
push eax
push 4
push 0
push str.NoRepair
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x1b8], 8
lea ecx, [esi + 0x1a4]
mov eax, dword [esi + 0x1b4]
jb 0x45a2d1
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Publisher
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x1d0], 8
lea ecx, [esi + 0x1bc]
mov eax, dword [esi + 0x1cc]
jb 0x45a2ff
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Readme
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x1e8], 8
lea ecx, [esi + 0x1d4]
mov eax, dword [esi + 0x1e4]
jb 0x45a32d
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Size
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x200], 8
lea ecx, [esi + 0x1ec]
mov eax, dword [esi + 0x1fc]
jb 0x45a35b
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 2
push 0
push str.UninstallString
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x218], 8
lea ecx, [esi + 0x204]
mov eax, dword [esi + 0x214]
jb 0x45a389
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x48]
call edi
cmp dword [esi + 0x230], 8
lea ecx, [esi + 0x21c]
mov eax, dword [esi + 0x22c]
jb 0x45a3b7
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.URLUpdateInfo
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x234]
push eax
push 4
push 0
push 0x546410
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x238]
push eax
push 4
push 0
push str.VersionMajor
push dword [ebp - 0x48]
call edi
push 4
lea eax, [esi + 0x23c]
push eax
push 4
push 0
push str.VersionMinor
push dword [ebp - 0x48]
call edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.0041b400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc