Function at 0x5262d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b303
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x68e4d8]
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 - 0x42c], edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0058abd0
mov esi, dword [edi]
lea ecx, [ebp - 0x421]
add esp, 0xc
call fcn.00524cd0
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00407ad0
mov ecx, eax
test ecx, ecx
je 0x526703
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x430]
call fcn.0040af70
test al, al
jne 0x5263a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526380
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.0040ab80
or ebx, 0xffffffff
mov dword [ebp - 4], 1
cmp dword [edi + 0x10], 0
je 0x5266c5
lea ecx, [ebp - 0x421]
call fcn.005252f0
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x43c], esi
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 edi
lea ecx, [ebp - 0x421]
call fcn.00524bf0
push eax
lea ecx, [ebp - 0x438]
call fcn.0040ab00
mov eax, dword [ebp - 0x438]
mov byte [ebp - 4], 2
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 edi
call fcn.00407ad0
mov ecx, eax
test ecx, ecx
je 0x52670d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 3
call fcn.00407ad0
mov ecx, eax
test ecx, ecx
je 0x526717
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x428]
call fcn.0040af70
test al, al
jne 0x5264a5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526483
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040ab80
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040c2b0
mov edx, dword [ebp - 0x428]
add esp, 8
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5264e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayVersion
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.00407ad0
mov ecx, eax
test ecx, ecx
je 0x526721
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x428]
call fcn.0040af70
test al, al
jne 0x526572
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526550
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040ab80
mov edi, dword [ebp - 0x428]
mov byte [ebp - 4], 7
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.InstallLocation
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0058abd0
mov eax, dword [ebp - 0x42c]
add esp, 0xc
push str.uninstall.exe
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00407ad0
mov ecx, eax
test ecx, ecx
je 0x52672b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040af70
test al, al
jne 0x526628
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x526606
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040ab80
mov esi, dword [ebp - 0x42c]
mov byte [ebp - 4], 7
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.UninstallString
push dword [ebp - 0x43c]
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 0x526668
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x526683
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x434]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5266a4
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], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5266c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x5266e7
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.005367cc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408eb0
push 0x80004005
call fcn.00408eb0
push 0x80004005
call fcn.00408eb0
push 0x80004005
call fcn.00408eb0
push 0x80004005
call fcn.00408eb0
int3