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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b48
mov eax, dword [ebp - 8]
call fcn.00404b48
mov eax, dword [ebp - 0xc]
call fcn.00404b48
xor eax, eax
push ebp
push 0x4c26a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b58
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4c24fa
mov eax, dword [ebp - 8]
call fcn.00404958
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.00404b58
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404b58
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4c2556
mov eax, dword [ebp - 0xc]
call fcn.00404958
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404b58
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x4c26b8
mov edx, dword [ebp - 8]
call fcn.004049a4
mov eax, dword [ebp - 0x1c]
call fcn.00404b58
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4c25f0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402b0c
lea eax, [ebp - 0x20]
mov edx, 0x4c26d4
call fcn.00404960
mov eax, dword [ebp - 0x20]
call fcn.00404958
inc eax
push eax
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402b0c
lea eax, [ebp - 0x24]
mov edx, 0x4c26d4
call fcn.00404960
mov eax, dword [ebp - 0x24]
call fcn.00404b58
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x4c26e0
mov edx, dword [ebp - 8]
call fcn.004049a4
mov eax, dword [ebp - 0x28]
call fcn.00404b58
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4c2671
mov edx, dword [0x4f4334]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, 0x4c26f8
call fcn.004049a4
mov eax, dword [ebp - 0x18]
call fcn.00404958
inc eax
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404b58
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c26a9
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.004046bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046bc
ret