Function at 0x45d2f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterCAJ
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45d58f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d380
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayName
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x45d569
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d3c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x45d569
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00557410
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push dword [ebp - 0x214]
push ebx
push eax
call esi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d421
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45d569
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00557410
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push ebx
push eax
call esi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d486
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45d569
mov eax, dword [ebp - 0x21c]
xor esi, esi
test eax, eax
je 0x45d4e7
mov ecx, dword [ebp - 0x210]
mov edx, str.DisplayVersion
push eax
call fcn.0045d5b0
mov esi, eax
add esp, 4
test esi, esi
js 0x45d56e
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x45d507
mov ecx, dword [ebp - 0x210]
mov edx, str.URLInfoAbout
push eax
call fcn.0045d5b0
add esp, 4
mov esi, eax
test esi, esi
js 0x45d56e
test edi, edi
je 0x45d525
mov ecx, dword [ebp - 0x210]
mov edx, 0x5f2cd4
push edi
call fcn.0045d5b0
add esp, 4
mov esi, eax
test esi, esi
js 0x45d56e
test edi, edi
je 0x45d56e
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
mov edx, str.InstallTime
call fcn.0045d5b0
add esp, 4
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret 0x20
mov esi, 0x80004005
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553c8d
mov esp, ebp
pop ebp
ret 0x20