Function at 0x1400294f0
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 [0x1400bf040]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor edi, edi
lea rcx, [rsp + 0x58]
call fcn.140029310
nop
lea rdx, [rbp + 0x30]
lea rcx, str.4d36e972_e325_11ce_bfc1_08002be10318
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x1400295ca
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 0x1400295ca
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 0x1400295c4
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 0x1400295b0
lea rdx, [rbp + 0xc0]
jmp 0x1400295e3
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
lea rdx, [0x1400a8330]
xor r8d, r8d
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14000bfe0
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140029e1f
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
cmp r13, rax
je 0x140029e1f
movabs rsi, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.1400279a0
nop
lea rcx, [rbp - 0x30]
call fcn.140027ad0
nop
mov rax, rsi
sub rax, rbx
cmp rax, 0x27
jb 0x140029e9d
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.14002c940
nop
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140028ca0
test al, al
jne 0x140029761
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x1400296cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400296c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e0a
call fcn.14008e420
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140029708
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029703
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e11
call fcn.14008e420
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140029d11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e18
call fcn.14008e420
jmp 0x140029d11
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 0x1400297bb
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 0x140029780
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x1400297f0
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 0x1400297c0
lea r8, [rbp + 0xea]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.14002cc80
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 1
jb 0x140029ea3
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400a8350]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.14002c940
nop
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14002c720
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1400298aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dd9
call fcn.14008e420
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x1400298f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400298eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dfc
call fcn.14008e420
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 0x140029d35
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]
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x1400299ee
lea rax, [rbp + 0x110]
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140029990
mov rax, qword [rbp - 0x78]
cmp rdx, rax
ja 0x1400299dd
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
mov rbx, 0xffffffffffffffff
jmp 0x1400299ee
lea r9, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.14000bcb0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x70]
mov r10, qword [rsp + 0x70]
mov r11, qword [rbp - 0x78]
cmp r11, 7
cmova rax, r10
lea r9, [rbp + 0x10]
cmp r15, 7
cmova r9, r12
cmp r14, qword [rbp - 0x80]
jne 0x140029d3e
test r14, r14
je 0x140029a52
mov rcx, r14
sub r9, rax
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x140029d28
add rax, 2
sub rcx, 1
jne 0x140029a30
mov eax, edi
test eax, eax
jne 0x140029d3e
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa0]
call fcn.1400279a0
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.14000bfe0
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 0x140029b06
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
cmp qword [rbx + 0x18], 7
jbe 0x140029ad0
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 0x140029b46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029de0
call fcn.14008e420
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x140029b9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029b97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029de7
call fcn.14008e420
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140029bde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029bd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dee
call fcn.14008e420
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140029c2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029df5
call fcn.14008e420
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140028ca0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140029c7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e0a
call fcn.14008e420
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140029cb7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029cb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e11
call fcn.14008e420
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140029d07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e18
call fcn.14008e420
movabs rsi, 0x7ffffffffffffffe
add r13, 0x20
cmp r13, qword [rbp + 0x30]
je 0x140029e1f
mov rbx, qword [rbp - 0x60]
jmp 0x140029620
mov eax, 1
cmovb eax, ebx
jmp 0x140029a4a
mov r11, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
cmp r11, 7
jbe 0x140029d79
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140029d71
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dfc
mov rcx, r10
call fcn.14008e420
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140029dc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029dc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e03
call fcn.14008e420
inc esi
cmp esi, 0x3e8
jl 0x140029770
jmp 0x140029c2f
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 0x140029e63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029e5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029e5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008e420
nop
lea rcx, [rsp + 0x58]
call fcn.140013760
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14008deb0
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.140003d20
nop
call fcn.140003d20
int3