Function at 0x140017890
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140154010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
xor r15d, r15d
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, rsi
call fcn.140009fd0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x60], eax
mov dword [rbp - 0x28], 0x63
mov dword [rbp - 0x24], 1
lea rcx, [rbp - 0x20]
call fcn.140016f00
cmp qword [rax + 0x18], 0x10
jb 0x140017916
mov rax, qword [rax]
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140017978
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017973
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
test ebx, ebx
je 0x140017b01
lea r9, [rbp - 0x33]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140017990
lea r8, [rbp - 0x33]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.14000b5b0
nop
lea r9d, [rbx + 4]
lea r8, str.rok_
lea rcx, [rbp - 0x70]
call fcn.1400186c0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov ebx, recv
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x140017a5c
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140017a4e
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140017a40
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017a91
mov rcx, r8
call fcn.1400c76e4
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov byte [rsp + 0x50], 0
jmp 0x140017a61
mov rbx, qword [rsp + 0x68]
cmp rbx, 0x10
jb 0x140017a9e
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140017adc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017ad7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, rdi
call fcn.140002120
jmp 0x140017db7
lea rcx, [rbp - 0x20]
call fcn.1400175d0
cmp qword [rax + 0x18], 0x10
jb 0x140017b14
mov rax, qword [rax]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x24]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140017b7a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
test ebx, ebx
je 0x140017ce1
lea r9, [rbp - 0x33]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140017b90
lea r8, [rbp - 0x33]
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.14000b5b0
nop
lea r9d, [rbx + 4]
lea r8, str.rqv_
lea rcx, [rbp - 0x20]
call fcn.1400186c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r15
mov ebx, recv
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rax, [rsp + 0x70]
cmp rsi, rax
je 0x140017c5b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140017c4d
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140017c3f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017c8f
mov rcx, r8
call fcn.1400c76e4
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov byte [rsp + 0x70], 0
jmp 0x140017c5f
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x10
jb 0x140017c9c
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017c96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c76e4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140017adc
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017ad7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140017d00
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.140002120
nop
lea rcx, [rbp - 0x48]
mov rbx, qword [rbp - 0x48]
mov r14, qword [rbp - 0x30]
cmp r14, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x140017ddd
lea rdx, [0x1400d32d7]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140017ddd
lea r8d, [rax + 3]
lea rdx, [0x14010519c]
mov rcx, rsi
call fcn.140009fd0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400d32d7]
mov rcx, rdi
call fcn.140002120
nop
cmp r14, 0x10
jb 0x140017db7
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140017daf
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017e45
mov rcx, rbx
call fcn.1400c76e4
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400c7430
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x30], 0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.140009b00
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140017e50
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x10], xmm1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140017db7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3