Function at 0x140006700
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140035030]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rdi, rdx
mov r14d, dword [0x140035a40]
xor r15d, r15d
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
mov dword [rbp - 0x29], r15d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.140001690
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000679c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069dc
call fcn.14000bb4c
cmp dword [rbp - 0x29], 0xc
setge bl
jge 0x14000696e
mov qword [rbp - 0x11], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140002180
test eax, eax
jg 0x14000692b
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x21], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareTencentWeChat
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006831
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.IgnoreSysVer
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x29], 1
je 0x140006931
lea rax, str.S_MRHr_gW
lea rdx, str.Get_system_version_error__do_you_want_to_continue_
cmp r14d, 1
cmovne rdx, rax
mov rcx, rdi
call fcn.1400094f0
mov r9d, 1
mov r8, rsi
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x1400068c3
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400068bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069d6
call fcn.14000bb4c
xor bl, bl
jmp 0x14000696e
mov dword [rbp - 0x21], 1
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareTencentWeChat
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000691f
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.IgnoreSysVer
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006931
cmp eax, 4
setge bl
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000696e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006968
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069dc
call fcn.14000bb4c
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400069aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400069d0
call fcn.14000bb4c
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000b8a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140011f28
nop
call fcn.140011f28
nop
call fcn.140011f28
int3