Function at 0x1004f180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f52ca
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x10136674]
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.1007bae0
lea eax, [ebp - 0x640]
push eax
call fcn.100349a0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x1004f1e0
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 0x1004f232
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f228
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f85d
push edx
push ecx
call fcn.10069b93
add esp, 8
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f862
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 0x1004f274
movzx eax, ax
lea ecx, [ebp - 0x664]
push eax
call fcn.10006850
jmp 0x1004f2a2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004f280
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x664]
call fcn.10007690
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.10034b80
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x1004f2f0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x674]
call fcn.10005750
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x1004f340
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f86c
push edx
push ecx
call fcn.10069b93
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.1007bae0
lea eax, [ebp - 0x658]
push eax
call fcn.10034a00
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x1004f3a7
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 0x1004f3f3
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f3e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f871
push edx
push ecx
call fcn.10069b93
add esp, 8
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f876
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 5
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f880
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 0x1004f459
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x65c]
push esi
call fcn.10006850
jmp 0x1004f48d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004f462
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.10007690
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.100060f0
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 0x1004f4cb
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.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f88a
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 0x1004f530
push esi
lea ecx, [ebp - 0x65c]
call fcn.10006850
jmp 0x1004f562
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004f540
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.10007690
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.100347a0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x1004f5a7
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x670]
call fcn.10005750
mov edx, dword [ebp - 0x644]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x1004f5f7
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f5ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f894
push edx
push ecx
call fcn.10069b93
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.1007bae0
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.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f899
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 0x1004f6a3
movzx eax, ax
lea ecx, [ebp - 0x668]
push eax
call fcn.10006850
jmp 0x1004f6d2
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004f6b0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.10007690
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.100087f0
mov ecx, eax
test ecx, ecx
je 0x1004f8a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
mov eax, 0x100fddf8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x660]
test eax, 0xffff0000
jne 0x1004f734
movzx eax, ax
push eax
call fcn.10006850
jmp 0x1004f740
push 0
push 0x100fddf8
call fcn.10007690
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 0x1004f780
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 0x1004f79b
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 0x1004f7bc
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 0x1004f7dd
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 0x1004f7fe
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 0x1004f81f
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 0x1004f841
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.10069b58
mov esp, ebp
pop ebp
ret
call fcn.10096e03
push 0x80004005
call fcn.10005ea0
call fcn.10096e03
call fcn.10096e03
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
call fcn.10096e03
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
int3