Function at 0x14001d660
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd48]
sub rsp, 0xe90
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0xc70], rax
cmp word [0x14008b354], 0
jne 0x14001d6ef
xor eax, eax
jmp 0x14001e0f2
movups xmm0, xmmword [0x14005c3d8]
movups xmmword [rbp + 0x50], xmm0
mov r9d, 0x12
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
mov qword [rbp - 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x14001d6e8
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.14003fc80
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x870]
call fcn.14003fc80
xor eax, eax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
xor r12d, r12d
mov dword [rbp - 0x18], r12d
mov r15d, r12d
mov dword [rbp - 0x80], r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x470]
call fcn.14003fc80
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
lea rcx, [0x14008e914]
call fcn.14003aa90
mov dword [rbp - 0x10], 0x20
xor eax, eax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov dword [rbp + 0xc], eax
mov r14d, r12d
mov dword [rbp - 0x7c], r12d
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14001e0cd
lea r13d, [r12 + 0xc]
movsd xmm13, qword [0x140057160]
movsd xmm14, qword [0x1400644e8]
movsd xmm15, qword [0x1400644f0]
movsd xmm7, qword [0x140057488]
nop dword [rax + rax]
mov dword [rbp - 0x14], 0x100
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.14003fc80
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
mov ebx, eax
test eax, eax
je 0x14001e0ae
movzx ecx, word [rbp + 0x170]
mov word [rbp + 0xb8], cx
movzx ecx, word [rbp + 0x172]
mov word [rbp + 0xba], cx
movzx ecx, word [rbp + 0x174]
mov word [rbp + 0xbc], cx
mov word [rbp + 0xbe], r12w
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x370]
call fcn.14003fc80
cmp word [rbp + 0x160], 0
je 0x14001d934
lea rax, [rbp + 0x160]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001d8d6
lea rcx, [rbp + 0x160]
call fcn.1400148c0
lea rdx, str.MONITOR
lea rcx, [rbp + 0x160]
call fcn.14003bb80
test rax, rax
jne 0x14001d934
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0xb8]
mov rdx, r9
lea rcx, [rbp + 0x370]
call fcn.14004458c
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0xb8]
call fcn.14000f8f0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rdi, rax
mov qword [rbp - 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14001e0ae
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x470]
call fcn.14003fc80
mov dword [rbp - 0x18], 0x400
mov edx, 0x2a
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x470]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e062
mov dword [rbp + 0xa0], 0xffffff00
mov dword [rbp + 0xa4], 0xffffff
mov rax, qword [rbp + 0x470]
cmp rax, qword [rbp + 0xa0]
jne 0x14001e0ae
lea rcx, [rbp + 0x10]
call fcn.14000a790
nop
lea rcx, [rbp + 0x80]
call fcn.14000a790
nop
mov edx, 0x26
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140002940
nop
mov r14, r12
lea rsi, [rbp + 0x4a8]
cmp word [rsi - 2], 0
jne 0x14001db20
cmp byte [rsi], 0
jne 0x14001db20
xor eax, eax
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], eax
mov word [rbp + 0xb4], ax
movzx ebx, r12w
movsx rdi, bx
movzx ecx, byte [rdi + rsi + 3]
call fcn.140044d04
test eax, eax
je 0x14001da88
movzx eax, byte [rdi + rsi + 3]
mov byte [rbp + rdi + 0xa8], al
inc bx
cmp bx, 0xd
jl 0x14001da61
movzx ecx, r13w
nop dword [rax]
movsx rax, cx
cmp byte [rbp + rax + 0xa8], 0x30
jge 0x14001dab6
cmp rax, 0xe
jae 0x14001e15a
mov byte [rbp + rax + 0xa8], 0
sub cx, 1
jne 0x14001da90
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x28]
call fcn.14000f130
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.140014d00
nop
movzx ecx, byte [rsi + 1]
sub ecx, 0xfc
je 0x14001db09
sub ecx, 2
je 0x14001db00
cmp ecx, 1
jne 0x14001db17
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x60]
call fcn.14000a900
jmp 0x14001db17
lea rcx, [rbp + 0x80]
jmp 0x14001db0d
lea rcx, [rbp + 0x10]
lea rdx, [rbp + 0x30]
call fcn.14000a800
nop
lea rcx, [rbp + 0x30]
call fcn.140002990
inc r14
add rsi, 0x12
cmp r14, 4
jl 0x14001da33
movzx ecx, byte [rbp + 0x4aa]
mov eax, ecx
and eax, 0xf
sub ecx, eax
shl ecx, 4
movzx eax, byte [rbp + 0x4a8]
add ecx, eax
movd xmm11, ecx
cvtdq2pd xmm11, xmm11
movzx ecx, byte [rbp + 0x4ad]
mov eax, ecx
and eax, 0xf
sub ecx, eax
shl ecx, 4
movzx eax, byte [rbp + 0x4ab]
add ecx, eax
movd xmm12, ecx
cvtdq2pd xmm12, xmm12
movzx ecx, byte [rbp + 0x4b4]
mov edx, ecx
and edx, 0xf
sub ecx, edx
shl ecx, 4
movzx eax, byte [rbp + 0x4b2]
add ecx, eax
movd xmm8, ecx
cvtdq2pd xmm8, xmm8
shl edx, 8
movzx eax, byte [rbp + 0x4b3]
add edx, eax
movd xmm9, edx
cvtdq2pd xmm9, xmm9
movaps xmm1, xmm9
mulsd xmm1, xmm9
movaps xmm0, xmm8
mulsd xmm0, xmm8
addsd xmm1, xmm0
sqrtpd xmm10, xmm1
mulsd xmm10, qword [0x1400644c0]
movzx ebx, byte [rbp + 0x485]
movzx ecx, byte [rbp + 0x486]
imul ecx, ecx
mov eax, ebx
imul eax, ebx
add ecx, eax
call fcn.140016710
movaps xmm5, xmm0
movaps xmm4, xmm0
mulsd xmm4, qword [0x1400644d0]
movaps xmm6, xmm10
movaps xmm1, xmm10
addsd xmm1, xmm13
comisd xmm4, xmm1
jbe 0x14001dc9c
movaps xmm2, xmm12
mulsd xmm2, xmm12
movaps xmm1, xmm11
mulsd xmm1, xmm11
addsd xmm2, xmm1
sqrtpd xmm3, xmm2
movaps xmm0, xmm14
divsd xmm0, xmm5
mulsd xmm0, xmm3
movaps xmm1, xmm11
divsd xmm1, xmm0
mulsd xmm1, xmm14
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
comisd xmm1, xmm0
jbe 0x14001dc63
subsd xmm6, qword [0x1400644c8]
jmp 0x14001dc66
movaps xmm6, xmm4
divsd xmm3, xmm6
movaps xmm0, xmm13
divsd xmm0, xmm3
movaps xmm8, xmm11
mulsd xmm8, xmm15
mulsd xmm8, xmm0
subsd xmm8, xmm7
movaps xmm9, xmm12
mulsd xmm9, xmm15
mulsd xmm9, xmm0
subsd xmm9, xmm7
movaps xmm10, xmm6
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14000e370
cmp word [rax], 0
jne 0x14001dcbd
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x10]
call fcn.14000a800
movaps xmm1, xmm12
mulsd xmm1, xmm12
movaps xmm0, xmm11
mulsd xmm0, xmm11
addsd xmm1, xmm0
sqrtpd xmm7, xmm1
movaps xmm0, xmm13
divsd xmm0, xmm6
mulsd xmm7, xmm0
movzx eax, byte [rbp + 0x487]
add eax, 0x64
movd xmm6, eax
cvtdq2pd xmm6, xmm6
mulsd xmm6, qword [0x1400644b8]
movzx eax, word [rbp + 0x47a]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xb8]
lea r8, str._s_04X
mov edx, 0x20
lea rcx, [rbp + 0x120]
call fcn.140016470
xor eax, eax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
movaps xmm3, xmm10
movq r9, xmm3
lea r8, str._.1f
lea edx, [rax + 0x40]
lea rcx, [rbp + 0xe0]
call fcn.140016470
mov edx, 0x2c
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rbp - 0x70], rax
mov edx, 0x2b
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rbp - 0x68], rax
mov edx, 0x5f
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rbp - 0x60], rax
mov edx, 0x5e
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x60]
call fcn.140009eb0
mov r12, rax
movzx r13d, byte [rbp + 0x481]
add r13d, 0x7c6
movzx eax, byte [rbp + 0x480]
and eax, 0x7f
mov dword [rbp - 0x78], eax
mov edx, 0x2a
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov r15, rax
lea rcx, [rbp + 0x10]
call fcn.140009eb0
mov r14, rax
mov edx, 0x29
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rsi, rax
mov edx, 0x28
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdi, rax
lea rcx, [rbp + 0x10]
call fcn.140009eb0
mov rbx, rax
mov edx, 0x27
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
movsd qword [rsp + 0xe0], xmm6
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0xd8], rcx
movsd qword [rsp + 0xd0], xmm7
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0xc8], rcx
movsd qword [rsp + 0xc0], xmm12
movsd qword [rsp + 0xb8], xmm11
lea rcx, [0x1400627fc]
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0xa8], rcx
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0xa0], rcx
movsd qword [rsp + 0x98], xmm9
movsd qword [rsp + 0x90], xmm8
lea rdx, [0x140062804]
mov qword [rsp + 0x88], rdx
mov rcx, qword [rbp - 0x50]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x70], r13d
lea rcx, [0x140062808]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rbp - 0x78]
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rsi
lea rcx, [rbp + 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x370]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, str._s_s_s__s_n_s_s_n_s_s_n_s_d_s_d_n_s_n_s_s_1f_mm_x__1f_mm___s___n_s_s_1f_x__1f_n_s_1f_ppi_n_s_2f_n_n
mov edx, 0x200
lea rcx, [rbp + 0x870]
call fcn.14000e3d0
lea rdx, [rbp + 0x870]
lea rcx, [0x14008e914]
call fcn.14000a910
lea rdx, [rbp + 0x160]
lea rcx, [0x14008b354]
call fcn.140044670
test eax, eax
jne 0x14001e020
mov r15d, 1
mov dword [rbp - 0x80], r15d
lea rcx, [rbp + 0x10]
call fcn.140009eb0
lea rcx, [0x1400628d4]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x370]
lea r8, [0x1400628d8]
lea edx, [r15 + 0x7f]
lea rcx, [0x14008ab94]
call fcn.14000e3d0
jmp 0x14001e024
mov r15d, dword [rbp - 0x80]
lea rcx, [rbp + 0x60]
call fcn.140002990
nop
lea rcx, [rbp + 0x80]
call fcn.140002990
nop
lea rcx, [rbp + 0x10]
call fcn.140002990
movsd xmm7, qword [0x140057488]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov r14d, dword [rbp - 0x7c]
xor r12d, r12d
lea r13d, [r12 + 0xc]
jmp 0x14001e0a5
cmp ebx, 1
jne 0x14001e0a5
cmp word [rbp + 0x160], 0
je 0x14001e0a5
lea rdx, [rbp + 0x160]
lea rcx, [0x14008b354]
call fcn.140044670
test eax, eax
jne 0x14001e0a5
lea r9, [rbp + 0x370]
lea r8, [0x140057288]
lea edx, [rbx + 0x7f]
lea rcx, [0x14008ab94]
call fcn.14000e3d0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r14d
mov dword [rbp - 0x7c], r14d
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14001d830
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
test r15d, r15d
jne 0x14001e0ef
xor edx, edx
mov r8d, 0x100
lea rcx, [0x14008b354]
call fcn.14003fc80
mov eax, r15d
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.14003e210
lea r11, [rsp + 0xe90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003e47c
nop