Function at 0x140175630
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbp, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
mov dword [r11 + 0x20], r12d
mov dword [r11 + 8], r12d
lea rax, [r11 + 8]
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x78], r12
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017588e
cmp dword [rsp + 0xb8], 7
jne 0x14017588e
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14017584a
mov ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r14d, r12d
mov qword [rsp + 0x50], r12
mov r13d, r12d
cmp rax, 2
jb 0x14017572a
and rbx, 0xfffffffffffffffe
cmp rbx, 0x1000
jb 0x1401756f0
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1401758a8
call fcn.140265ffc
test rax, rax
je 0x1401756e9
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140175705
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140175702
mov rcx, rbx
call fcn.140265ffc
mov rsi, rax
jmp 0x140175705
mov rsi, r12
mov qword [rsp + 0x40], rsi
lea r14, [rbx + rsi]
mov qword [rsp + 0x50], r14
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov r13, r14
mov qword [rsp + 0x48], r14
jmp 0x14017572f
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xb8]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017584e
mov rbx, rsi
mov rcx, rsi
lea r15, [r13 - 2]
mov qword [rsp + 0x38], rbx
cmp rcx, r15
jae 0x14017580a
xor r8d, r8d
mov rdx, r13
call fcn.1402680d0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 8]
cmp rax, qword [rbp + 0x10]
je 0x1401757e4
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
cmp rbx, rdi
jne 0x1401757c2
mov qword [rax + 0x18], 7
mov word [rax], r12w
add qword [rbp + 8], 0x20
lea rbx, [rdi + 2]
mov rcx, rbx
jmp 0x14017576a
mov r8, rdi
sub r8, rbx
sar r8, 1
mov rdx, rbx
mov rcx, rax
call fcn.1400768b0
add qword [rbp + 8], 0x20
lea rbx, [rdi + 2]
mov rcx, rbx
jmp 0x14017576a
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbp
call fcn.1401752a0
mov rdi, qword [rsp + 0x30]
lea rbx, [rdi + 2]
mov rcx, rbx
jmp 0x14017576a
test rsi, rsi
je 0x14017584a
sub r14, rsi
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140175841
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140175841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140082030
nop
mov al, 1
jmp 0x140175890
test rsi, rsi
je 0x14017588e
sub r14, rsi
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140175885
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140175885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140082030
nop
xor al, al
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400870d0
int3