Function at 0x140029570
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 [0x1400c0040]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor edi, edi
lea rcx, [rsp + 0x58]
call fcn.140029390
nop
lea rdx, [rbp + 0x30]
lea rcx, str.4d36e972_e325_11ce_bfc1_08002be10318
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x14002964a
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 0x14002964a
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 0x140029644
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 0x140029630
lea rdx, [rbp + 0xc0]
jmp 0x140029663
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xorps xmm0, xmm0
lea rdx, [0x1400a94a0]
xor r8d, r8d
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14000c190
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140029e9f
mov r13, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
cmp r13, rax
je 0x140029e9f
movabs rsi, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140027a20
nop
lea rcx, [rbp - 0x30]
call fcn.140027b50
nop
mov rax, rsi
sub rax, rbx
cmp rax, 0x27
jb 0x140029f1d
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.14002c9c0
nop
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140028d20
test al, al
jne 0x1400297e1
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14002974d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029747
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e8a
call fcn.14008fbb0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140029788
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e91
call fcn.14008fbb0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140029d91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400297d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e98
call fcn.14008fbb0
jmp 0x140029d91
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 0x14002983b
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 0x140029800
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x140029870
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 0x140029840
lea r8, [rbp + 0xea]
mov rdx, r9
lea rcx, [rbp + 0x80]
call fcn.14002cd00
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 1
jb 0x140029f23
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400a94c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.14002c9c0
nop
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14002c7a0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14002992a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e59
call fcn.14008fbb0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140029970
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002996b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e7c
call fcn.14008fbb0
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 0x140029db5
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 0x140029a6e
lea rax, [rbp + 0x110]
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140029a10
mov rax, qword [rbp - 0x78]
cmp rdx, rax
ja 0x140029a5d
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 0x140029a6e
lea r9, [rbp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.14000be60
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 0x140029dbe
test r14, r14
je 0x140029ad2
mov rcx, r14
sub r9, rax
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x140029da8
add rax, 2
sub rcx, 1
jne 0x140029ab0
mov eax, edi
test eax, eax
jne 0x140029dbe
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xa0]
call fcn.140027a20
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.14000c190
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 0x140029b86
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
cmp qword [rbx + 0x18], 7
jbe 0x140029b50
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 0x140029bc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029bc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e60
call fcn.14008fbb0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x140029c1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e67
call fcn.14008fbb0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140029c5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e6e
call fcn.14008fbb0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140029caf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e75
call fcn.14008fbb0
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140028d20
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140029cfc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029cf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e8a
call fcn.14008fbb0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140029d37
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e91
call fcn.14008fbb0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140029d87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e98
call fcn.14008fbb0
movabs rsi, 0x7ffffffffffffffe
add r13, 0x20
cmp r13, qword [rbp + 0x30]
je 0x140029e9f
mov rbx, qword [rbp - 0x60]
jmp 0x1400296a0
mov eax, 1
cmovb eax, ebx
jmp 0x140029aca
mov r11, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
cmp r11, 7
jbe 0x140029df9
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140029df1
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e7c
mov rcx, r10
call fcn.14008fbb0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140029e46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029e41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e83
call fcn.14008fbb0
inc esi
cmp esi, 0x3e8
jl 0x1400297f0
jmp 0x140029caf
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 0x140029ee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008fbb0
nop
lea rcx, [rsp + 0x58]
call fcn.140013520
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14008f640
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.140003df0
nop
call fcn.140003df0
int3