Function at 0x14002d6f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400c5048]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r9
mov rax, r8
mov rdi, rcx
mov qword [rbp + 7], rcx
xor r15d, r15d
cmp qword [r8 + 0x18], 0x10
jb 0x14002d730
mov rax, qword [r8]
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002d8f5
mov dword [rbp + 0xf], r15d
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002d76b
mov rdx, qword [rsi]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x13]
xor r8d, r8d
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x14002d932
cmp dword [rbp + 0x13], 1
jne 0x14002d979
xorps xmm0, xmm0
mov r14d, dword [rbp + 0xf]
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
test r14, r14
je 0x14002d7d5
mov edx, r14d
lea rcx, [rbp + 0x17]
call fcn.140022f50
mov rcx, qword [rbp + 0x17]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.140093f7a
mov qword [rbp + 0x1f], rbx
cmp qword [rsi + 0x18], 0x10
jb 0x14002d7df
mov rsi, qword [rsi]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x13]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14002d8b8
mov r8, qword [rbp + 0x1f]
dec r8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov rcx, qword [rbp + 0x17]
cmp rcx, r8
jne 0x14002d847
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
jmp 0x14002d859
sub r8, rcx
mov rdx, rcx
mov rcx, rdi
call fcn.1400266f0
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14002d892
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d88d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d88d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400926b4
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140092210
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edx, ebx
lea rcx, [rbp - 0x19]
call fcn.14000f850
nop
mov r8, rax
lea rdx, str.Error_reading_registry_value:
lea rcx, [rbp - 0x39]
call fcn.14001ffc0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14002d3f0
lea rdx, [0x1400bfe58]
lea rcx, [rbp - 0x59]
call fcn.140093f92
nop
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.14000f850
nop
mov r8, rax
lea rdx, str.Error_opening_registry_key:
lea rcx, [rbp - 0x19]
call fcn.14001ffc0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14002d3f0
lea rdx, [0x1400bfe58]
lea rcx, [rbp - 0x59]
call fcn.140093f92
nop
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
lea rcx, [rbp - 0x19]
call fcn.14000f850
nop
mov r8, rax
lea rdx, str.Error_reading_registry_value_size:
lea rcx, [rbp - 0x39]
call fcn.14001ffc0
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14002d3f0
lea rdx, [0x1400bfe58]
lea rcx, [rbp - 0x59]
call fcn.140093f92
nop
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Registry_value_is_not_a_string
lea rcx, [rbp - 0x59]
call fcn.14002d460
lea rdx, [0x1400bfe58]
lea rcx, [rbp - 0x59]
call fcn.140093f92
int3