Function at 0x1400a26b0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, qword [rbp + 0x67]
mov rsi, qword [rbp + 0x6f]
xor r13d, r13d
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], r13
test rbx, rbx
je 0x1400a2a3f
test rsi, rsi
je 0x1400a2a3f
mov rdx, rsi
mov rcx, rbx
call fcn.1400da778
test eax, eax
je 0x1400a2a3f
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], r13w
jne 0x1400a2740
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.14000c360
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400a2770
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.14000c360
nop
lea rcx, [0x1401431b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a2a22
lea rdx, [0x140153100]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x1400a2a22
lea rbx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rbx, qword [rbp - 0x41]
lea rdx, str.WOW6432Node_
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
mov r14d, 0xf023f
test rax, rax
je 0x1400a280a
sub rax, rbx
sar rax, 1
cmp qword [rbp - 0x31], rax
jb 0x1400a2a96
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140049270
mov r12d, r14d
jmp 0x1400a2810
mov r12d, 0xf013f
lea rbx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rbx, qword [rbp - 0x21]
lea rdx, str.WOW6432Node_
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400a2857
sub rax, rbx
sar rax, 1
cmp qword [rbp - 0x11], rax
jb 0x1400a2a96
mov r8d, 0xc
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140049270
jmp 0x1400a285d
mov r14d, 0xf013f
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a2a2a
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rdx, qword [rbp - 0x21]
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x51]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a2a2a
cmp dword [rbp - 0x49], 2
jne 0x1400a2914
xor r9d, r9d
mov r8, qword [rbp - 0x51]
xor edx, edx
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov ebx, eax
test eax, eax
jne 0x1400a2a2a
xor edx, edx
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebx, eax
test eax, eax
jne 0x1400a2a2a
mov rcx, qword [rbp - 0x59]
mov rax, r15
call qword [case.0x1400a96cf.0]
test eax, eax
je 0x1400a2945
mov ebx, 5
jmp 0x1400a2a2a
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x59], r13
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rdx, qword [rbp - 0x41]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a2a2a
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea r8d, [rax + 0x12]
lea rdx, str.RegistryMACHINE_
lea rcx, [rbp - 1]
call fcn.14000c360
nop
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1400a29c6
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 1]
call fcn.14000bdb0
mov eax, dword [rbp + 0xf]
add eax, eax
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova rcx, qword [rbp - 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 6
xor r8d, r8d
lea rdx, str.SymbolicLinkValue
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
lea rcx, [rbp - 1]
call fcn.14000c080
jmp 0x1400a2a2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp - 0x21]
call fcn.14000c080
nop
lea rcx, [rbp - 0x41]
call fcn.14000c080
jmp 0x1400a2a44
mov ebx, 0x57
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400a2a53
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400a2a62
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000dcd0
nop
int3