Function at 0x140027ae0
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 [0x1400ba040]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor edi, edi
lea rcx, [rsp + 0x58]
call fcn.140027900
nop
lea rdx, [rbp + 0x30]
lea rcx, str.4d36e972_e325_11ce_bfc1_08002be10318
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x140027bba
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 0x140027bba
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 0x140027bb4
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 0x140027ba0
lea rdx, [rbp + 0xc0]
jmp 0x140027bd3
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
lea rdx, [0x1400a4688]
xor r8d, r8d
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14000a0f0
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14002840f
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
cmp r13, rax
je 0x14002840f
movabs rsi, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140025f90
nop
lea rcx, [rbp - 0x30]
call fcn.1400260c0
nop
mov rax, rsi
sub rax, rbx
cmp rax, 0x27
jb 0x14002848d
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.14002af30
nop
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140027290
test al, al
jne 0x140027d51
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140027cbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027cb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283fa
call fcn.14008cbd0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140027cf8
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027cf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028401
call fcn.14008cbd0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140028301
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028408
call fcn.14008cbd0
jmp 0x140028301
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 0x140027dab
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 0x140027d70
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x140027de0
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 0x140027db0
lea r8, [rbp + 0xea]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.14002b270
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 1
jb 0x140028493
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400a46e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.14002af30
nop
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14002ad10
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140027e9a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283c9
call fcn.14008cbd0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140027ee0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283ec
call fcn.14008cbd0
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 0x140028325
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 0x140027fde
lea rax, [rbp + 0x110]
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140027f80
mov rax, qword [rbp - 0x78]
cmp rdx, rax
ja 0x140027fcd
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 0x140027fde
lea r9, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.140009dc0
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 0x14002832e
test r14, r14
je 0x140028042
mov rcx, r14
sub r9, rax
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x140028318
add rax, 2
sub rcx, 1
jne 0x140028020
mov eax, edi
test eax, eax
jne 0x14002832e
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa0]
call fcn.140025f90
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.14000a0f0
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 0x1400280f6
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
cmp qword [rbx + 0x18], 7
jbe 0x1400280c0
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 0x140028136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283d0
call fcn.14008cbd0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x14002818d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283d7
call fcn.14008cbd0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400281ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400281c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283de
call fcn.14008cbd0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14002821f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002821a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283e5
call fcn.14008cbd0
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140027290
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002826c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028266
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283fa
call fcn.14008cbd0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400282a7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400282a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028401
call fcn.14008cbd0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x1400282f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400282f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028408
call fcn.14008cbd0
movabs rsi, 0x7ffffffffffffffe
add r13, 0x20
cmp r13, qword [rbp + 0x30]
je 0x14002840f
mov rbx, qword [rbp - 0x60]
jmp 0x140027c10
mov eax, 1
cmovb eax, ebx
jmp 0x14002803a
mov r11, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
cmp r11, 7
jbe 0x140028369
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140028361
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283ec
mov rcx, r10
call fcn.14008cbd0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x1400283b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400283b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400283f3
call fcn.14008cbd0
inc esi
cmp esi, 0x3e8
jl 0x140027d60
jmp 0x14002821f
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 0x140028453
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002844d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002844d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cbd0
nop
lea rcx, [rsp + 0x58]
call fcn.140011d40
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14008c660
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.140001e30
nop
call fcn.140001e30
int3