Function at 0x423ae0
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 0x423d98
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, 0x423dac
lea eax, [ebp - 0x226]
call fcn.00417ab8
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 0x423c61
cmp dword [ebp - 0xc], 0
je 0x423b72
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x423bb2
push 0
lea edx, [ebp - 0x234]
mov eax, dword [0x432db0]
call fcn.00408e50
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.00426e00
mov dword [ebp - 0x10], edi
jmp 0x423d6f
lea ebx, [ebp - 0x226]
jmp 0x423bbd
add ebx, 2
movzx esi, word [ebx]
test si, si
je 0x423bcb
cmp si, 0x5c
jne 0x423bba
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 0x423c42
push 0
lea edx, [ebp - 0x238]
mov eax, dword [0x432db0]
call fcn.00408e50
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.00426e00
mov dword [ebp - 0x10], edi
jmp 0x423d6f
cmp word [ebp - 0x16], 0
je 0x423c61
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 0x423bbd
cmp dword [ebp - 0xc], 0
je 0x423c70
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x423cc2
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edi, eax
test edi, edi
je 0x423d63
push 0
lea edx, [ebp - 0x23c]
mov eax, dword [0x432db0]
call fcn.00408e50
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.00426e00
jmp 0x423d63
cmp dword [ebp - 0xc], 0
je 0x423cd2
mov eax, dword [ebp - 0xc]
call fcn.0040685c
jmp 0x423cd4
xor eax, eax
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0
push 0x423dd8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
jne 0x423d2b
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, 0x423ddc
mov ecx, 1
call fcn.004209c0
jmp 0x423d63
push 0
lea edx, [ebp - 0x250]
mov eax, dword [0x432b48]
call fcn.00408e50
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.00426e00
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 0x423d9f
lea eax, [ebp - 0x250]
call fcn.00406414
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00406474
ret