Function at 0x1400c1ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
movaps xmmword [rsp + 0x60], xmm6
mov dword [rbp + 0x38], ebx
mov r14, r9
mov r10, rdx
mov rsi, rcx
xorps xmm6, xmm6
mov edi, ebx
test r9, r9
jne 0x1400c1b21
lea r8, str.RegClient.cpp
mov edx, 0x252
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400c1df4
sub r8d, 3
je 0x1400c1d47
sub r8d, 1
je 0x1400c1c90
sub r8d, 7
je 0x1400c1bdc
cmp r8d, 8
jne 0x1400c1df2
mov qword [rbp - 0x38], rbx
cmp qword [rcx], rbx
je 0x1400c1bb7
lea rdx, [rbp - 0x38]
mov rcx, r10
call fcn.1400c0600
test eax, eax
js 0x1400c1bb7
mov rdi, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov rcx, qword [rsi]
lea r9, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x38]
mov dword [rbp - 0x40], 4
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400c1ba6
cmp dword [rbp - 0x3c], 4
mov esi, ebx
mov eax, SafeArrayDestroy
cmovne esi, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
mov edi, ebx
sete dil
mov ecx, 4
call fcn.1402a7088
mov qword [r14], rax
test rax, rax
je 0x1400c1df2
mov ecx, dword [rbp + 0x38]
mov dword [rax], ecx
mov eax, 1
jmp 0x1400c1df4
xor eax, eax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp qword [rcx], rax
je 0x1400c1c6d
lea rdx, [rbp - 0x38]
mov rcx, r10
call fcn.1400c0600
test eax, eax
js 0x1400c1c66
mov rdi, qword [rbp - 0x38]
lea r9, [rbp - 0x40]
mov rcx, qword [rsi]
xor eax, eax
mov qword [rbp - 0x30], rax
xor r8d, r8d
mov qword [rbp - 0x28], rax
mov rdx, rdi
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x3c], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400c1c55
cmp dword [rbp - 0x40], 3
mov esi, ebx
mov eax, SafeArrayDestroy
cmovne esi, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
mov edi, ebx
sete dil
test edi, edi
cmovne bx, word [rbp - 0x28]
mov ecx, 2
call fcn.1402a7088
mov qword [r14], rax
test rax, rax
je 0x1400c1df2
mov word [rax], bx
mov eax, 1
jmp 0x1400c1df4
xor eax, eax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp qword [rcx], rax
je 0x1400c1d23
lea rdx, [rbp - 0x38]
mov rcx, r10
call fcn.1400c0600
test eax, eax
js 0x1400c1d1a
mov rdi, qword [rbp - 0x38]
lea r9, [rbp - 0x40]
mov rcx, qword [rsi]
xor eax, eax
mov qword [rbp - 0x30], rax
xor r8d, r8d
mov qword [rbp - 0x28], rax
mov rdx, rdi
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x3c], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400c1d09
cmp dword [rbp - 0x40], 3
mov esi, ebx
mov eax, SafeArrayDestroy
cmovne esi, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
mov edi, ebx
sete dil
test edi, edi
je 0x1400c1d23
movss xmm6, dword [rbp - 0x28]
mov ecx, 4
call fcn.1402a7088
mov qword [r14], rax
test rax, rax
je 0x1400c1df2
movss dword [rax], xmm6
mov eax, 1
jmp 0x1400c1df4
xor eax, eax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp qword [rcx], rax
je 0x1400c1dd7
lea rdx, [rbp - 0x38]
mov rcx, r10
call fcn.1400c0600
test eax, eax
js 0x1400c1dd1
mov rdi, qword [rbp - 0x38]
lea r9, [rbp - 0x40]
mov rcx, qword [rsi]
xor eax, eax
mov qword [rbp - 0x30], rax
xor r8d, r8d
mov qword [rbp - 0x28], rax
mov rdx, rdi
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x3c], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400c1dc0
cmp dword [rbp - 0x40], 3
mov esi, ebx
mov eax, SafeArrayDestroy
cmovne esi, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
mov edi, ebx
sete dil
test edi, edi
cmovne ebx, dword [rbp - 0x28]
mov ecx, 4
call fcn.1402a7088
mov qword [r14], rax
test rax, rax
je 0x1400c1df2
mov dword [rax], ebx
mov eax, 1
jmp 0x1400c1df4
mov eax, edi
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret