Function at 0x14002b440
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor edi, edi
lea rcx, [rsp + 0x58]
call fcn.14002b260
nop
lea rdx, [rbp + 0x30]
lea rcx, str.4d36e972_e325_11ce_bfc1_08002be10318
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x14002b51a
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002b51a
mov r8d, 0x27
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x30]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rcx, rbx
test eax, eax
jle 0x14002b514
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rbp + 0xc0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002b500
lea rdx, [rbp + 0xc0]
jmp 0x14002b533
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
lea rdx, [0x1400ac3f8]
xor r8d, r8d
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14000c420
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14002bd58
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
cmp r13, rax
je 0x14002bd58
movabs rsi, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.1400298f0
nop
lea rcx, [rbp - 0x30]
call fcn.140029a20
nop
mov rax, rsi
sub rax, rbx
cmp rax, 0x27
jb 0x14002bdd6
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x27
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea rcx, [rbp + 0x40]
call fcn.14002e7e0
nop
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14002abf0
test al, al
jne 0x14002b6b1
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002b61d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd43
call fcn.140092320
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14002b658
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd4a
call fcn.140092320
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14002bc57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b6a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd51
call fcn.140092320
jmp 0x14002bc57
mov esi, edi
mov r15, qword [rbp + 0x28]
mov r14, qword [rbp + 0x20]
mov r12, qword [rbp + 0x10]
nop
lea r9, [rbp + 0xea]
test esi, esi
jns 0x14002b70b
mov ecx, esi
neg ecx
nop
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x14002b6d0
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x14002b740
mov r8d, esi
nop
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x14002b710
lea r8, [rbp + 0xea]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.14002e920
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 1
jb 0x14002bddc
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ac450]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.14002e7e0
nop
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14002e5c0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14002b7fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b7f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd12
call fcn.140092320
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14002b840
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b83b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd35
call fcn.140092320
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdx, qword [rbp - 0x10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002bc6e
mov dword [rsp + 0x40], 0x200
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002b937
lea rax, [rbp + 0x110]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002b8e0
mov rax, qword [rbp - 0x78]
cmp rdx, rax
ja 0x14002b926
lea rdi, [rsp + 0x70]
cmp rax, 7
cmova rdi, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x110]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rdi + rbx], ax
xor edi, edi
jmp 0x14002b937
lea r9, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.14000c0f0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x70]
mov r9, qword [rsp + 0x70]
mov r10, qword [rbp - 0x78]
cmp r10, 7
cmova rcx, r9
lea r8, [rbp + 0x10]
cmp r15, 7
cmova r8, r12
cmp r14, qword [rbp - 0x80]
jne 0x14002bc77
mov rdx, r14
test r14, r14
je 0x14002b998
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14002bc77
add rcx, 2
sub rdx, 1
jne 0x14002b980
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa0]
call fcn.1400298f0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov r8d, 0xe
lea rdx, str.NetworkAddress
lea rcx, [rbp - 0x50]
call fcn.14000c420
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdx, qword [rbp - 0x10]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002ba4c
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
cmp qword [rbx + 0x18], 7
jbe 0x14002ba16
mov rbx, qword [rbx]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14002ba8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ba87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd19
call fcn.140092320
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x14002bae3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002badd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd20
call fcn.140092320
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14002bb24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bb1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd27
call fcn.140092320
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14002bb75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bb70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd2e
call fcn.140092320
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14002abf0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002bbc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bbbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd43
call fcn.140092320
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14002bbfd
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bbf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd4a
call fcn.140092320
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14002bc4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd51
call fcn.140092320
movabs rsi, 0x7ffffffffffffffe
add r13, 0x20
cmp r13, qword [rbp + 0x30]
je 0x14002bd58
mov rbx, qword [rbp - 0x60]
jmp 0x14002b570
mov r10, qword [rbp - 0x78]
mov r9, qword [rsp + 0x70]
cmp r10, 7
jbe 0x14002bcb2
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14002bcaa
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd35
mov rcx, r9
call fcn.140092320
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14002bcff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bcfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bd3c
call fcn.140092320
inc esi
cmp esi, 0x3e8
jl 0x14002b6c0
jmp 0x14002bb75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14002bd9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002bd96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092320
nop
lea rcx, [rsp + 0x58]
call fcn.140013c60
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140091db0
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400040e0
nop
call fcn.1400040e0
int3