Function at 0x14002f620
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Query or enumerate registry value
Set file attributes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1450
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov qword [rsp + 0x1488], rbx
mov qword [rsp + 0x1490], rbp
mov qword [rsp + 0x1498], rsi
mov rax, qword [0x14012e6d8]
xor rax, rsp
mov qword [rsp + 0x1440], rax
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov dword [rsp + 0xc8], ebp
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f69a
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x118], rax
lea r12, [0x1400e9f40]
mov rdi, r12
shr rdi, 0x10
jne 0x14002f6e4
movzx ebx, r12w
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x14002f6f5
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.140006090
jmp 0x14002f6f5
mov rdx, r12
lea rcx, [rsp + 0x118]
call fcn.140006510
nop
mov qword [rsp + 0xd0], rbp
mov dword [rsp + 0x120], ebp
call fcn.140055b68
mov r11, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f723
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x58], rsi
test rdi, rdi
jne 0x14002f761
movzx ebx, r12w
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x14002f773
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006090
mov rsi, qword [rsp + 0x58]
jmp 0x14002f773
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140006510
mov rsi, qword [rsp + 0x58]
call fcn.140055b68
mov r11, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f792
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x108], rax
test rdi, rdi
jne 0x14002f7d1
movzx edi, r12w
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002f7e2
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.140006090
jmp 0x14002f7e2
mov rdx, r12
lea rcx, [rsp + 0x108]
call fcn.140006510
nop
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f801
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xb8], rax
lea rdx, str.FUNC_01VEN_10EC
test rdx, 0xffffffffffff0000
jne 0x14002f84a
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002f858
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140006090
jmp 0x14002f858
lea rcx, [rsp + 0xb8]
call fcn.140006510
nop
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f877
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xa8], rax
lea rdx, str.SNDWCLASS_00MAN_025D
test rdx, 0xffffffffffff0000
jne 0x14002f8c0
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002f8ce
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140006090
jmp 0x14002f8ce
lea rcx, [rsp + 0xa8]
call fcn.140006510
nop
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f8ed
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r15, [rax + 0x18]
mov qword [rsp + 0x98], r15
lea rdx, [0x1400ec380]
test rdx, 0xffffffffffff0000
jne 0x14002f93e
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002f953
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140006090
mov r15, qword [rsp + 0x98]
jmp 0x14002f953
lea rcx, [rsp + 0x98]
call fcn.140006510
mov r15, qword [rsp + 0x98]
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f972
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r14, [rax + 0x18]
mov qword [rsp + 0x88], r14
lea rdx, [0x1400ec368]
test rdx, 0xffffffffffff0000
jne 0x14002f9c3
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002f9d8
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140006090
mov r14, qword [rsp + 0x88]
jmp 0x14002f9d8
lea rcx, [rsp + 0x88]
call fcn.140006510
mov r14, qword [rsp + 0x88]
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002f9f7
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r13, [rax + 0x18]
mov qword [rsp + 0xc0], r13
lea rdx, [0x1400ec350]
test rdx, 0xffffffffffff0000
jne 0x14002fa48
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002fa5d
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140006090
mov r13, qword [rsp + 0xc0]
jmp 0x14002fa5d
lea rcx, [rsp + 0xc0]
call fcn.140006510
mov r13, qword [rsp + 0xc0]
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002fa7c
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r12, [rax + 0x18]
mov qword [rsp + 0xa0], r12
lea rdx, [0x1400ec338]
test rdx, 0xffffffffffff0000
jne 0x14002facd
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002fae2
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140006090
mov r12, qword [rsp + 0xa0]
jmp 0x14002fae2
lea rcx, [rsp + 0xa0]
call fcn.140006510
mov r12, qword [rsp + 0xa0]
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002fb01
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 0x18]
mov qword [rsp + 0xb0], rbp
lea rdx, [0x1400ec320]
test rdx, 0xffffffffffff0000
jne 0x14002fb52
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002fb67
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140006090
mov rbp, qword [rsp + 0xb0]
jmp 0x14002fb67
lea rcx, [rsp + 0xb0]
call fcn.140006510
mov rbp, qword [rsp + 0xb0]
call fcn.140055b68
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002fb86
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
lea rdx, [0x1400ec308]
test rdx, 0xffffffffffff0000
jne 0x14002fbd7
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002fbec
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140006090
mov rbx, qword [rsp + 0x90]
jmp 0x14002fbec
lea rcx, [rsp + 0x90]
call fcn.140006510
mov rbx, qword [rsp + 0x90]
call fcn.140055b68
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002fc0b
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x80], rdi
lea rax, [0x1400ec2f0]
test rax, 0xffffffffffff0000
jne 0x14002fc61
movzx ecx, ax
call fcn.140055990
test rax, rax
je 0x14002fc79
lea rcx, [0x1400ec2f0]
movzx r8d, cx
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140006090
mov rdi, qword [rsp + 0x80]
jmp 0x14002fc79
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140006510
mov rdi, qword [rsp + 0x80]
mov word [rsp + 0xe10], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xe12]
call fcn.14009c4e0
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x14002fe66
lea rdx, [rdi - 0x18]
or rdi, rax
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fcd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fcfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fd21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fd45
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fd69
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fd8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fdb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fdd5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fdf9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fe1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002fe3e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14002fe5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400319c1
mov rdi, qword [rsp + 0x40]
cmp dword [rdi + 0x3b210], 0
je 0x14002ff33
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x68], rax
call fcn.140055b68
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002fea4
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xf8], rax
lea rdx, str.INTCSDW
test rdx, 0xffffffffffff0000
jne 0x14002fef3
movzx ecx, dx
call fcn.140055990
test rax, rax
je 0x14002ff18
lea rcx, str.INTCSDW
movzx r8d, cx
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.140006090
jmp 0x14002ff18
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xf8]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
mov r8d, 1
lea rdx, [rsp + 0xf8]
mov rcx, rdi
call fcn.14002e480
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x158], SafeArrayDestroyData
mov dword [rsp + 0x70], 0
lea r8, [rsp + 0x158]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400306d6
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x5e0]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
jne 0x14002ffda
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
jne 0x14002ffda
lea rdx, str.SNDWCLASS
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x1400306a2
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
xor ecx, ecx
test rax, rax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x60], ecx
lea rdx, str.SNDWCLASS
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
xor ecx, ecx
test rax, rax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x50], ecx
lea r8, [rsp + 0x5e0]
mov edx, 0x100
lea rcx, [rsp + 0xa00]
call fcn.14009cc40
cmp dword [rsp + 0x50], 0
je 0x140030065
mov word [rsp + 0xa7c], 0
jmp 0x140030082
cmp dword [rsp + 0x60], 0
je 0x140030078
mov word [rsp + 0xa7a], 0
jmp 0x140030082
mov word [rsp + 0xa74], 0
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x1400300a9
cmp dword [rdi + 0x2a8], 0
jne 0x1400301bb
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x1400300d0
cmp dword [rdi + 0x2a8], 0
jne 0x1400301bb
mov rdx, r15
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x1400300f2
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, r14
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030114
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, r13
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030136
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, r12
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030154
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, rbp
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030172
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, rbx
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030190
cmp dword [rdi + 0x2ac], 0
jne 0x1400301bb
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x1400306a2
cmp dword [rdi + 0x2ac], 0
je 0x1400306a2
lea rax, [rsp + 0x100]
mov qword [rsp + 0x68], rax
call fcn.140055b68
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x1400306cb
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x5e0]
lea rax, [rsp + 0x5e0]
test rax, 0xffffffffffff0000
jne 0x140030235
movzx ecx, cx
call fcn.140055990
test rax, rax
je 0x140030267
lea rcx, [rsp + 0x5e0]
movzx r8d, cx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140006090
jmp 0x140030267
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x5e0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x100]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x100]
mov rcx, rdi
call fcn.140009d30
lea r11, [rsp + 0x120]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0xd0]
mov r8d, 4
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call fcn.140002510
test eax, eax
je 0x1400306a2
lea rdx, str.IntcAzAudAddService
mov rcx, qword [rsp + 0xd0]
call fcn.14009b200
test rax, rax
jne 0x1400302fb
lea rdx, str.RTHDMIAzAudService
mov rcx, qword [rsp + 0xd0]
call fcn.14009b200
test rax, rax
jne 0x1400302fb
lea rdx, str.RTKSdWHwCodec
mov rcx, qword [rsp + 0xd0]
call fcn.14009b200
test rax, rax
je 0x1400306a2
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x1400306a2
xor ecx, ecx
mov edx, dword [0x1401302c8]
cmp edx, 0x5a
mov eax, 0x1e
cmovl ecx, eax
add edx, ecx
mov dword [0x1401302c8], edx
movsxd r8, edx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rdi + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002190
mov eax, 1
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], 0x208
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc00]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.InfPath
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030697
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
lea r8, [rsp + 0xc00]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x50], 0
je 0x140030433
lea rdx, [rsp + 0xc00]
mov rcx, rdi
call fcn.140017110
mov ecx, dword [rsp + 0x60]
cmp eax, 1
mov eax, 1
cmovg ecx, eax
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0xe10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x1400305cd
xor r8d, r8d
lea rdx, [rsp + 0x5e0]
mov rcx, rdi
call fcn.1400204e0
lea r8, [rsp + 0x158]
mov rdx, qword [rsp + 0x48]
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x60], 0
jne 0x1400304e6
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x148]
call fcn.140013b00
mov rdx, rax
mov rcx, rdi
call fcn.1400180b0
test eax, eax
je 0x1400304e6
movsxd rax, dword [rdi + 0x3b1d8]
imul rax, rax, 0x12c8
mov ecx, dword [rsp + 0x50]
mov dword [rax + rdi + 0x6c4], ecx
xor eax, eax
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
mov edx, 0xa
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rdi + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002190
cmp dword [0x1401302e8], 0
jne 0x1400305cd
cmp dword [0x1401302ec], 0
jne 0x1400305cd
cmp dword [0x1401302f0], 0
jne 0x1400305cd
cmp dword [0x1401302f4], 0
jne 0x1400305cd
cmp dword [0x1401302f8], 0
jne 0x1400305cd
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x3d0]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rsp + 0x60], 0
jne 0x140030687
cmp dword [0x1401302e8], 0
jne 0x140030609
cmp dword [0x1401302ec], 0
jne 0x140030609
cmp dword [0x1401302f0], 0
jne 0x140030609
cmp dword [0x1401302f4], 0
jne 0x140030609
cmp dword [0x1401302f8], 0
je 0x140030687
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x3d0]
call fcn.1400027d0
test eax, eax
je 0x14003063b
mov r8d, eax
mov edx, 3
mov rcx, rdi
call fcn.14000cf00
jmp 0x140030687
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x3d0]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0xa00]
mov rcx, rdi
call fcn.14001d610
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x70]
add eax, 1
mov dword [rsp + 0x70], eax
lea r8, [rsp + 0x158]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400306d6
jmp 0x14002ff61
mov ecx, 0x80004005
call fcn.140001610
int3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140030b33
mov dword [rsp + 0x158], SafeArrayDestroyData
xor r15d, r15d
mov r14d, r15d
lea r8, [rsp + 0x158]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140030b28
nop
mov qword [rsp + 0x20], r15
mov r9d, 0x104
lea r8, [rsp + 0x5e0]
lea rdx, [rsp + 0x158]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
jne 0x1400307a3
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
jne 0x1400307a3
lea rdx, str.SNDWCLASS
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030afc
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
jne 0x1400307db
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x5e0]
call fcn.14009b200
test rax, rax
je 0x140030afc
cmp dword [rdi + 0x2a8], 0
je 0x140030afc
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x70], r15d
lea rdx, [rsp + 0x5e0]
mov rcx, rdi
call fcn.140011470
mov edi, eax
xor r9d, r9d
mov r8d, dword [rsp + 0x16c]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
mov ecx, r15d
test eax, eax
mov ebx, 1
cmovne ecx, ebx
test edi, edi
jne 0x140030838
test ecx, ecx
je 0x140030af7
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x158]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140030af0
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x74], 0x208
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc00]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.InfPath
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030ae0
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
lea r8, [rsp + 0xc00]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
lea rax, [rsp + 0xe10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x158]
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x140030ac9
xor r8d, r8d
lea rdx, [rsp + 0x5e0]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400204e0
lea r8, [rsp + 0x158]
mov rdx, rbp
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov r13d, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
call fcn.140055b68
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
je 0x140030b1d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x3d0]
lea rax, [rsp + 0x3d0]
test rax, 0xffffffffffff0000
jne 0x1400309cb
movzx ebx, cx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x1400309fa
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140006090
jmp 0x1400309fa
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3d0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x60]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400180b0
test eax, eax
je 0x140030a21
movsxd rax, dword [rdi + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + rdi + 0x6c4], r13d
cmp dword [0x1401302e8], 0
jne 0x140030ace
cmp dword [0x1401302ec], 0
jne 0x140030ace
cmp dword [0x1401302f0], 0
jne 0x140030ace
cmp dword [0x1401302f4], 0
jne 0x140030ace
cmp dword [0x1401302f8], 0
jne 0x140030ace
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x3d0]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140030ace
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0xa00]
mov rcx, rdi
call fcn.14001d610
jmp 0x140030ae5
mov rdi, qword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140030afc
mov rdi, qword [rsp + 0x40]
jmp 0x140030afc
mov rdi, qword [rsp + 0x40]
add r14d, 1
lea r8, [rsp + 0x158]
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140030b28
jmp 0x140030730
mov ecx, 0x80004005
call fcn.140001610
int3
mov rcx, rbp
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
jmp 0x140030b36
xor r15d, r15d
xor r8d, r8d
lea rdx, [0x1400e9db8]
mov rcx, rdi
call fcn.1400204e0
xor r8d, r8d
lea rdx, [0x1400ecba8]
mov rcx, rdi
call fcn.1400204e0
cmp dword [0x1401302e8], 0
jne 0x140030bcf
cmp dword [0x1401302ec], 0
jne 0x140030bcf
cmp dword [0x1401302f0], 0
jne 0x140030bcf
cmp dword [0x1401302f4], 0
jne 0x140030bcf
cmp dword [0x1401302f8], 0
jne 0x140030bcf
mov edx, 0x208
lea rcx, [rsp + 0x1230]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.INF_
mov edx, 0x104
lea rcx, [rsp + 0x1230]
call fcn.14009ccf0
lea r8, [rdi + 0x3b228]
lea rdx, [rsp + 0x1230]
mov rcx, rdi
call fcn.140021b10
jmp 0x14003146b
mov eax, r15d
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
mov edx, 0x1e
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rdi + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002190
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x180]
call fcn.14009c4e0
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.infoem.inf
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140031462
or rbp, 0xffffffffffffffff
call fcn.140055b68
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
je 0x140031457
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x1ac]
lea rax, [rsp + 0x1ac]
test rax, 0xffffffffffff0000
jne 0x140030ce6
movzx ebp, cx
mov ecx, ebp
call fcn.140055990
test rax, rax
je 0x140030e07
mov r8d, ebp
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006090
mov rbx, qword [rsp + 0x48]
or rbp, 0xffffffffffffffff
jmp 0x140030e0b
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x1ac]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140030d6b
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140030e00
cmp dword [rdx + 0x10], eax
jge 0x140030d33
cmp dword [rbx - 0xc], eax
jl 0x140031419
mov dword [rbx - 0x10], r15d
mov word [rbx], ax
mov rdi, qword [rsp + 0x40]
jmp 0x140030e0b
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140030d4a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
jmp 0x140030e0b
mov ebp, dword [rbx - 0x10]
lea r12, [rsp + 0x1ac]
sub r12, rbx
sar r12, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140030d9e
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rbx, qword [rsp + 0x48]
cmp r12, rbp
ja 0x140030dbe
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rbx + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.14009b340
jmp 0x140030ddb
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x1ac]
mov rdx, rbp
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14003144c
cmp edi, dword [rbx - 0xc]
jg 0x14003144c
mov dword [rbx - 0x10], edi
mov word [rbx + rbp], 0
mov rdi, qword [rsp + 0x40]
or rbp, 0xffffffffffffffff
jmp 0x140030e0b
mov rdi, qword [rsp + 0x40]
jmp 0x140030e0b
or rbp, 0xffffffffffffffff
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400313da
mov ecx, r15d
mov edx, dword [0x1401302c8]
cmp edx, 0x5a
mov eax, 5
cmovl ecx, eax
add edx, ecx
mov dword [0x1401302c8], edx
movsxd r8, edx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rdi + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002190
lea r9, [rsp + 0x128]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400313d0
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rsp + 0x1020]
mov r12d, 1
mov edx, r12d
lea rcx, [rsp + 0x128]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400313d0
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x1020]
mov rdx, r13
mov rcx, rdi
call fcn.140003670
test eax, eax
jne 0x140030f12
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400313f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400313f5
mov qword [rsp + 0x20], r15
mov r9d, 0x104
lea r8, [rsp + 0x7f0]
xor edx, edx
lea rcx, [rsp + 0x128]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400313a9
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x7f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov rdi, rcx
test ecx, ecx
jne 0x140030fb7
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14003104b
cmp dword [rdx + 0x10], eax
jge 0x140030f84
cmp dword [rsi - 0xc], eax
jl 0x140031424
mov dword [rsi - 0x10], r15d
mov word [rsi], ax
jmp 0x14003104b
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140030f9b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x58], rsi
mov rbx, qword [rsp + 0x48]
jmp 0x14003104b
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x7f0]
sub r12, rsi
sar r12, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140030fea
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140004670
mov rsi, qword [rsp + 0x58]
cmp r12, rbp
ja 0x14003100a
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.14009b340
jmp 0x140031027
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x7f0]
mov rdx, rbp
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x14003143a
cmp edi, dword [rsi - 0xc]
jg 0x14003143a
mov dword [rsi - 0x10], edi
mov word [rsi + rbp], 0
or rbp, 0xffffffffffffffff
mov r12d, 1
movsxd rdi, dword [rsi - 0x10]
mov ecx, r12d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or ecx, eax
jge 0x14003106f
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140004670
mov rsi, qword [rsp + 0x58]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rsi
call fcn.14009b820
test edi, edi
js 0x14003142f
cmp edi, dword [rsi - 0xc]
jg 0x14003142f
mov dword [rsi - 0x10], edi
mov word [rsi + rdi*2], 0
cmp dword [rsi - 0x10], 0
jl 0x140031382
lea rdx, str.REALTEK
mov rcx, rsi
call fcn.14009b200
test rax, rax
je 0x140031382
sub rax, rsi
sar rax, 1
cmp eax, 0xffffffff
je 0x140031382
lea r9, [rsp + 0x128]
xor r8d, r8d
lea rdx, [rsp + 0x1020]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400313d0
mov qword [rsp + 0x20], r15
mov r9d, 0x100
lea r8, [rsp + 0x7f0]
mov edx, 2
lea rcx, [rsp + 0x128]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400313d0
lea rdx, [0x1400e9db8]
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x140031147
mov rdi, qword [rsp + 0x40]
cmp dword [rdi + 0x2a8], 0
jne 0x140031274
jmp 0x14003114c
mov rdi, qword [rsp + 0x40]
lea rdx, [0x1400ecba8]
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x140031172
cmp dword [rdi + 0x2a8], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_8086
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x140031198
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_1002
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x1400311be
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_1022
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x1400311e4
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_10DE
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x140031206
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_1106
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x140031228
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_1039
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x14003124a
cmp dword [rdi + 0x2ac], 0
jne 0x140031274
lea rdx, str.FUNC_01VEN_10B9
lea rcx, [rsp + 0x7f0]
call fcn.14009b200
test rax, rax
je 0x1400313d0
cmp dword [rdi + 0x2ac], 0
je 0x1400313d0
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
lea r8, [rsp + 0x1ac]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14009ccf0
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x140]
call fcn.140013b00
mov rdx, rax
mov rcx, rdi
call fcn.1400180b0
mov esi, eax
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x3d0]
call fcn.1400027d0
test eax, eax
je 0x140031311
mov r8d, eax
mov edx, 3
mov rcx, rdi
call fcn.14000cf00
jmp 0x1400313d0
test esi, esi
je 0x14003132b
movsxd rax, dword [rdi + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + rdi + 0x6c4], r12d
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x3d0]
call fcn.14009b200
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov edx, 0x80
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400313d0
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400313f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400313f5
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400313f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400313f5
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400313f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140031445
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
jmp 0x140030c75
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
nop
mov rdi, qword [rsp + 0x40]
jmp 0x140031462
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80004005
call fcn.140001610
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [rdi + 0x3b210], 0
je 0x140031692
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xe8], rax
call fcn.140055b68
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400314a8
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xf0], rax
lea rdx, str.INTCDMIC
test rdx, 0xffffffffffff0000
jne 0x1400314f1
movzx ebx, dx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x140031516
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140006090
jmp 0x140031516
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xf0]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
mov esi, 1
mov r8d, esi
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call fcn.14002e480
lea r11, [rsp + 0x110]
mov qword [rsp + 0xe8], r11
call fcn.140055b68
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003155e
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x110], rax
lea rdx, str.INTCOED
test rdx, 0xffffffffffff0000
jne 0x1400315a7
movzx ebx, dx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x1400315cc
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140006090
jmp 0x1400315cc
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x110]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
mov r8d, esi
lea rdx, [rsp + 0x110]
mov rcx, rdi
call fcn.14002e480
lea r11, [rsp + 0xe0]
mov qword [rsp + 0xe8], r11
call fcn.140055b68
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003160f
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xe0], rax
lea rdx, str.INTCAUDIOBUS
test rdx, 0xffffffffffff0000
jne 0x140031658
movzx ebx, dx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x14003167d
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140006090
jmp 0x14003167d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xe0]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
mov r8d, esi
lea rdx, [rsp + 0xe0]
mov rcx, rdi
call fcn.14002e480
jmp 0x140031697
mov esi, 1
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
call fcn.140055b68
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400316c7
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xd8], rax
lea rdx, str.AMDAFDAUDIOSERVICE
test rdx, 0xffffffffffff0000
jne 0x140031714
movzx ebx, dx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x14003173e
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140006090
or rbx, 0xffffffffffffffff
jmp 0x140031742
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xd8]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
jmp 0x140031742
or rbx, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xd8]
mov rcx, rdi
call fcn.14002e480
cmp dword [rdi + 0x3b214], 0
je 0x14003180c
lea rax, [rsp + 0x68]
mov qword [rsp + 0xe8], rax
call fcn.140055b68
mov rcx, rax
test rax, rax
mov eax, 0
setne al
test eax, eax
jne 0x140031791
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str.RTKAUDHM
test rdx, 0xffffffffffff0000
jne 0x1400317d5
movzx ebx, dx
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x1400317f8
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140006090
or rbx, 0xffffffffffffffff
jmp 0x1400317fc
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x68]
call fcn.1400062e0
mov rdi, qword [rsp + 0x40]
jmp 0x1400317fc
or rbx, 0xffffffffffffffff
mov r8d, esi
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14002e480
mov rcx, rdi
call fcn.1400188a0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140031839
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003185d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140031881
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400318a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400318c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400318ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140031911
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140031935
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140031959
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003197d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14003199e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x1400319bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
mov rcx, qword [rsp + 0x1440]
xor rcx, rsp
call fcn.14009af10
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret