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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474b2c
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x49c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045a550
add esp, 8
test eax, eax
je 0x45a35e
jmp 0x45a536
lea ecx, [ebp - 0x14]
call fcn.004096c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0x4897f4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov edx, dword [ebp + 0x18]
push edx
push 1
push 0x4897f8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x10]
push edx
push str._sDefaultIcon
lea eax, [ebp - 0x14]
push eax
call fcn.00409d20
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409710
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov eax, dword [ebp + 0x14]
push eax
push 1
push 0x48981c
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._sShell
lea ecx, [ebp - 0x14]
push ecx
call fcn.00409d20
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00409710
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x10]
push ecx
push str._sShellOpen
lea edx, [ebp - 0x14]
push edx
call fcn.00409d20
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409710
push eax
push SysReAllocString
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._sShellOpenCommand
lea eax, [ebp - 0x14]
push eax
call fcn.00409d20
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409710
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp + 0xc]
push edx
push str.__s_____1_
lea eax, [ebp - 0x14]
push eax
call fcn.00409d20
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00409700
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00409710
push eax
push 1
push 0x489894
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret