Function at 0x140035954
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, r8
mov r13, rdx
mov qword [rbp], rdx
mov r12, rcx
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022784
nop
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x68]
xor ebx, ebx
test al, al
je 0x140035b8a
mov r15d, ebx
mov rbx, qword [rdi]
jmp 0x1400359e1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
inc r15
add r15, rax
add rbx, 0x18
cmp rbx, qword [rdi + 8]
jne 0x1400359ce
inc r15
lea rcx, [rbp + 8]
call fcn.140009b88
nop
lea rdx, [r15 + r15]
lea rcx, [rbp + 8]
call fcn.14000de94
lea rcx, [rbp + 8]
call fcn.14000aed0
mov rsi, rax
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x140035a69
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
mov r13, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1f0]
test rax, rax
je 0x140035a41
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1f0]
jmp 0x140035a48
lea rax, [0x1400a54e0]
mov rdx, rax
mov rcx, rsi
call fcn.140066344
lea rsi, [rsi + r13*2]
add rsi, 2
add rbx, 0x18
cmp rbx, qword [rdi + 8]
jne 0x140035a16
mov r13, qword [rbp]
xor eax, eax
mov word [rsi], ax
mov rsi, qword [r12 + 0x10]
lea edi, [r15 + r15]
lea rcx, [rbp + 8]
call fcn.14000aed0
mov rbx, rax
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x1f0]
mov rdx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 7
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
xor edi, edi
test eax, eax
je 0x140035b72
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rdi
mov word [rbp + 0x60], di
cmp word [0x1400a54e0], di
jne 0x140035ad7
mov eax, edi
jmp 0x140035ae3
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], dil
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x460
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
lea rcx, [rbp + 8]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x20]
call fcn.1400227dc
jmp 0x140035c45
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rbx
mov word [rbp + 0x80], bx
cmp word [0x1400a54e0], bx
jne 0x140035bb1
mov rax, rbx
jmp 0x140035bbd
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0x60], bl
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x465
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret