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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42870c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xa
lea ecx, [ebp - 0x230]
mov edx, 0x428720
lea eax, [ebp - 0x226]
call fcn.0041c3fc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x226]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyW
mov edi, eax
test edi, edi
je 0x4285d5
cmp dword [ebp - 0xc], 0
je 0x4284e6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x428526
push 0
lea edx, [ebp - 0x234]
mov eax, dword [0x4599c0]
call fcn.00409d44
mov eax, dword [ebp - 0x234]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x230], edx
mov byte [ebp - 0x22c], 0xa
lea ecx, [ebp - 0x230]
mov edx, 1
call fcn.0042b774
mov dword [ebp - 0x10], edi
jmp 0x4286e3
lea ebx, [ebp - 0x226]
jmp 0x428531
add ebx, 2
movzx esi, word [ebx]
test si, si
je 0x42853f
cmp si, 0x5c
jne 0x42852e
movzx eax, word [ebx]
mov word [ebp - 0x16], ax
mov word [ebx], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x2000000
push 0
push 0
push 0
lea eax, [ebp - 0x226]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov edi, eax
test edi, edi
je 0x4285b6
push 0
lea edx, [ebp - 0x238]
mov eax, dword [0x4599c0]
call fcn.00409d44
mov eax, dword [ebp - 0x238]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x230], edx
mov byte [ebp - 0x22c], 0xa
lea ecx, [ebp - 0x230]
mov edx, 1
call fcn.0042b774
mov dword [ebp - 0x10], edi
jmp 0x4286e3
cmp word [ebp - 0x16], 0
je 0x4285d5
movzx eax, word [ebp - 0x16]
mov word [ebx], ax
add ebx, 2
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x428531
cmp dword [ebp - 0xc], 0
je 0x4285e4
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x428636
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edi, eax
test edi, edi
je 0x4286d7
push 0
lea edx, [ebp - 0x23c]
mov eax, dword [0x4599c0]
call fcn.00409d44
mov eax, dword [ebp - 0x23c]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x230], edx
mov byte [ebp - 0x22c], 0xa
lea ecx, [ebp - 0x230]
mov edx, 1
call fcn.0042b774
jmp 0x4286d7
cmp dword [ebp - 0xc], 0
je 0x428646
mov eax, dword [ebp - 0xc]
call fcn.00406ea8
jmp 0x428648
xor eax, eax
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0
push 0x42874c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
jne 0x42869f
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 0x248], 0xa
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 0xa
lea edx, [ebp - 0x24c]
mov eax, 0x428750
mov ecx, 1
call fcn.00425334
jmp 0x4286d7
push 0
lea edx, [ebp - 0x250]
mov eax, dword [0x45970c]
call fcn.00409d44
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x230], edx
mov byte [ebp - 0x22c], 0xa
lea ecx, [ebp - 0x230]
mov edx, 1
call fcn.0042b774
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov dword [ebp - 0x10], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428713
lea eax, [ebp - 0x250]
call fcn.004069bc
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00406a1c
ret