Function at 0x140010860
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x258]
sub rsp, 0x340
mov rax, qword [0x14010b010]
xor rax, rsp
mov qword [rbp + 0x218], rax
mov rax, qword [rcx + 0x48]
xor r14b, r14b
mov qword [rsp + 0x48], r8
mov rsi, rcx
mov byte [rsp + 0x40], r14b
test rax, rax
je 0x140010d6c
cmp qword [rcx + 0x50], 0
je 0x140010d6c
cmp qword [rcx + 0x58], 0
je 0x140010d6c
cmp qword [rcx + 0x60], 0
je 0x140010d6c
cmp qword [rcx + 0x38], 0
je 0x140010d6c
cmp qword [rcx + 0x40], 0
je 0x140010d6c
cmp qword [rcx + 0x68], 0
je 0x140010d6c
cmp qword [rcx + 0x70], 0
je 0x140010d6c
mov qword [r11 + 0x10], rbx
xor r8d, r8d
xor ebx, ebx
mov qword [r11 - 0x38], r15
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], rbx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
call rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140010b4f
mov qword [rsp + 0x338], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x70], 0x20
mov rcx, rax
mov dword [rsp + 0x44], ebx
mov edi, ebx
call qword [rsi + 0x50]
test eax, eax
je 0x140010b41
mov qword [rsp + 0x330], r12
mov qword [rsp + 0x328], r13
nop
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x5c]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x70]
mov r8d, 1
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r13, rbx
call qword [rsi + 0x70]
test eax, eax
jne 0x1400109dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400109dc
mov ecx, dword [rsp + 0x50]
call fcn.140061318
mov r13, rax
lea r9, [rsp + 0x5c]
lea rax, [rsp + 0x50]
mov r8d, 1
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x50]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call qword [rsi + 0x70]
test eax, eax
je 0x140010994
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x60]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x70]
mov r8d, 2
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r12, rbx
call qword [rsi + 0x70]
test eax, eax
jne 0x140010a58
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140010a58
mov ecx, dword [rsp + 0x54]
call fcn.140061318
mov r12, rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x54]
mov r8d, 2
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x54]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
call qword [rsi + 0x70]
test eax, eax
je 0x140010a10
test r13, r13
je 0x140010aac
cmp word [r13], 0
mov rbx, r13
je 0x140010aaa
nop dword [rax + rax]
lea rdx, str.SWCAsusAppComponent
mov rcx, rbx
call fcn.140099eac
test eax, eax
je 0x140010b68
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140010a90
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140010a70
xor ebx, ebx
test r12, r12
je 0x140010afc
cmp word [r12], 0
mov rbx, r12
je 0x140010afa
nop dword [rax]
lea rdx, str.SWCAsusAppComponent
mov rcx, rbx
call fcn.140099eac
test eax, eax
je 0x140010b68
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140010ae0
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140010ac0
xor ebx, ebx
test r13, r13
je 0x140010b09
mov rcx, r13
call fcn.140061310
test r12, r12
je 0x140010b16
mov rcx, r12
call fcn.140061310
inc edi
lea r8, [rsp + 0x70]
mov edx, edi
mov dword [rsp + 0x44], edi
mov rcx, r15
call qword [rsi + 0x50]
test eax, eax
jne 0x140010960
mov r13, qword [rsp + 0x328]
mov r12, qword [rsp + 0x330]
mov rcx, r15
call qword [rsi + 0x40]
mov rdi, qword [rsp + 0x338]
mov r15, qword [rsp + 0x320]
movzx eax, r14b
mov rbx, qword [rsp + 0x368]
jmp 0x140010d6e
xor ebx, ebx
lea r9, [rsp + 0x64]
xor eax, eax
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
mov qword [rbp + 0x210], rax
lea rax, [rsp + 0x58]
mov rcx, r15
mov qword [rsp + 0x30], rax
lea r8d, [rbx + 9]
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
mov edi, ebx
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
call qword [rsi + 0x70]
test eax, eax
jne 0x140010cd2
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140010c08
mov ecx, dword [rsp + 0x58]
call fcn.140061318
mov rdi, rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x58]
mov r8d, 9
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x58]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [rsi + 0x70]
test eax, eax
je 0x140010bc0
test rdi, rdi
je 0x140010cd2
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax + rax]
cmp word [rdi + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x140010c20
lea ebx, [rax + 0x28]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140061318
lea r9, str.SYSTEMCurrentControlSetControlClass
mov dword [rsp + 0x6c], 0
lea r8, str._s_s
mov dword [rsp + 0x68], 0x28
mov edx, ebx
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r14, rax
call fcn.1400103a0
lea rax, [rsp + 0x68]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.InfPath
lea rax, [rbp + 0x1f0]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor ebx, ebx
test eax, eax
je 0x140010cbc
mov word [rbp + 0x1f0], bx
mov rcx, r14
call fcn.140061310
mov rcx, rdi
call fcn.140061310
movzx r14d, byte [rsp + 0x40]
mov r9d, 0x10
mov dword [rbp - 0x70], 8
lea r8, [rbp - 0x70]
mov dword [rbp - 0x6c], 5
lea rdx, [rsp + 0x70]
mov qword [rbp - 0x68], 1
mov rcx, r15
call qword [rsi + 0x58]
test eax, eax
je 0x140010d48
lea r8, [rsp + 0x70]
mov rdx, r15
mov ecx, 5
call qword [rsi + 0x38]
test eax, eax
je 0x140010d48
lea r8, [rbp - 0x60]
mov dword [rbp - 0x60], 0x248
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [rsi + 0x60]
test eax, eax
je 0x140010d40
test dword [rbp - 0x5c], 0x180
je 0x140010d40
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
mov r14b, 1
mov byte [rsp + 0x40], r14b
cmp word [rbp + 0x1f0], 0
je 0x140010d63
xor r8d, r8d
lea rcx, [rbp + 0x1f0]
lea edx, [r8 + 1]
call qword [rsi + 0x68]
mov edi, dword [rsp + 0x44]
jmp 0x140010afc
xor al, al
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.1400612f0
add rsp, 0x340
pop r14
pop rsi
pop rbp
ret