Function at 0x459840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517d5a
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x56e6c4]
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.0049d980
lea eax, [ebp - 0x640]
push eax
call fcn.0043df00
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4598a0
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 0x4598f2
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4598e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f1d
push edx
push ecx
call fcn.00483553
add esp, 8
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f22
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 0x459934
movzx eax, ax
lea ecx, [ebp - 0x664]
push eax
call fcn.00409110
jmp 0x459962
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459940
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x664]
call fcn.00409f50
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.0043e0e0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x4599b0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x674]
call fcn.00407fd0
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x459a00
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4599f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f2c
push edx
push ecx
call fcn.00483553
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.0049d980
lea eax, [ebp - 0x658]
push eax
call fcn.0043df60
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x459a67
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 0x459ab3
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459aa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f31
push edx
push ecx
call fcn.00483553
add esp, 8
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f36
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 5
call fcn.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f40
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 0x459b19
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x65c]
push esi
call fcn.00409110
jmp 0x459b4d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459b22
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.00409f50
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.00408970
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 0x459b8b
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.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f4a
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 0x459bf0
push esi
lea ecx, [ebp - 0x65c]
call fcn.00409110
jmp 0x459c22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.00409f50
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.0043dd00
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x459c67
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x670]
call fcn.00407fd0
mov edx, dword [ebp - 0x644]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x459cb7
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459f54
push edx
push ecx
call fcn.00483553
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.0049d980
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.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f59
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 0x459d63
movzx eax, ax
lea ecx, [ebp - 0x668]
push eax
call fcn.00409110
jmp 0x459d92
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459d70
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.00409f50
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.0040ab00
mov ecx, eax
test ecx, ecx
je 0x459f63
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
mov eax, 0x5265e4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x660]
test eax, 0xffff0000
jne 0x459df4
movzx eax, ax
push eax
call fcn.00409110
jmp 0x459e00
push 0
push 0x5265e4
call fcn.00409f50
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 0x459e40
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 0x459e5b
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 0x459e7c
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 0x459e9d
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 0x459ebe
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 0x459edf
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 0x459f01
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.00483518
mov esp, ebp
pop ebp
ret
call fcn.004b8ca3
push 0x80004005
call fcn.00408720
call fcn.004b8ca3
call fcn.004b8ca3
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
call fcn.004b8ca3
push 0x80004005
call fcn.00408720
push 0x80004005
call fcn.00408720
int3