Function at 0x4414d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7758
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x67f4f4]
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 ebx, ecx
mov dword [ebp - 0x42c], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053dd00
mov esi, dword [ebx]
lea ecx, [ebp - 0x421]
add esp, 0xc
call fcn.00440470
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x4419c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
test edi, edi
jne 0x441580
lea eax, [ebp - 0x218]
movzx eax, ax
lea ecx, [ebp - 0x438]
push eax
call fcn.004222d0
jmp 0x4415b2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441590
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004098e0
mov eax, dword [ebp - 0x42c]
or ebx, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [eax + 0x10], 0
je 0x441982
lea ecx, [ebp - 0x421]
call fcn.004408d0
mov ecx, dword [0x686b60]
mov esi, eax
mov dword [ebp - 0x434], esi
test ecx, ecx
jne 0x441648
push 0x67dd28
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x686b60], 0
jne 0x441637
push 0x90
call fcn.00439080
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x441621
mov ecx, eax
call fcn.00417270
jmp 0x441623
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x686b60], eax
push 0x67dd28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x686b60]
call fcn.0041de00
test al, al
je 0x441664
lea ecx, [ebp - 0x421]
call fcn.00440550
mov esi, eax
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x421]
call fcn.0043fc30
push eax
lea ecx, [ebp - 0x43c]
call fcn.00407f10
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x4419ca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 4
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x4419d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 5
test edi, edi
jne 0x44171c
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x428]
push esi
call fcn.004222d0
jmp 0x441750
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441725
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.004098e0
lea eax, [ebp - 0x218]
movzx esi, ax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00419d70
mov edx, dword [ebp - 0x428]
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 0x44178b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push dword [ebp - 0x434]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x4419de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 7
test edi, edi
jne 0x4417f0
push esi
lea ecx, [ebp - 0x428]
call fcn.004222d0
jmp 0x441822
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441800
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.004098e0
mov edi, dword [ebp - 0x428]
mov byte [ebp - 4], 8
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.InstallLocation
push dword [ebp - 0x434]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053dd00
mov eax, dword [ebp - 0x42c]
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.00409110
mov ecx, eax
test ecx, ecx
je 0x4419e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x4418ba
movzx eax, ax
lea ecx, [ebp - 0x42c]
push eax
call fcn.004222d0
jmp 0x4418e5
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4418c3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.004098e0
mov esi, dword [ebp - 0x42c]
mov byte [ebp - 4], 8
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.UninstallString
push dword [ebp - 0x434]
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 0x441925
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x441940
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441961
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x43c]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441982
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x438]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4419a4
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.00478a88
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004084c0
push 0x80004005
call fcn.004084c0
push 0x80004005
call fcn.004084c0
push 0x80004005
call fcn.004084c0
push 0x80004005
call fcn.004084c0
int3