Function at 0x48e006
Capabilities:
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
push 0x238
mov eax, 0x4f600c
call fcn.004d2fe8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
xor eax, eax
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x234], edi
cmp dword [ebp + 0x18], eax
je 0x48e374
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], eax
call fcn.00408850
push edi
push str.SOFTWAREClassesCLSID_s
lea edi, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00404c10
mov edx, dword [ebp - 0x23c]
pop ecx
pop ecx
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov eax, 0x2011f
lea esi, [ebp - 0x22c]
call fcn.00406460
test eax, eax
jne 0x48e357
mov eax, esi
mov esi, dword [ebp - 0x230]
push 0x514b40
push eax
call fcn.00406570
push str.InfoTip
lea eax, [ebp - 0x22c]
push eax
call fcn.00406570
lea ecx, [ebp - 0x238]
call fcn.00408850
push dword [ebp - 0x234]
lea edi, [ebp - 0x238]
push str.SOFTWAREClassesCLSID_sDefaultIcon
mov byte [ebp - 4], 2
call fcn.00404c10
mov edx, dword [ebp - 0x238]
pop ecx
pop ecx
push ebx
mov eax, 0x2011f
lea esi, [ebp - 0x22c]
call fcn.00406460
test eax, eax
jne 0x48e34c
mov eax, esi
mov esi, dword [ebp - 0x220]
push 0x514b40
push eax
call fcn.00406570
lea ecx, [ebp - 0x240]
call fcn.00408850
push dword [ebp - 0x234]
lea edi, [ebp - 0x240]
push str.SOFTWAREClassesCLSID_sShellOpen
mov byte [ebp - 4], 3
call fcn.00404c10
mov edx, dword [ebp - 0x240]
pop ecx
pop ecx
push ebx
mov eax, 0x2011f
lea esi, [ebp - 0x22c]
call fcn.00406460
test eax, eax
jne 0x48e189
mov eax, esi
mov esi, dword [ebp - 0x230]
push 0x514b40
push eax
call fcn.00406570
mov esi, dword [ebp - 0x220]
push str.Icon
lea eax, [ebp - 0x22c]
push eax
call fcn.00406570
lea ecx, [ebp - 0x220]
call fcn.00408850
push dword [ebp - 0x234]
lea edi, [ebp - 0x220]
push str.SOFTWAREClassesCLSID_sShellOpenCommand
mov byte [ebp - 4], 4
call fcn.00404c10
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004d7710
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x244]
push str.__s___s
push 0x104
push eax
call fcn.0048e409
mov edx, dword [ebp - 0x220]
add esp, 0x28
push ebx
mov eax, 0x2011f
lea esi, [ebp - 0x22c]
call fcn.00406460
test eax, eax
jne 0x48e214
mov eax, esi
push 0x514b40
push eax
lea esi, [ebp - 0x21c]
call fcn.00406570
lea ecx, [ebp - 0x224]
call fcn.00408850
push dword [ebp - 0x234]
lea edi, [ebp - 0x224]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_s
mov byte [ebp - 4], 5
call fcn.00404c10
mov edx, dword [ebp - 0x224]
pop ecx
pop ecx
push ebx
mov ebx, 0x2011f
mov eax, ebx
lea esi, [ebp - 0x22c]
call fcn.00406460
test eax, eax
jne 0x48e32b
mov eax, esi
mov esi, dword [ebp - 0x230]
push 0x514b40
push eax
call fcn.00406570
lea ecx, [ebp - 0x230]
call fcn.00408850
push dword [ebp - 0x234]
lea edi, [ebp - 0x230]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCLSID_sShellFolder
mov byte [ebp - 4], 6
call fcn.00404c10
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
mov eax, ebx
mov edx, SysReAllocString
lea esi, [ebp - 0x22c]
call fcn.00406ae0
test eax, eax
jne 0x48e2d6
and dword [ebp - 0x244], eax
push 4
lea eax, [ebp - 0x244]
push eax
push 4
push 0
push str.Attributes
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x230]
call fcn.004087f0
lea ecx, [ebp - 0x224]
call fcn.004087f0
lea ecx, [ebp - 0x220]
call fcn.004087f0
lea ecx, [ebp - 0x240]
call fcn.004087f0
lea ecx, [ebp - 0x238]
call fcn.004087f0
lea ecx, [ebp - 0x23c]
call fcn.004087f0
lea esi, [ebp - 0x22c]
call fcn.00406cc0
xor eax, eax
inc eax
jmp 0x48e401
lea ecx, [ebp - 0x224]
call fcn.004087f0
lea ecx, [ebp - 0x220]
call fcn.004087f0
lea ecx, [ebp - 0x240]
call fcn.004087f0
lea ecx, [ebp - 0x238]
call fcn.004087f0
lea ecx, [ebp - 0x23c]
call fcn.004087f0
lea esi, [ebp - 0x22c]
call fcn.00406cc0
xor eax, eax
jmp 0x48e401
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x48e3e7
push 0x208
xor edi, edi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.004d7710
add esp, 0xc
push edi
push 0x10
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48e3d5
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x21c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x48e3c1
mov esi, str..lnk
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x220]
push eax
jmp 0x48e3f1
push dword [ebp + 0x10]
push dword [ebp - 0x220]
push esi
mov ecx, dword [ebp - 0x224]
mov edx, ebx
call fcn.004bf0a6
add esp, 0xc
call fcn.004d306b
ret 0x14