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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov r12, r9
mov r15, r8
mov r14, rdx
mov dword [rbp - 0x68], 1
lea rcx, [0x140003a00]
call fcn.140f8a82f
nop
mov rbx, rax
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
mov rcx, rbx
call fcn.140f8a861
nop
test edi, edi
jne 0x140109cf4
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401094e5
mov rdx, qword [r14]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, eax
test eax, eax
jne 0x140109638
mov rsi, 0xffffffffffffffff
cmp byte [rbp + 0x250], al
jne 0x140109648
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140003a48]
call fcn.140f8a82f
nop
mov rbx, rax
cmp qword [r12 + 0x18], 8
jb 0x140109543
mov r12, qword [r12]
mov r9, r12
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.140109d40
mov rcx, rbx
call fcn.140f8a861
nop
lea rcx, [0x140003a58]
call fcn.140f8a82f
nop
mov rdi, rax
lea rax, [rbp - 0x20]
mov rcx, rsi
nop
lea rcx, [rcx + 1]
cmp word [rax + rcx*2], 0
jne 0x140109578
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rdi
call fcn.140f8a861
nop
test ebx, ebx
je 0x1401095e2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140109cf6
lea rcx, [0x140003a70]
call fcn.140f8a82f
nop
mov rbx, rax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, rbx
call fcn.140f8a861
nop
test edi, edi
je 0x140109648
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109cf4
xor edx, edx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rdx
mov r13, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x140109668
mov r15, qword [r15]
cmp r13, 0x10
jae 0x140109687
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], 0xf
jmp 0x14010970f
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1401096e2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140109d17
mov rcx, rax
call fcn.140110294
mov rcx, rax
test rax, rax
je 0x140109ce8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1401096f8
test rcx, rcx
je 0x1401096f5
call fcn.140110294
jmp 0x1401096f8
mov rax, rdx
mov qword [rbp - 0x40], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], r13
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov r15, qword [r14 + 0x10]
mov r12, r14
cmp qword [r14 + 0x18], 8
jb 0x140109738
mov r12, qword [r14]
movabs rax, 0x7ffffffffffffffe
cmp r15, 8
jae 0x140109763
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x70], 7
jmp 0x1401097a5
mov rbx, r15
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x78]
call fcn.14000f410
mov qword [rsp + 0x78], rax
lea r8, [r15*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x70], rbx
movabs rax, 0x7ffffffffffffffe
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r15, qword [rbp + 0x240]
mov r12, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x1401097d1
mov r15, qword [r15]
cmp r12, 8
jae 0x1401097f2
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x14010982b
mov rbx, r12
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.14000f410
mov qword [rsp + 0x58], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x44], 0x41
mov dword [rsp + 0x48], 0x42
mov dword [rsp + 0x4c], 0x43
mov dword [rsp + 0x50], 0x44
mov dword [rsp + 0x54], 0x45
lea rdx, [rsp + 0x44]
cmp byte [rbp + 0x250], 0
jne 0x140109b65
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x1401098b2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109bd7
mov eax, dword [rbp - 0x78]
add eax, eax
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x140109903
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109bd7
mov eax, dword [rsp + 0x68]
add eax, eax
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x140109956
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109bd7
mov rax, qword [rbp + 0x248]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1401099b4
cmp qword [rax + 0x18], 0x10
jb 0x140109978
mov rax, qword [rax]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x1401099b4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109bd7
mov rbx, qword [rbp + 0x220]
cmp qword [rbx + 0xb0], 0
je 0x140109b55
lea rcx, [0x140003a80]
call fcn.140f8a82f
nop
mov r14, rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp - 0x60]
call fcn.1400168d0
nop
nop
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x1401099eb
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140109a40
lea rdi, [rsi + rcx]
mov qword [rbp - 0x50], rdi
lea rbx, [rbp - 0x60]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x60]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x140109a5a
mov qword [rsp + 0x20], rsi
mov r9, r14
movzx r8d, byte [rsp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140012150
mov eax, dword [rbp - 0x50]
add eax, eax
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, r14
call fcn.140f8a861
nop
test edi, edi
je 0x140109b06
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140109be3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109afc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140109b49
call fcn.1401102d0
jmp 0x140109be3
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140109b55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109b50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109b50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140109bd7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [r14 + 0x18], 8
jb 0x140109bc9
mov r14, qword [r14]
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140109c34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109c2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140109c98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109c93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109c93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140109cf4
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109cef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109cef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401102d0
mov eax, edi
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000f230
int3