Function at 0x426ae0
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 0x426d8e
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, 0x426da0
lea eax, [ebp - 0x226]
call fcn.0041a0a0
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 0x426c61
cmp dword [ebp - 0xc], 0
je 0x426b72
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x426bb2
push 0
lea edx, [ebp - 0x234]
mov eax, dword [0x433d8c]
call fcn.00409478
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.0042cf54
mov dword [ebp - 0x10], edi
jmp 0x426d65
lea ebx, [ebp - 0x226]
jmp 0x426bbd
add ebx, 2
movzx esi, word [ebx]
test si, si
je 0x426bcb
cmp si, 0x5c
jne 0x426bba
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 0x426c42
push 0
lea edx, [ebp - 0x238]
mov eax, dword [0x433d8c]
call fcn.00409478
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.0042cf54
mov dword [ebp - 0x10], edi
jmp 0x426d65
cmp word [ebp - 0x16], 0
je 0x426c61
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 0x426bbd
cmp dword [ebp - 0xc], 0
je 0x426c70
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x426cc2
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edi, eax
test edi, edi
je 0x426d59
push 0
lea edx, [ebp - 0x23c]
mov eax, dword [0x433d8c]
call fcn.00409478
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.0042cf54
jmp 0x426d59
mov eax, dword [ebp - 0xc]
call fcn.00419fe4
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 0
push 0x426dcc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
jne 0x426d21
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, 0x426dd0
mov ecx, 1
call fcn.0041e4c0
jmp 0x426d59
push 0
lea edx, [ebp - 0x250]
mov eax, dword [0x433b24]
call fcn.00409478
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.0042cf54
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 0x426d95
lea eax, [ebp - 0x250]
call fcn.00406984
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.004069e4
ret