Function at 0x140052fc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0x100
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [rcx + 0x48]
xor bl, bl
mov qword [rbp - 0x71], r8
mov r14, rcx
mov byte [rbp - 0x79], bl
test rax, rax
je 0x140053495
cmp qword [rcx + 0x50], 0
je 0x140053495
cmp qword [rcx + 0x58], 0
je 0x140053495
cmp qword [rcx + 0x60], 0
je 0x140053495
cmp qword [rcx + 0x38], 0
je 0x140053495
cmp qword [rcx + 0x40], 0
je 0x140053495
cmp qword [rcx + 0x68], 0
je 0x140053495
cmp qword [rcx + 0x70], 0
je 0x140053495
mov qword [r11 + 0x10], rsi
xor r8d, r8d
xor esi, esi
mov qword [r11 - 0x38], r15
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
xor ecx, ecx
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 4]
call qword [0x1400fac68]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140053480
mov rcx, rax
mov qword [rsp + 0xf8], rdi
mov rax, qword [r14 + 0x50]
lea r8, [rbp - 0x49]
xor edx, edx
mov dword [rbp - 0x49], 0x20
mov edi, esi
mov dword [rbp - 0x75], esi
call qword [0x1400fac68]
test eax, eax
je 0x14005346b
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe8], r13
nop dword [rax]
lea rax, [rbp - 0x69]
mov dword [rbp - 0x69], esi
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x5d]
mov rax, qword [r14 + 0x70]
lea rdx, [rbp - 0x49]
mov dword [rsp + 0x28], esi
mov r8d, 1
mov rcx, r15
mov qword [rsp + 0x20], rsi
mov r13, rsi
call qword [0x1400fac68]
test eax, eax
jne 0x140053141
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x140053141
mov ecx, dword [rbp - 0x69]
call fcn.1400c26fc
mov r13, rax
lea r9, [rbp - 0x5d]
lea rax, [rbp - 0x69]
mov r8d, 1
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x69]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x70]
mov qword [rsp + 0x20], r13
call qword [0x1400fac68]
test eax, eax
je 0x1400530f7
lea rax, [rbp - 0x65]
mov dword [rbp - 0x65], esi
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x59]
mov rax, qword [r14 + 0x70]
lea rdx, [rbp - 0x49]
mov dword [rsp + 0x28], esi
mov r8d, 2
mov rcx, r15
mov qword [rsp + 0x20], rsi
mov r12, rsi
call qword [0x1400fac68]
test eax, eax
jne 0x1400531c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400531c2
mov ecx, dword [rbp - 0x65]
call fcn.1400c26fc
mov r12, rax
lea r9, [rbp - 0x59]
lea rax, [rbp - 0x65]
mov r8d, 2
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x65]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x70]
mov qword [rsp + 0x20], r12
call qword [0x1400fac68]
test eax, eax
je 0x140053178
test r13, r13
je 0x14005321e
cmp word [r13], 0
mov rbx, r13
je 0x14005321a
nop dword [rax]
nop word [rax + rax]
lea rdx, str.RootAsusSharedCam
mov rcx, rbx
call fcn.1400d94d8
test eax, eax
je 0x14005327f
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140053200
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x1400531e0
movzx ebx, byte [rbp - 0x79]
test r12, r12
je 0x14005341c
cmp word [r12], 0
mov rbx, r12
je 0x140053418
nop word [rax + rax]
lea rdx, str.RootAsusSharedCam
mov rcx, rbx
call fcn.1400d94d8
test eax, eax
je 0x14005327f
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140053260
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140053240
jmp 0x140053418
xorps xmm0, xmm0
mov dword [rbp - 0x61], esi
lea rax, [rbp - 0x61]
mov r8d, 9
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x55]
mov rax, qword [r14 + 0x70]
lea rdx, [rbp - 0x49]
mov dword [rsp + 0x28], esi
mov rcx, r15
mov qword [rsp + 0x20], rsi
mov rdi, rsi
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [0x1400fac68]
test eax, eax
jne 0x140053415
nop dword [rax]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x14005331a
mov ecx, dword [rbp - 0x61]
call fcn.1400c26fc
mov rdi, rax
lea r9, [rbp - 0x55]
lea rax, [rbp - 0x61]
mov r8d, 9
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x61]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x70]
mov qword [rsp + 0x20], rdi
call qword [0x1400fac68]
test eax, eax
je 0x1400532d0
test rdi, rdi
je 0x140053415
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
cmp word [rdi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140053330
lea ebx, [rax + 0x28]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1400c26fc
lea r9, str.SYSTEMCurrentControlSetControlClass
mov dword [rbp - 0x4d], 0
lea r8, str._s_s
mov dword [rbp - 0x51], 0x40
mov edx, ebx
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov rsi, rax
call fcn.140017d20
lea rax, [rbp - 0x51]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.DriverVersion
lea rax, [rbp - 0x29]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
lea rax, [rbp - 0x4d]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x1400533c9
movzx ebx, byte [rbp - 0x79]
xor eax, eax
mov word [rbp - 0x29], ax
jmp 0x1400533e8
mov rax, qword [rbp - 0x71]
mov bl, 1
mov byte [rbp - 0x79], bl
test rax, rax
je 0x1400533e8
lea r8, [rbp - 0x29]
mov edx, 0x20
mov rcx, rax
call fcn.1400cc908
movzx edx, bl
lea r8, [rbp - 0x29]
mov r9, rsi
lea rcx, str._AsusSync_DriverHelper__IsDriverReady_find_device__d___s__:__s_n
call fcn.140095ab0
mov rcx, rsi
call fcn.1400c2470
mov rcx, rdi
call fcn.1400c2470
mov edi, dword [rbp - 0x75]
xor esi, esi
jmp 0x14005341c
mov edi, dword [rbp - 0x75]
movzx ebx, byte [rbp - 0x79]
test r13, r13
je 0x140053429
mov rcx, r13
call fcn.1400c2470
test r12, r12
je 0x140053436
mov rcx, r12
call fcn.1400c2470
cmp bl, 1
je 0x14005345b
mov rax, qword [r14 + 0x50]
lea r8, [rbp - 0x49]
inc edi
mov rcx, r15
mov edx, edi
mov dword [rbp - 0x75], edi
call qword [0x1400fac68]
test eax, eax
jne 0x1400530c0
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xe8]
mov rax, qword [r14 + 0x40]
mov rcx, r15
call qword [0x1400fac68]
mov rdi, qword [rsp + 0xf8]
mov r15, qword [rsp + 0xe0]
movzx eax, bl
mov rsi, qword [rsp + 0x128]
jmp 0x140053497
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c2450
add rsp, 0x100
pop r14
pop rbx
pop rbp
ret