Function at 0x1000bf00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c2cf
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x10051114]
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
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
call edi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100214a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
add esp, 0xc
push str.Utilshalowallpaper.ico
push eax
lea eax, [ebp - 0x628]
push eax
call esi
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c46c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x844]
call fcn.100026b0
test al, al
jne 0x1000c002
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000bfe0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x844]
call fcn.10003330
mov eax, dword [ebp - 0x844]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c476
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x840], eax
push 0x1003f560
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 2
call fcn.100026b0
test al, al
jne 0x1000c076
push 6
push 0x1003f560
lea ecx, [ebp - 0x840]
call fcn.10003330
mov eax, dword [ebp - 0x840]
mov byte [ebp - 4], 3
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.100214a0
add esp, 0xc
lea eax, [ebp - 0x420]
push str.halowp.exe
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push ecx
mov esi, esp
mov dword [ebp - 0x834], esi
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.100026b0
test al, al
jne 0x1000c124
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c106
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003330
lea eax, [ebp - 0x84c]
mov byte [ebp - 4], 3
push eax
call fcn.10002fe0
add esp, 8
mov eax, dword [ebp - 0x84c]
mov byte [ebp - 4], 5
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
lea eax, [ebp - 0x218]
push eax
call edi
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c48a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x83c]
call fcn.100026b0
test al, al
jne 0x1000c1c6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c1a4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x83c]
call fcn.10003330
mov eax, dword [ebp - 0x83c]
mov byte [ebp - 4], 7
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 ebx
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c494
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x838], eax
push 0x1003f5c8
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 8
call fcn.100026b0
test al, al
jne 0x1000c231
push 4
push 0x1003f5c8
lea ecx, [ebp - 0x838]
call fcn.10003330
mov eax, dword [ebp - 0x838]
mov byte [ebp - 4], 9
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 ebx
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x420]
push str.Uninstall.exe
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c49e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x848]
call fcn.100026b0
test al, al
jne 0x1000c2e6
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c2c4
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x848]
call fcn.10003330
mov edi, dword [ebp - 0x848]
mov byte [ebp - 4], 0xb
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 ebx
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000c4a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
push 0x1003ee40
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 0xc
call fcn.100026b0
test al, al
jne 0x1000c351
push 0
push 0x1003ee40
lea ecx, [ebp - 0x834]
call fcn.10003330
mov esi, dword [ebp - 0x834]
mov byte [ebp - 4], 0xb
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.URLInfoAbout
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c38f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000c3aa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x838]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c3cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x83c]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c3ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x84c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c40d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x840]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c42e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x844]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000c450
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.100178b1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
push 0x80004005
call fcn.10002690
int3