Function at 0x4280e0
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 0x428398
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, 0x4283ac
lea eax, [ebp - 0x226]
call fcn.0041c40c
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 0x428261
cmp dword [ebp - 0xc], 0
je 0x428172
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x4281b2
push 0
lea edx, [ebp - 0x234]
mov eax, dword [0x4589c0]
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.0042b400
mov dword [ebp - 0x10], edi
jmp 0x42836f
lea ebx, [ebp - 0x226]
jmp 0x4281bd
add ebx, 2
movzx esi, word [ebx]
test si, si
je 0x4281cb
cmp si, 0x5c
jne 0x4281ba
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 0x428242
push 0
lea edx, [ebp - 0x238]
mov eax, dword [0x4589c0]
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.0042b400
mov dword [ebp - 0x10], edi
jmp 0x42836f
cmp word [ebp - 0x16], 0
je 0x428261
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 0x4281bd
cmp dword [ebp - 0xc], 0
je 0x428270
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x4282c2
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edi, eax
test edi, edi
je 0x428363
push 0
lea edx, [ebp - 0x23c]
mov eax, dword [0x4589c0]
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.0042b400
jmp 0x428363
cmp dword [ebp - 0xc], 0
je 0x4282d2
mov eax, dword [ebp - 0xc]
call fcn.00406ea8
jmp 0x4282d4
xor eax, eax
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0
push 0x4283d8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
jne 0x42832b
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, 0x4283dc
mov ecx, 1
call fcn.00424fc0
jmp 0x428363
push 0
lea edx, [ebp - 0x250]
mov eax, dword [0x45870c]
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.0042b400
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 0x42839f
lea eax, [ebp - 0x250]
call fcn.004069bc
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00406a1c
ret