Function at 0x45a990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c06a
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x660], edi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a3360
lea eax, [ebp - 0x640]
push eax
call fcn.0043ee00
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x45a9f0
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
push dword [edi]
lea eax, [ebp - 0x420]
push eax
call esi
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x45aa42
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45aa38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b06d
push edx
push ecx
call fcn.004864f3
add esp, 8
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b072
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x45aa84
movzx eax, ax
lea ecx, [ebp - 0x664]
push eax
call fcn.00409d50
jmp 0x45aab2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aa90
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x664]
call fcn.0040ab90
mov eax, dword [ebp - 0x664]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 1
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
lea eax, [ebp - 0x640]
push eax
call fcn.0043efe0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x45ab00
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x674]
call fcn.00408c10
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x45ab50
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ab46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b07c
push edx
push ecx
call fcn.004864f3
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
mov eax, dword [ebp - 0x674]
mov dword [ebp - 0x62c], 7
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a3360
lea eax, [ebp - 0x658]
push eax
call fcn.0043ee60
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x45abb7
mov eax, dword [eax]
push eax
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call esi
mov edx, dword [ebp - 0x644]
cmp edx, 8
jb 0x45ac03
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45abf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b081
push edx
push ecx
call fcn.004864f3
add esp, 8
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b086
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 5
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
lea edi, [ebp - 0x218]
mov byte [ebp - 4], 6
shr edi, 0x10
test edi, edi
jne 0x45ac69
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x65c]
push esi
call fcn.00409d50
jmp 0x45ac9d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ac72
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040ab90
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x66c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x65c]
push eax
call fcn.004095b0
mov edx, dword [ebp - 0x65c]
or ebx, 0xffffffff
add esp, 8
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45acdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b09a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
mov byte [ebp - 4], 8
test edi, edi
jne 0x45ad40
push esi
lea ecx, [ebp - 0x65c]
call fcn.00409d50
jmp 0x45ad72
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ad50
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040ab90
mov eax, dword [ebp - 0x65c]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 9
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x658]
push eax
call fcn.0043ec00
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x45adb7
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x670]
call fcn.00408c10
mov edx, dword [ebp - 0x644]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x45ae07
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45adfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b0a4
push edx
push ecx
call fcn.004864f3
add esp, 8
xor eax, eax
mov dword [ebp - 0x648], 0
mov word [ebp - 0x658], ax
mov eax, dword [ebp - 0x670]
mov dword [ebp - 0x644], 7
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Publisher
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a3360
mov eax, dword [ebp - 0x660]
add esp, 0xc
push str.Uninstall.exe
push dword [eax]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b0a9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 0xd
test eax, 0xffff0000
jne 0x45aeb3
movzx eax, ax
lea ecx, [ebp - 0x668]
push eax
call fcn.00409d50
jmp 0x45aee2
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aec0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.0040ab90
mov edi, dword [ebp - 0x668]
mov byte [ebp - 4], 0xe
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x45b0b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
mov eax, 0x52b5e4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x660]
test eax, 0xffff0000
jne 0x45af44
movzx eax, ax
push eax
call fcn.00409d50
jmp 0x45af50
push 0
push 0x52b5e4
call fcn.0040ab90
mov esi, dword [ebp - 0x660]
mov byte [ebp - 4], 0xe
mov eax, dword [esi - 0xc]
add eax, eax
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
push 1
push str.URLInfoAbout
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call eax
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45af90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45afab
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x670]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45afcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x65c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45afed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x66c]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b00e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x674]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b02f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x664]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45b051
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret
call fcn.004be5e3
push 0x80004005
call fcn.00409360
call fcn.004be5e3
call fcn.004be5e3
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
call fcn.004be5e3
push 0x80004005
call fcn.00409360
push 0x80004005
call fcn.00409360
int3