Function at 0x14002ba30
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.14002b850
nop
lea rdx, [rbp + 0x30]
lea rcx, str.4d36e972_e325_11ce_bfc1_08002be10318
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x14002bb0a
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 0x14002bb0a
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 0x14002bb04
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 0x14002baf0
lea rdx, [rbp + 0xc0]
jmp 0x14002bb23
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
lea rdx, [0x1400ac3c8]
xor r8d, r8d
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14000c2a0
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14002c35f
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
cmp r13, rax
je 0x14002c35f
movabs rsi, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140029ee0
nop
lea rcx, [rbp - 0x30]
call fcn.14002a010
nop
mov rax, rsi
sub rax, rbx
cmp rax, 0x27
jb 0x14002c3dd
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.14002ee60
nop
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14002b1e0
test al, al
jne 0x14002bca1
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002bc0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c34a
call fcn.140092e50
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14002bc48
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c351
call fcn.140092e50
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14002c251
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bc97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c358
call fcn.140092e50
jmp 0x14002c251
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 0x14002bcfb
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 0x14002bcc0
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x14002bd30
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 0x14002bd00
lea r8, [rbp + 0xea]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.14002efa0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 1
jb 0x14002c3e3
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ac420]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.14002ee60
nop
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14002ec40
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14002bdea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bde4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c319
call fcn.140092e50
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14002be30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002be2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c33c
call fcn.140092e50
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 0x14002c275
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 0x14002bf2e
lea rax, [rbp + 0x110]
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002bed0
mov rax, qword [rbp - 0x78]
cmp rdx, rax
ja 0x14002bf1d
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 0x14002bf2e
lea r9, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.14000bf70
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 0x14002c27e
test r14, r14
je 0x14002bf92
mov rcx, r14
sub r9, rax
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14002c268
add rax, 2
sub rcx, 1
jne 0x14002bf70
mov eax, edi
test eax, eax
jne 0x14002c27e
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa0]
call fcn.140029ee0
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.14000c2a0
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 0x14002c046
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
cmp qword [rbx + 0x18], 7
jbe 0x14002c010
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 0x14002c086
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c320
call fcn.140092e50
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x14002c0dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c0d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c327
call fcn.140092e50
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14002c11e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c32e
call fcn.140092e50
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14002c16f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c16a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c335
call fcn.140092e50
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14002b1e0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002c1bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c1b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c34a
call fcn.140092e50
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14002c1f7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c1f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c351
call fcn.140092e50
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14002c247
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c242
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c358
call fcn.140092e50
movabs rsi, 0x7ffffffffffffffe
add r13, 0x20
cmp r13, qword [rbp + 0x30]
je 0x14002c35f
mov rbx, qword [rbp - 0x60]
jmp 0x14002bb60
mov eax, 1
cmovb eax, ebx
jmp 0x14002bf8a
mov r11, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
cmp r11, 7
jbe 0x14002c2b9
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002c2b1
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c33c
mov rcx, r10
call fcn.140092e50
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14002c306
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c343
call fcn.140092e50
inc esi
cmp esi, 0x3e8
jl 0x14002bcb0
jmp 0x14002c16f
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 0x14002c3a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c39d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c39d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092e50
nop
lea rcx, [rsp + 0x58]
call fcn.140013710
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400928e0
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.140003ee0
nop
call fcn.140003ee0
int3