Function at 0x140029410
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2780
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov qword [rsp + 0x27b8], rbx
mov qword [rsp + 0x27c0], rbp
mov qword [rsp + 0x27c8], rsi
mov rax, qword [0x14012e6d8]
xor rax, rsp
mov qword [rsp + 0x2770], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
call fcn.140055b68
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140029486
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 + 0xc0], rax
lea rsi, str.FUNC_01VEN_10EC
mov rdi, rsi
shr rdi, 0x10
jne 0x1400294d4
movzx ebx, si
mov ecx, ebx
call fcn.140055990
test rax, rax
je 0x1400294e6
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140006090
mov rbx, qword [rsp + 0x48]
jmp 0x1400294eb
mov rdx, rsi
lea rcx, [rsp + 0xc0]
call fcn.140006510
jmp 0x1400294eb
mov rbx, qword [rsp + 0x48]
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002950a
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 + 0xa0], rax
test rdi, rdi
jne 0x140029548
movzx edi, si
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x140029559
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140006090
jmp 0x140029559
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.140006510
nop
mov word [rsp + 0x920], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x922]
call fcn.14009c4e0
mov word [rsp + 0x1f70], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x1f72]
call fcn.14009c4e0
mov word [rsp + 0x1960], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x1962]
call fcn.14009c4e0
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400295d5
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 + 0xd8], rax
lea rdx, [0x1400e9c18]
or r14, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140029622
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x140029642
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140006090
jmp 0x140029642
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xd8]
call fcn.1400062e0
nop
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x64], ebp
mov r12d, ebp
mov dword [rsp + 0x60], ebp
mov r13d, ebp
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140029673
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 + 0xf0], rax
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400296a7
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 + 0x40], rax
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400296d8
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 + 0x70], rax
lea rax, [0x1400e9f40]
test rax, 0xffffffffffff0000
jne 0x14002971a
movzx edi, ax
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x140029728
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140006090
jmp 0x140029728
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140006510
nop
mov dword [rsp + 0xb8], ebp
mov r15d, ebp
mov dword [rsp + 0x78], ebp
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140029755
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 + 0x58], rax
lea rsi, [fcn.1400011a0]
mov qword [rsp + 0x20], rsi
lea r9, [0x140004b40]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x170]
call fcn.14009d330
nop
lea rcx, [rsp + 0x170]
call fcn.140007190
nop
mov dword [rsp + 0x68], ebp
lea rdx, [rsp + 0x138]
mov rcx, rbx
call fcn.140012b20
nop
lea r8, [0x1400ea720]
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.140006c80
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x1140]
call fcn.14009cc40
mov rdx, qword [rsp + 0x128]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029805
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x138]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029829
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0xc8], ebp
lea rdx, [rsp + 0x110]
mov rcx, rbx
call fcn.140012b20
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x2370]
call fcn.14009cc40
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029879
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400298b8
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 + 0xe8], rax
lea rdx, str.RTKVHD64.sys
test rdx, 0xffffffffffff0000
jne 0x140029901
movzx edi, dx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002990f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140006090
jmp 0x14002990f
lea rcx, [rsp + 0xe8]
call fcn.140006510
nop
call fcn.140055b68
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002992e
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 + 0xe0], rax
lea rcx, [rsp + 0x2370]
lea rax, [rsp + 0x2370]
test rax, 0xffffffffffff0000
jne 0x14002997f
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x1400299ac
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140006090
jmp 0x1400299ac
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x2370]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x2370]
lea rcx, [rsp + 0xe0]
call fcn.1400062e0
nop
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xf8]
mov rcx, rbx
call fcn.140018c80
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140029a3a
cmp dword [rdi + 0x10], 0
jl 0x140029a2b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140029a2b
call fcn.1400046d0
mov rbx, rax
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140029a20
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x140029a3a
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400062e0
nop
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029a5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0xc8], 0
je 0x140029aba
lea r8, [0x1400ea720]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x130]
call fcn.140006c80
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x1140]
call fcn.14009cc40
mov rdx, qword [rsp + 0x130]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029aba
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, [0x1400ec5c8]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14002b9e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x4a0], 0x20
mov dword [rsp + 0xb0], ebp
lea r8, [rsp + 0x4a0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov ecx, 1
test eax, eax
je 0x14002af59
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0xd20]
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0xd20]
call fcn.14009b200
test rax, rax
jne 0x140029bff
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0xd20]
call fcn.14009b200
test rax, rax
je 0x14002aeb7
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0xd20]
call fcn.14009b200
mov edi, ebp
test rax, rax
mov eax, 1
cmovne edi, eax
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0xd20]
call fcn.14009b200
mov r12d, ebp
test rax, rax
mov eax, 1
cmovne r12d, eax
mov dword [rsp + 0x98], r12d
mov eax, ebp
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
mov edx, 5
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140002190
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xd20]
call fcn.14009b200
test rax, rax
je 0x14002aeb2
lea r8, [rsp + 0xd20]
mov edx, 0x104
lea rcx, [rsp + 0xf30]
call fcn.14009cc40
lea r8, [rsp + 0xd20]
mov edx, 0x104
lea rcx, [rsp + 0x1540]
call fcn.14009cc40
test r12d, r12d
je 0x140029cf2
mov word [rsp + 0x15ba], 0
jmp 0x140029cfc
mov word [rsp + 0x15b4], 0
add r13d, 1
mov dword [rsp + 0x50], r13d
mov r13d, 1
mov dword [rsp + 0x60], r13d
test r12d, r12d
jne 0x140029f18
test edi, edi
je 0x140029f11
mov rdi, qword [rsp + 0x48]
cmp dword [rdi + 0x3b210], r12d
je 0x140029f1d
lea r8, [rsp + 0xd20]
mov edx, 0x104
lea rcx, [rsp + 0x1750]
call fcn.14009cc40
mov word [rsp + 0x17b2], r12w
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x1750]
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov rdi, rcx
test ecx, ecx
jne 0x140029dd0
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140029e60
cmp dword [rdx + 0x10], eax
jge 0x140029d9c
cmp dword [rsi - 0xc], eax
jl 0x14002aee9
mov dword [rsi - 0x10], ebp
mov word [rsi], ax
jmp 0x140029e60
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140029db4
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]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x40]
jmp 0x140029e60
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x1750]
sub r12, rsi
sar r12, 1
mov ecx, r13d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140029e01
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140004670
mov rsi, qword [rsp + 0x58]
cmp r12, rbp
ja 0x140029e21
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 0x140029e3e
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x1750]
mov rdx, rbp
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x14002aefa
cmp edi, dword [rsi - 0xc]
jg 0x14002aefa
mov dword [rsi - 0x10], edi
mov word [rsi + rbp], 0
mov r12d, dword [rsp + 0x98]
lea r8, str.INTELAUDIO
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0x58]
call fcn.140006650
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rsi - 8], 0
jl 0x140029eab
cmp rax, qword [rsi - 0x18]
jne 0x140029eab
lea rbp, [rsi - 0x18]
lock add dword [rsi - 8], r13d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
jmp 0x140029ee7
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x14002aef4
mov ecx, dword [rsi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rsi - 0x10]
add ecx, r13d
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rsi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.14009b270
lea rax, [rbp + 0x18]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x170]
call fcn.140008640
xor ebp, ebp
mov rdi, qword [rsp + 0x48]
jmp 0x140029f1d
mov rdi, qword [rsp + 0x48]
jmp 0x140029f1d
mov rdi, qword [rsp + 0x48]
mov r15d, ebp
mov eax, ebp
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
test r12d, r12d
je 0x140029f6e
mov word [rsp + 0xf98], 0
jmp 0x140029f78
mov word [rsp + 0xf92], 0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, [0x1400ec5c8]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002a2e9
nop
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
lea r8, [rsp + 0x4ec]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002a2be
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002a2b5
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002a2b5
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x710]
mov rdx, r12
mov rcx, rdi
call fcn.140003670
test eax, eax
jne 0x14002a0e4
mov dword [rsp + 0x68], esi
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x14002a2c3
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x710]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002a2b5
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov edx, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002a266
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x710]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002a1b4
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002a240
cmp dword [rdx + 0x10], eax
jge 0x14002a185
cmp dword [rbx - 0xc], eax
jl 0x14002af05
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14002a240
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002a19d
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 + 0x40], rbx
jmp 0x14002a240
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x710]
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002a1e7
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
cmp rbp, rsi
ja 0x14002a207
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009b340
jmp 0x14002a224
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x710]
mov rdx, rsi
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14002af10
cmp edi, dword [rbx - 0xc]
jg 0x14002af10
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
cmp dword [rbx - 0x10], 0
jl 0x14002a266
lea rdx, [rsp + 0xf30]
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002a266
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002a285
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002a2b0
jmp 0x14002a110
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x920]
mov edx, 0x200
lea rcx, [rsp + 0x1f70]
call fcn.14009cc40
mov r15d, 1
mov rdi, qword [rsp + 0x48]
jmp 0x14002a2b5
mov rdi, qword [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
jne 0x14002a2dc
lea rdx, [rsp + 0x4c0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002a000
mov rsi, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x98]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test r15d, r15d
jne 0x14002aa97
test r12d, r12d
je 0x14002a30b
mov word [rsp + 0xf78], r15w
jmp 0x14002a315
mov word [rsp + 0xf72], 0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, [0x1400ec5c8]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002a69f
nop
nop
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
lea r8, [rsp + 0x4ec]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002a677
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002a66e
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002a66e
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x710]
mov rdx, r12
mov rcx, rdi
call fcn.140003670
test eax, eax
jne 0x14002a484
mov dword [rsp + 0x68], esi
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x14002a681
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x710]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002a66e
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov edx, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002a62b
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x710]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002a554
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002a5e0
cmp dword [rdx + 0x10], eax
jge 0x14002a525
cmp dword [rbx - 0xc], eax
jl 0x14002af1b
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14002a5e0
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002a53d
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 + 0x40], rbx
jmp 0x14002a5e0
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x710]
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002a587
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
cmp rbp, rsi
ja 0x14002a5a7
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009b340
jmp 0x14002a5c4
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x710]
mov rdx, rsi
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14002af26
cmp edi, dword [rbx - 0xc]
jg 0x14002af26
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
cmp dword [rbx - 0x10], 0
jl 0x14002a62b
lea rdx, [rsp + 0xf30]
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002a62b
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002a62b
cmp dword [rbx - 0x10], 0
jl 0x14002a64a
lea rdx, [0x1400eb960]
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002a64a
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002a64a
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002a66e
jmp 0x14002a4b0
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x920]
mov edx, 0x200
lea rcx, [rsp + 0x1f70]
call fcn.14009cc40
mov r15d, 1
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
jne 0x14002a69a
mov rdi, qword [rsp + 0x48]
lea rdx, [rsp + 0x4c0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002a3a0
mov rsi, qword [rsp + 0x58]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test r15d, r15d
jne 0x14002aa97
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
call fcn.140055b68
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x14002af47
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xd0], rax
lea rdi, str..inf
test rdi, 0xffffffffffff0000
jne 0x14002a729
movzx edi, di
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14002a73a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140006090
jmp 0x14002a73a
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.140006510
nop
lea r8, [rsp + 0xd0]
lea rdx, [0x140131168]
lea rcx, [rsp + 0x108]
call fcn.140006b20
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002a790
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xd0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002a7b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002aa6d
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002aa53
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov r12d, 1
mov edx, r12d
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002aa53
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x710]
mov rdx, r13
mov rcx, qword [rsp + 0x48]
call fcn.140003670
test eax, eax
jne 0x14002a87d
mov dword [rsp + 0x68], r12d
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x14002aeb7
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x710]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002aa53
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x40]
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov edx, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002aa0e
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x710]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002a95c
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002a9e8
cmp dword [rdx + 0x10], eax
jge 0x14002a925
cmp dword [rbx - 0xc], eax
jl 0x14002af31
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14002a9e8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002a93d
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 + 0x40], rbx
mov rsi, qword [rsp + 0xa0]
jmp 0x14002a9e8
mov ebp, dword [rbx - 0x10]
lea r12, [rsp + 0x710]
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 0x14002a98f
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
cmp r12, rbp
ja 0x14002a9af
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 0x14002a9cc
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x710]
mov rdx, rbp
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14002af3c
cmp edi, dword [rbx - 0xc]
jg 0x14002af3c
mov dword [rbx - 0x10], edi
mov word [rbx + rbp], 0
xor ebp, ebp
test rsi, rsi
je 0x14002aa0e
cmp dword [rbx - 0x10], 0
jl 0x14002aa0e
mov rdx, rsi
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002aa0e
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002aa2d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002aa58
jmp 0x14002a8b0
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x920]
mov edx, 0x200
lea rcx, [rsp + 0x1f70]
call fcn.14009cc40
mov r15d, 1
jmp 0x14002aa58
mov rbx, qword [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
je 0x14002aa72
mov rsi, qword [rsp + 0x58]
jmp 0x14002aa97
mov rbx, qword [rsp + 0x40]
mov r12d, dword [rsp + 0x60]
mov r13d, dword [rsp + 0x50]
test r13d, r13d
cmove r12d, ebp
mov dword [rsp + 0x60], r12d
mov rsi, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x78]
jmp 0x14002aeb7
mov eax, ebp
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov r12, qword [rsp + 0x48]
mov rcx, qword [r12 + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r12
call fcn.140002190
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r15d, 1
mov r9d, r15d
lea r8, [rsp + 0x1f70]
lea rdx, [rsp + 0x1540]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x14002ab52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x5b4
jne 0x14002ab3b
lea r8, [rsp + 0x4a0]
mov rdx, qword [rsp + 0xa8]
mov rcx, r12
call fcn.140004a90
test eax, eax
je 0x14002ab3b
mov dword [rsp + 0x64], r15d
mov ebp, r15d
mov edx, edi
mov rcx, r12
call fcn.14000c960
test ebp, ebp
je 0x14002aea1
jmp 0x14002ae60
mov r13d, r15d
mov dword [rsp + 0x64], r15d
lea r8, [rsp + 0x4a0]
mov rbp, qword [rsp + 0xa8]
mov rdx, rbp
mov rcx, r12
call fcn.140004a90
test eax, eax
jne 0x14002ae60
cmp dword [r12 + 0x3b208], eax
je 0x14002aca7
cmp dword [r12 + 0x3b20c], eax
jne 0x14002aca7
lea rdx, [0x1400e9f40]
lea rcx, [rsp + 0x70]
call fcn.140006510
lea r9, [rsp + 0x4a0]
mov r8, rbp
lea rdx, [rsp + 0x118]
mov rcx, r12
call fcn.14000c790
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140007fb0
nop
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002abf8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1400e9f40]
lea rcx, [rsp + 0x70]
call fcn.14000f120
test al, al
je 0x14002ac95
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x158]
call fcn.140005b20
mov rdx, rax
mov rcx, r12
call fcn.1400180b0
mov edi, eax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x4a0]
mov rcx, rbp
call fcn.140002b00
test eax, eax
je 0x14002ac95
test edi, edi
je 0x14002ac95
movsxd rax, dword [r12 + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + r12 + 0x6c4], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x150]
call fcn.140005b20
mov rdx, rax
mov rcx, r12
call fcn.140022c00
add dword [r12 + 0x3b1d8], 0xffffffff
mov dword [r12 + 0x6c4], r15d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp dword [r12 + 0x3b20c], 0
je 0x14002ae60
xor edx, edx
lea rcx, str.audiosrv
call fcn.140002fe0
lea rdx, [rsp + 0x7c]
mov qword [rsp + 0x20], rdx
mov r9d, r15d
lea r8, [rsp + 0x1f70]
lea rdx, [rsp + 0x1540]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x14002ad28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x5b4
jne 0x14002ad19
lea r8, [rsp + 0x4a0]
mov rdx, rbp
mov rcx, r12
call fcn.140004a90
test eax, eax
cmovne r13d, r15d
mov dword [rsp + 0x64], r13d
mov edx, edi
mov rcx, r12
call fcn.14000c960
jmp 0x14002ae51
lea r8, [rsp + 0x4a0]
mov rdx, rbp
mov rcx, r12
call fcn.140004a90
test eax, eax
jne 0x14002ae51
lea rdx, [0x1400e9f40]
lea rcx, [rsp + 0x70]
call fcn.140006510
lea r9, [rsp + 0x4a0]
mov r8, rbp
lea rdx, [rsp + 0x100]
mov rcx, r12
call fcn.14000c790
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140007fb0
nop
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ada2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1400e9f40]
lea rcx, [rsp + 0x70]
call fcn.14000f120
test al, al
je 0x14002ae3f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x160]
call fcn.140005b20
mov rdx, rax
mov rcx, r12
call fcn.1400180b0
mov edi, eax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x4a0]
mov rcx, rbp
call fcn.140002b00
test eax, eax
je 0x14002ae3f
test edi, edi
je 0x14002ae3f
movsxd rax, dword [r12 + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + r12 + 0x6c4], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x148]
call fcn.140005b20
mov rdx, rax
mov rcx, r12
call fcn.140022c00
add dword [r12 + 0x3b1d8], 0xffffffff
mov dword [r12 + 0x6c4], r15d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov edx, r15d
lea rcx, str.audiosrv
call fcn.140002fe0
cmp dword [rsp + 0x98], 0
je 0x14002ae86
mov r15d, dword [rsp + 0x78]
add r15d, 1
mov dword [rsp + 0x78], r15d
xor ebp, ebp
mov r12d, dword [rsp + 0x60]
mov r13d, dword [rsp + 0x50]
jmp 0x14002aeb7
add dword [rsp + 0xb8], 1
xor ebp, ebp
mov r12d, dword [rsp + 0x60]
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x14002aeb7
xor ebp, ebp
mov r12d, r15d
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x14002aeb7
mov r12d, dword [rsp + 0x60]
mov eax, dword [rsp + 0xb0]
add eax, 1
mov dword [rsp + 0xb0], eax
lea r8, [rsp + 0x4a0]
mov edx, eax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14002af52
jmp 0x140029ba0
mov ecx, 0x80070057
call fcn.140001610
int3
call fcn.140003380
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80004005
call fcn.140001610
int3
mov ecx, 1
jmp 0x14002af63
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov edi, ebp
mov dword [rsp + 0x50], ebp
mov edx, 0x32
test r12d, r12d
jne 0x14002af7b
mov edi, ecx
mov dword [rsp + 0x50], ecx
jmp 0x14002af8a
test r15d, r15d
jne 0x14002afa2
cmp dword [rsp + 0xb8], r15d
jne 0x14002af9b
mov r13, qword [rsp + 0x48]
cmp dword [r13 + 0x3b210], 0
jne 0x14002afbd
jmp 0x14002afa7
mov r13, qword [rsp + 0x48]
jmp 0x14002afa7
mov r13, qword [rsp + 0x48]
test r12d, r12d
jne 0x14002b0da
cmp dword [r13 + 0x3b210], r12d
jne 0x14002b0e3
mov eax, ebp
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [r13 + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r13
call fcn.140002190
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, str.Rt.inf
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14002b0d5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1d60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x14002b0c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r13
call fcn.14000c960
jmp 0x14002b0d5
mov dword [rsp + 0x64], 1
mov edi, ebp
mov dword [rsp + 0x50], ebp
test r12d, r12d
je 0x14002b0e3
test r15d, r15d
jne 0x14002b66a
cmp dword [r13 + 0x3b210], 0
je 0x14002b65d
mov eax, ebp
mov ecx, dword [0x1401302c8]
cmp ecx, 0x5a
mov edx, 0x32
cmovl eax, edx
add ecx, eax
mov dword [0x1401302c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [r13 + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r13
call fcn.140002190
mov r15d, ebp
mov dword [rsp + 0xb0], ebp
mov eax, dword [rsp + 0x490]
test eax, eax
jle 0x14002b56b
lea r13, [rsp + 0x170]
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, [0x1400ec5c8]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0xb8], rax
cmp rax, 0xffffffffffffffff
je 0x14002b504
nop
mov r14d, ebp
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
lea r8, [rsp + 0x4ec]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002b4eb
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002b4dd
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002b4dd
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x710]
mov rdx, r12
mov rcx, qword [rsp + 0x48]
call fcn.140003670
test eax, eax
jne 0x14002b2c3
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x14002b4eb
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, [rsp + 0x710]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002b4dd
nop
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x710]
mov edx, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002b44b
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
lea rdi, [rsp + 0x710]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002b398
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002b424
cmp dword [rdx + 0x10], eax
jge 0x14002b369
cmp dword [rbx - 0xc], eax
jl 0x14002b532
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14002b424
mov eax, r8d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b381
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 + 0x40], rbx
jmp 0x14002b424
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x710]
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002b3cb
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbx, qword [rsp + 0x40]
cmp rbp, rsi
ja 0x14002b3eb
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009b340
jmp 0x14002b408
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x710]
mov rdx, rsi
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14002b53d
cmp edi, dword [rbx - 0xc]
jg 0x14002b53d
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
mov rdx, qword [r13]
test rdx, rdx
je 0x14002b44b
cmp dword [rbx - 0x10], 0
jl 0x14002b44b
mov rcx, rbx
call fcn.14009b200
test rax, rax
je 0x14002b44b
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002b46a
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002b4d5
jmp 0x14002b2f0
add r15d, 1
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1d60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x14002b4c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000c960
jmp 0x14002b4c8
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x50], ebp
mov r14d, esi
mov rdi, qword [rsp + 0xb8]
jmp 0x14002b4dd
mov rdi, qword [rsp + 0xb8]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r14d, r14d
jne 0x14002b504
lea rdx, [rsp + 0x4c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002b1e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rsp + 0xb0]
add ecx, 1
mov dword [rsp + 0xb0], ecx
add r13, 8
mov eax, dword [rsp + 0x490]
cmp ecx, eax
jge 0x14002b548
jmp 0x14002b150
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
cmp r15d, eax
jl 0x14002b55c
mov rsi, qword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
jmp 0x14002b56b
mov rsi, qword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
jmp 0x14002b573
test eax, eax
jne 0x14002b677
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, str.SST.inf
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14002b684
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1d60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x14002b653
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14000c960
jmp 0x14002b68f
mov dword [rsp + 0x64], r12d
jmp 0x14002b866
mov rbx, qword [rsp + 0x48]
mov r12d, 1
jmp 0x14002b68f
mov rbx, qword [rsp + 0x48]
mov r12d, 1
jmp 0x14002b68f
mov rbx, qword [rsp + 0x48]
mov r12d, 1
jmp 0x14002b68f
mov rbx, qword [rsp + 0x48]
mov r12d, 1
test edi, edi
je 0x14002b866
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x4c0]
call fcn.14009c4e0
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea r8, [0x1400ec5c8]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x920]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002b85d
nop
nop
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x1960]
call fcn.14009cc40
lea r8, str.Rt.inf
mov edx, 0x200
lea rcx, [rsp + 0x1960]
call fcn.14009ccf0
lea rdx, [rsp + 0x1960]
lea rcx, [rsp + 0x4ec]
call fcn.14009b200
test rax, rax
jne 0x14002b844
mov r8, qword [0x140131168]
mov edx, 0x200
lea rcx, [rsp + 0x1960]
call fcn.14009cc40
lea r8, [0x1400ec850]
mov edx, 0x200
lea rcx, [rsp + 0x1960]
call fcn.14009ccf0
lea rdx, [rsp + 0x1960]
lea rcx, [rsp + 0x4ec]
call fcn.14009b200
test rax, rax
jne 0x14002b844
lea r8, [rsp + 0x1140]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009cc40
lea r8, [rsp + 0x4ec]
mov edx, 0x200
lea rcx, [rsp + 0x920]
call fcn.14009ccf0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1d60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x920]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x14002b83f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000c960
jmp 0x14002b844
mov dword [rsp + 0x64], r12d
lea rdx, [rsp + 0x4c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002b720
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [0x1401302c8]
cmp eax, 0x5a
mov ecx, 0xa
cmovl ebp, ecx
add eax, ebp
mov dword [0x1401302c8], eax
movsxd r8, eax
xor r9d, r9d
mov edx, 0x402
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x3b268]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002190
mov ebx, dword [rsp + 0x64]
test ebx, ebx
jne 0x14002b8d0
cmp dword [rsp + 0x68], ebx
je 0x14002b8d0
mov edx, 0xe0000228
mov rcx, rdi
call fcn.14000c960
nop
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x170]
call fcn.14009a380
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b90b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b92d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b94f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b974
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b999
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002b9be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14002b9e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x14002bafe
mov r9, rsi
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x170]
call fcn.14009a380
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ba25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ba47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ba69
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ba8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002bab3
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002bad8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14002bafc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x2770]
xor rcx, rsp
call fcn.14009af10
lea r11, [rsp + 0x2780]
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