Function at 0x1004de50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ece4
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x1015746c]
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
mov dword [ebp - 0x430], esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10094f30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x10118d68
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e34e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
test edi, edi
jne 0x1004def8
lea eax, [ebp - 0x218]
movzx eax, ax
lea ecx, [ebp - 0x42c]
push eax
call fcn.100121d0
jmp 0x1004df23
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004df01
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10005580
or ebx, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [esi + 0x10], 0
je 0x1004e310
mov eax, dword [ebp - 0x42c]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e358
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov eax, 0x1011bec8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
test eax, 0xffff0000
jne 0x1004df9b
movzx eax, ax
push eax
call fcn.100121d0
jmp 0x1004dfa7
push 4
push 0x1011bec8
call fcn.10005580
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e362
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 4
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e36c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 5
test edi, edi
jne 0x1004e028
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x424]
push esi
call fcn.100121d0
jmp 0x1004e05c
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e031
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.10005580
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.10019380
mov edx, dword [ebp - 0x424]
add esp, 8
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004e097
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
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e376
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 7
test edi, edi
jne 0x1004e0fc
push esi
lea ecx, [ebp - 0x424]
call fcn.100121d0
jmp 0x1004e127
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e105
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.10005580
mov eax, dword [ebp - 0x424]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 8
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10094f30
mov eax, dword [ebp - 0x430]
add esp, 0xc
push str.uninst.exe
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e380
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x1004e1c0
movzx eax, ax
lea ecx, [ebp - 0x434]
push eax
call fcn.100121d0
jmp 0x1004e1f2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004e1d0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.10005580
mov edi, dword [ebp - 0x434]
mov byte [ebp - 4], 0xa
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call fcn.10004dc0
mov ecx, eax
test ecx, ecx
je 0x1004e38a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x430]
push str.__s___s
push eax
call fcn.1000ae00
mov esi, dword [ebp - 0x430]
add esp, 0xc
mov eax, dword [esi - 0xc]
add eax, eax
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
push 1
push str.QuietUninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004e292
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1004e2ad
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004e2ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x438]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004e2ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004e310
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1004e332
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.10068438
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
push 0x80004005
call fcn.10004170
int3