Function at 0x4495e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522dc4
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x57146c]
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 esi, ecx
cmp dword [esi + 0x10], 0
je 0x449ac7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a7120
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x52ee4c
push dword [esi]
push eax
call edi
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449ae3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
lea ebx, [ebp - 0x218]
mov dword [ebp - 4], 0
shr ebx, 0x10
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x449694
lea eax, [ebp - 0x218]
movzx eax, ax
lea ecx, [ebp - 0x434]
push eax
call fcn.0041e0f0
jmp 0x4496c2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4496a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.00405fa0
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004a7120
add esp, 0xc
lea eax, [ebp - 0x420]
push str.uninst.exe
push dword [esi]
push eax
call edi
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449aed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x44972e
movzx eax, ax
lea ecx, [ebp - 0x430]
push eax
call fcn.0041e0f0
jmp 0x449759
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449737
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00405fa0
mov eax, dword [ebp - 0x434]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call edi
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449af7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov eax, 0x536f5c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x42c]
test eax, 0xffff0000
jne 0x4497c1
movzx eax, ax
push eax
call fcn.0041e0f0
jmp 0x4497cd
push 8
push 0x536f5c
call fcn.00405fa0
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 5
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call edi
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449b01
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 6
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449b0b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 7
test ebx, ebx
jne 0x44984e
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x424]
push esi
call fcn.0041e0f0
jmp 0x449882
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449857
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00405fa0
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00416c60
mov edx, dword [ebp - 0x424]
or ebx, 0xffffffff
add esp, 8
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4498c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449b15
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x428], 0
mov byte [ebp - 4], 9
jne 0x449925
push esi
lea ecx, [ebp - 0x424]
call fcn.0041e0f0
jmp 0x449952
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449930
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00405fa0
mov edi, dword [ebp - 0x424]
mov byte [ebp - 4], 0xa
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.004057e0
mov ecx, eax
test ecx, ecx
je 0x449b1f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov eax, 0x536fc8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x428]
test eax, 0xffff0000
jne 0x4499b8
movzx eax, ax
push eax
call fcn.0041e0f0
jmp 0x4499c4
push 0xc
push 0x536fc8
call fcn.00405fa0
mov esi, dword [ebp - 0x428]
mov byte [ebp - 4], 0xa
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.Publisher
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDeskPets
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x449a27
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x449a42
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x438]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449a63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449a84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449aa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x449ac7
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.00477d68
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
push 0x80004005
call fcn.00404b90
int3