Function at 0x14002ed2c
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 [0x1400400b0]
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 0x14002ed6f
add rax, 0x14
mov ebx, 0x104
cmp rax, rbx
jbe 0x14002ed9d
xor edx, edx
mov ecx, 0x400023db
call fcn.140002bfc
mov eax, 1
jmp 0x14002efe5
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400158f0
mov rdx, rbx
lea rax, [rsp + 0x60]
cmp word [rax], r15w
je 0x14002edc5
add rax, 2
sub rdx, 1
jne 0x14002edb5
mov rcx, rbx
mov rax, rdx
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
test rdx, rdx
je 0x14002ee29
lea rcx, [rsp + 0x60]
lea rcx, [rcx + r8*2]
sub rbx, r8
je 0x14002ee1a
lea rdx, str.ShellOpenCommand
mov eax, 0x7ffffffe
sub rdx, rcx
test rax, rax
je 0x14002ee1a
movzx r8d, word [rdx + rcx]
test r8w, r8w
je 0x14002ee1a
mov word [rcx], r8w
dec rax
add rcx, 2
sub rbx, 1
jne 0x14002edf9
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 0x14002ef36
test rsi, rsi
je 0x14002ef1f
cmp word [rsi], r15w
je 0x14002ef1f
lea rdi, [rsp + 0x60]
movzx ebx, word [rdi]
test bx, bx
je 0x14002ee95
movzx eax, bx
movzx ebx, ax
cmp ax, 0x5c
je 0x14002ee95
add rdi, 2
movzx ebx, word [rdi]
movzx eax, bx
test bx, bx
jne 0x14002ee7d
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 0x14002ef05
xor r15d, r15d
test bx, bx
je 0x14002ef3b
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 0x14002ee72
mov r8, r14
mov edx, 1
mov ecx, 0x400023a5
call fcn.140002bfc
mov eax, r15d
jmp 0x14002efe5
mov r8, r14
mov edx, 1
mov ecx, 0x400023a5
call fcn.140002bfc
jmp 0x14002efe3
test rsi, rsi
je 0x14002efa7
cmp word [rsi], r15w
je 0x14002efa7
inc r12
cmp word [rsi + r12*2], r15w
jne 0x14002ef41
mov rcx, qword [rsp + 0x50]
lea eax, [r12*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [0x140037c38]
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 0x14002ef97
mov r8, rsi
lea rcx, str._s_s_r_n
mov rdx, r14
call fcn.14000dc90
jmp 0x14002efd2
xor edx, edx
mov ecx, eax
call fcn.140002bfc
mov ecx, 0x235d
jmp 0x14002efc5
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 0x14002efd2
mov ecx, 0x400023a5
mov r8, r14
mov edx, 1
call fcn.140002bfc
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.14001f920
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret