Function at 0x40385b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x30c]
push 0x308
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049a3b0
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 4]
push esi
push eax
push ebx
call fcn.0040324d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x18
test eax, eax
jne 0x4038a9
push esi
push dword [ebp - 4]
call fcn.00404104
pop ecx
pop ecx
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push 0x4cb124
call fcn.0040324d
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
jne 0x4038f3
push dword [ebp + 0x18]
lea eax, [ebp - 0x30c]
push ebx
push str._s__d
push 0x184
push eax
call fcn.0040450a
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 4]
call fcn.00404104
add esp, 0x1c
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.InstallInfo
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x403997
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push str.IconsVisible
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push str.__s___REGAVCDL
lea eax, [ebp - 0x30c]
push 0x184
push eax
call fcn.0040450a
lea eax, [ebp - 0x30c]
push eax
push str.ReinstallCommand
push dword [ebp - 4]
call fcn.004040cc
lea eax, [ebp - 0x30c]
push eax
push str.ShowIconsCommand
push dword [ebp - 4]
call fcn.004040cc
push ebx
push str.__s___UNREG
lea eax, [ebp - 0x30c]
push 0x184
push eax
call fcn.0040450a
lea eax, [ebp - 0x30c]
push eax
push str.HideIconsCommand
push dword [ebp - 4]
call fcn.004040cc
add esp, 0x44
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.shell
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x4039b2
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.shellopen
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x4039cd
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.shellopencommand
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x4039f3
push ebx
push dword [ebp - 4]
call fcn.00404104
pop ecx
pop ecx
push dword [ebp - 4]
call edi
push 0
push 0
push 6
call fcn.00402fe4
add esp, 0xc
test al, al
je 0x403ad3
push esi
lea eax, [ebp - 4]
push eax
push str.Capabilities
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x403a47
push str.Winamp._The_Ultimate_Media_Player.
push str.ApplicationDescription
push dword [ebp - 4]
call fcn.004040cc
push esi
push str.ApplicationName
push dword [ebp - 4]
call fcn.004040cc
add esp, 0x18
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push str.SoftwareRegisteredApplications
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x403a9d
mov ebx, 0x200
push ebx
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.0049a3b0
push esi
push str.SoftwareClientsMedia_sCapabilities
lea eax, [ebp - 0x50c]
push ebx
push eax
call fcn.0040433e
lea eax, [ebp - 0x50c]
push eax
push esi
push dword [ebp - 4]
call fcn.004040cc
add esp, 0x28
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.CapabilitiesFileAssociations
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x403ab8
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 4]
push eax
push str.CapabilitiesMimeAssociations
call fcn.0040324d
add esp, 0xc
test eax, eax
jne 0x403ad3
push dword [ebp - 4]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x14