Function at 0x1400358d4
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 [0x1400ca118]
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.140022a08
nop
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x68]
xor ebx, ebx
test al, al
je 0x140035b0a
mov r15d, ebx
mov rbx, qword [rdi]
jmp 0x140035961
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 0x14003594e
inc r15
lea rcx, [rbp + 8]
call fcn.140009b88
nop
lea rdx, [r15 + r15]
lea rcx, [rbp + 8]
call fcn.14000de50
lea rcx, [rbp + 8]
call fcn.14000adb8
mov rsi, rax
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x1400359e9
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 0x1400359c1
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x1f0]
jmp 0x1400359c8
lea rax, [0x1400a6650]
mov rdx, rax
mov rcx, rsi
call fcn.140066754
lea rsi, [rsi + r13*2]
add rsi, 2
add rbx, 0x18
cmp rbx, qword [rdi + 8]
jne 0x140035996
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.14000adb8
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 0x140035af2
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rdi
mov word [rbp + 0x60], di
cmp word [0x1400a6650], di
jne 0x140035a57
mov eax, edi
jmp 0x140035a63
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a80]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
lea rcx, [rbp + 8]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x20]
call fcn.140022a60
jmp 0x140035bc5
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rbx
mov word [rbp + 0x80], bx
cmp word [0x1400a6650], bx
jne 0x140035b31
mov rax, rbx
jmp 0x140035b3d
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a80]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
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