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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
or r12, 0xffffffffffffffff
mov rsi, r8
mov rax, r12
xor r15d, r15d
mov r14, rdx
mov r13, rcx
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14002ac8f
add rax, 0x14
mov ebx, 0x104
cmp rax, rbx
jbe 0x14002acbd
xor edx, edx
mov ecx, 0x400023db
call fcn.140003278
mov eax, 1
jmp 0x14002af08
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400113e0
mov rcx, rbx
lea rax, [rsp + 0x60]
cmp word [rax], r15w
je 0x14002ace5
add rax, 2
sub rcx, 1
jne 0x14002acd5
test rcx, rcx
je 0x14002acf2
mov rax, rbx
sub rax, rcx
jmp 0x14002acf5
mov rax, r15
test rcx, rcx
je 0x14002ad4c
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*2]
sub rbx, rax
je 0x14002ad3d
lea rdx, [rax + 0x7ffffefa]
add rdx, rbx
lea rax, str.ShellOpenCommand
sub rax, rcx
test rdx, rdx
je 0x14002ad3d
movzx r8d, word [rax + rcx]
test r8w, r8w
je 0x14002ad3d
mov word [rcx], r8w
dec rdx
add rcx, 2
sub rbx, 1
jne 0x14002ad1c
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
lea rax, [rsp + 0x50]
mov r9d, 0x2000000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14002ae59
test rsi, rsi
je 0x14002ae42
cmp word [rsi], r15w
je 0x14002ae42
lea rdi, [rsp + 0x60]
movzx ebx, word [rdi]
test bx, bx
je 0x14002adb8
movzx eax, bx
movzx ebx, ax
cmp ax, 0x5c
je 0x14002adb8
add rdi, 2
movzx ebx, word [rdi]
movzx eax, bx
test bx, bx
jne 0x14002ada0
lea rax, [rsp + 0x58]
mov word [rdi], r15w
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov rcx, r13
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jne 0x14002ae28
xor r15d, r15d
test bx, bx
je 0x14002ae59
mov rcx, qword [rsp + 0x50]
mov word [rdi], bx
add rdi, 2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14002ad95
mov r8, r14
mov edx, 1
mov ecx, 0x400023a5
call fcn.140003278
mov eax, r15d
jmp 0x14002af08
mov r8, r14
mov edx, 1
mov ecx, 0x400023a5
call fcn.140003278
jmp 0x14002af06
test rsi, rsi
je 0x14002aeca
cmp word [rsi], r15w
je 0x14002aeca
inc r12
cmp word [rsi + r12*2], r15w
jne 0x14002ae64
mov rcx, qword [rsp + 0x50]
lea eax, [r12*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [0x1400347c0]
mov r9d, 2
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002aeba
mov r8, rsi
lea rcx, str._s_s_r_n
mov rdx, r14
call fcn.140013448
jmp 0x14002aef5
xor edx, edx
mov ecx, eax
call fcn.140003278
mov ecx, 0x235d
jmp 0x14002aee8
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14002aef5
mov ecx, 0x400023a5
mov r8, r14
mov edx, 1
call fcn.140003278
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140018f80
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret