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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2e8
mov rbp, rsp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
nop
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 0xa
lea rcx, [rbp + 0xce]
lea rdx, [0x00432594]
lea r8, [rbp + 0xb0]
xor r9, r9
call fcn.004236f0
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0xce]
lea r8, [rbp + 0x2d8]
call sub.advapi32.dll_RegOpenKeyW
mov edi, eax
test edi, edi
je 0x4323d6
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x4322b7
mov rax, qword [rbp + 0x58]
cmp word [rax], 0
jne 0x432300
lea rcx, [rbp + 0xa8]
mov rdx, qword [0x00449990]
call fcn.0040e3a0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 0xa
mov rcx, qword [rbp + 0xa8]
mov edx, 1
lea r8, [rbp + 0xb0]
xor r9, r9
call fcn.004360e0
mov dword [rbp + 0x6c], edi
jmp 0x43251c
lea rsi, [rbp + 0xce]
jmp 0x43230d
add rsi, 2
cmp word [rsi], 0
je 0x432319
cmp word [rsi], 0x5c
jne 0x432309
movzx rbx, word [rsi]
mov word [rsi], 0
mov rcx, qword [rbp + 0x60]
lea rdx, [rbp + 0xce]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x40], rax
call sub.advapi32.dll_RegCreateKeyExW
mov edi, eax
test edi, edi
je 0x4323b8
lea rcx, [rbp + 0xa0]
mov rdx, qword [0x00449990]
call fcn.0040e3a0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 0xa
mov rcx, qword [rbp + 0xa0]
mov edx, 1
lea r8, [rbp + 0xb0]
xor r9, r9
call fcn.004360e0
mov dword [rbp + 0x6c], edi
jmp 0x43251c
test bx, bx
je 0x4323d5
mov word [rsi], bx
add rsi, 2
mov rcx, qword [rbp + 0x2d8]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x43230d
nop
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x4323e9
mov rax, qword [rbp + 0x58]
cmp word [rax], 0
jne 0x432448
mov rcx, qword [rbp + 0x2d8]
xor rdx, rdx
call sub.advapi32.dll_RegDeleteKeyW
mov edi, eax
test edi, edi
je 0x43250c
lea rcx, [rbp + 0x98]
mov rdx, qword [0x00449990]
call fcn.0040e3a0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 0xa
mov rcx, qword [rbp + 0x98]
mov edx, 1
lea r8, [rbp + 0xb0]
xor r9, r9
call fcn.004360e0
jmp 0x43250c
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x43245f
mov rax, qword [rbp + 0x58]
mov rcx, rax
call fcn.0040a830
jmp 0x432462
xor rax, rax
mov rcx, qword [rbp + 0x2d8]
lea rdx, [0x004325c0]
xor r8, r8
mov r9d, 2
mov r10, qword [rbp + 0x58]
mov qword [rsp + 0x20], r10
add eax, 1
add eax, eax
mov dword [rsp + 0x28], eax
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test edi, edi
jne 0x4324d1
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x78], rax
mov byte [rbp + 0x80], 0xa
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x88], rax
mov byte [rbp + 0x90], 0xa
lea rcx, [0x004325c2]
lea rdx, [rbp + 0x78]
mov r8d, 1
call fcn.0042e7a0
jmp 0x43250c
lea rcx, [rbp + 0x70]
mov rdx, qword [0x004494b8]
call fcn.0040e3a0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0xb8], 0xa
mov rcx, qword [rbp + 0x70]
mov edx, 1
lea r8, [rbp + 0xb0]
xor r9, r9
call fcn.004360e0
mov rcx, qword [rbp + 0x2d8]
call sub.advapi32.dll_RegCloseKey_1
mov dword [rbp + 0x6c], edi
nop
lea rcx, [rbp + 0x70]
call fcn.0040a110
lea rcx, [rbp + 0x98]
mov edx, 3
call fcn.0040a1f0
mov eax, dword [rbp + 0x6c]
lea rsp, [rbp + 0x2e8]
pop rbx
pop rsi
pop rdi
pop rbp
ret