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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
cmp qword [rcx + 8], 0
je 0x1400a9e30
lea rdx, [rcx + 0x10]
cmp qword [rcx + 0x28], 8
jb 0x1400a9961
mov rdx, qword [rcx + 0x10]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor r12d, r12d
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov rax, qword [r14]
mov rbx, qword [rax]
mov r15d, r12d
cmp rbx, rax
je 0x1400a9e27
lea r8, [r14 + 0x10]
cmp qword [r14 + 0x28], 8
jb 0x1400a99a3
mov r8, qword [r14 + 0x10]
mov r9, r15
lea rdx, str._s_08d
lea rcx, [rbp - 0x19]
call fcn.1401349c0
mov rdi, rax
lea rax, [rbp + 7]
cmp rax, rdi
je 0x1400a99ea
lea rcx, [rbp + 7]
call fcn.14007ec70
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rbp - 0x19]
call fcn.14007ec70
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r9d, dword [rbx + 0x10]
lea r8, [0x140400b54]
call fcn.140136bb0
lea rdx, [rbx + 0x58]
cmp qword [rdx + 0x18], 8
jb 0x1400a9a1f
mov rdx, qword [rdx]
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a9a40
lea rcx, [rbp - 0x19]
call fcn.14007ece0
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov dword [rsp + 0x28], 0xf003f
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.1400a5100
test eax, eax
jne 0x1400a9aee
lea rcx, [rbp - 0x19]
mov rdi, qword [rbp - 0x39]
cmp qword [rbp - 1], 8
jb 0x1400a9aa2
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400a9ae4
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400a9ab0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140400b30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400a9afd
mov rcx, rdi
jmp 0x1400a9af7
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a9afd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x19]
call fcn.14007ec70
lea rdx, [rbx + 0x90]
cmp qword [rdx + 0x18], 8
jb 0x1400a9b17
mov rdx, qword [rdx]
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a9b30
lea rcx, [rbp - 0x19]
call fcn.14007ece0
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov dword [rsp + 0x28], 0xf003f
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.1400a5100
test eax, eax
jne 0x1400a9bde
lea rcx, [rbp - 0x19]
mov rdi, qword [rbp - 0x39]
cmp qword [rbp - 1], 8
jb 0x1400a9b92
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400a9bd4
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400a9ba0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140400b40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400a9bed
mov rcx, rdi
jmp 0x1400a9be7
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a9bed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x19]
call fcn.14007ec70
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x18], 8
jb 0x1400a9c04
mov rdx, qword [rdx]
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a9c20
lea rcx, [rbp - 0x19]
call fcn.14007ece0
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov dword [rsp + 0x28], 0xf003f
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.1400a5100
test eax, eax
jne 0x1400a9cce
lea rcx, [rbp - 0x19]
mov rdi, qword [rbp - 0x39]
cmp qword [rbp - 1], 8
jb 0x1400a9c82
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400a9cc4
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400a9c90
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140400b18]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400a9cdd
mov rcx, rdi
jmp 0x1400a9cd7
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a9cdd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x19]
call fcn.14007ec70
lea rdx, [rbx + 0x38]
cmp qword [rdx + 0x18], 8
jb 0x1400a9cf4
mov rdx, qword [rdx]
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a9d10
lea rcx, [rbp - 0x19]
call fcn.14007ece0
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov dword [rsp + 0x28], 0xf003f
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.1400a5100
test eax, eax
jne 0x1400a9dbe
lea rcx, [rbp - 0x19]
mov rdi, qword [rbp - 0x39]
cmp qword [rbp - 1], 8
jb 0x1400a9d72
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400a9db4
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400a9d80
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140400b28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400a9dcd
mov rcx, rdi
jmp 0x1400a9dc7
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400a9dcd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x19]
call fcn.14007ec70
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r9d, dword [rbx + 0xc8]
lea r8, [0x140400af0]
call fcn.140136bb0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r9d, dword [rbx + 0xcc]
lea r8, [0x140400b08]
call fcn.140136bb0
mov rbx, qword [rbx]
inc r15
cmp rbx, qword [r14]
jne 0x1400a9994
lea rcx, [rbp + 7]
call fcn.14007ec70
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret