Function at 0x488fb0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0eeb
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ec00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004891e0
add esp, 0xc
test eax, eax
je 0x488ff2
jmp 0x4891ca
lea ecx, [ebp - 0x14]
call fcn.004097c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0x4cc28c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov eax, dword [ebp + 0x18]
push eax
push 1
push 0x4cc290
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
push eax
push str._sDefaultIcon
lea ecx, [ebp - 0x14]
push ecx
call fcn.00409d70
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0x4cc2b4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
push ecx
push str._sShell
lea edx, [ebp - 0x14]
push edx
call fcn.00409d70
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x10]
push edx
push str._sShellOpen
lea eax, [ebp - 0x14]
push eax
call fcn.00409d70
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
push eax
push str._sShellOpenCommand
lea ecx, [ebp - 0x14]
push ecx
call fcn.00409d70
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp + 0xc]
push eax
push str.__s_____1_
lea ecx, [ebp - 0x14]
push ecx
call fcn.00409d70
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004097f0
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 1
push 0x4cc32c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret