Function at 0x140023030
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2350
call fcn.1400dc000
sub rsp, rax
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rsp + 0x2388], rbx
mov qword [rsp + 0x2390], rbp
mov qword [rsp + 0x2398], rsi
mov rax, qword [0x1401216d8]
xor rax, rsp
mov qword [rsp + 0x2340], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
call fcn.14004b378
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400230a6
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 rsi, str.FUNC_01VEN_10EC
mov rdi, rsi
shr rdi, 0x10
jne 0x1400230f4
movzx ebx, si
mov ecx, ebx
call fcn.14004b1a0
test rax, rax
je 0x140023106
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140005c00
mov rbx, qword [rsp + 0x40]
jmp 0x14002310b
mov rdx, rsi
lea rcx, [rsp + 0xb8]
call fcn.140006080
jmp 0x14002310b
mov rbx, qword [rsp + 0x40]
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14002312a
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
test rdi, rdi
jne 0x140023168
movzx edi, si
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x140023179
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140005c00
jmp 0x140023179
mov rdx, rsi
lea rcx, [rsp + 0xa8]
call fcn.140006080
nop
mov word [rsp + 0x8f0], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x8f2]
call fcn.140091cf0
mov word [rsp + 0x1f40], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x1f42]
call fcn.140091cf0
mov word [rsp + 0x1b40], 0
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x1b42]
call fcn.140091cf0
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400231f5
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 + 0xd0], rax
lea rdx, [0x1400dec08]
or r14, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140023242
movzx edi, dx
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x140023262
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140005c00
jmp 0x140023262
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0xd0]
call fcn.140005e50
nop
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x60], ebp
mov r12d, ebp
mov dword [rsp + 0x64], ebp
mov r13d, ebp
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140023296
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
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400232ca
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 + 0x48], rax
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400232fb
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, [0x1400def30]
test rax, 0xffffffffffff0000
jne 0x14002333d
movzx edi, ax
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x14002334b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140005c00
jmp 0x14002334b
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140006080
nop
mov dword [rsp + 0xb0], ebp
mov r15d, ebp
mov dword [rsp + 0x78], ebp
call fcn.14004b378
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140023378
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 rdi, [fcn.1400011a0]
mov qword [rsp + 0x20], rdi
lea r9, [0x140004ac0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x140]
call fcn.140092b40
nop
lea rcx, [rsp + 0x140]
call fcn.140006d00
nop
mov dword [rsp + 0x68], ebp
lea rdx, [rsp + 0x108]
mov rcx, rbx
call fcn.140010a00
nop
lea r8, [0x1400df530]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400067f0
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x1110]
call fcn.140092450
mov rdx, qword [rsp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140023428
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002344c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, [0x1400e1338]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140025389
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 + 0xc0], rax
mov dword [rsp + 0x470], 0x20
mov dword [rsp + 0x7c], ebp
lea r8, [rsp + 0x470]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov ecx, 1
test eax, eax
je 0x1400248ef
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0xcf0]
lea rdx, [rsp + 0x470]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0xcf0]
call fcn.140090a10
test rax, rax
jne 0x14002358f
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0xcf0]
call fcn.140090a10
test rax, rax
je 0x140024853
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0xcf0]
call fcn.140090a10
mov edi, ebp
test rax, rax
mov eax, 1
cmovne edi, eax
lea rdx, str.INTELAUDIO
lea rcx, [rsp + 0xcf0]
call fcn.140090a10
mov r12d, ebp
test rax, rax
mov eax, 1
cmovne r12d, eax
mov dword [rsp + 0xa0], r12d
mov eax, ebp
mov ecx, dword [0x1401232c8]
cmp ecx, 0x5a
mov edx, 5
cmovl eax, edx
add ecx, eax
mov dword [0x1401232c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140002180
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xcf0]
call fcn.140090a10
test rax, rax
je 0x14002484e
lea r8, [rsp + 0xcf0]
mov edx, 0x104
lea rcx, [rsp + 0xf00]
call fcn.140092450
lea r8, [rsp + 0xcf0]
mov edx, 0x104
lea rcx, [rsp + 0x1720]
call fcn.140092450
test r12d, r12d
je 0x140023682
mov word [rsp + 0x179a], 0
jmp 0x14002368c
mov word [rsp + 0x1794], 0
add r13d, 1
mov dword [rsp + 0x50], r13d
mov r13d, 1
mov dword [rsp + 0x64], r13d
test r12d, r12d
jne 0x1400238a8
test edi, edi
je 0x1400238a1
mov rdi, qword [rsp + 0x40]
cmp dword [rdi + 0x3b008], r12d
je 0x1400238ad
lea r8, [rsp + 0xcf0]
mov edx, 0x104
lea rcx, [rsp + 0x1510]
call fcn.140092450
mov word [rsp + 0x1572], r12w
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x1510]
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov rdi, rcx
test ecx, ecx
jne 0x140023760
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400237f0
cmp dword [rdx + 0x10], eax
jge 0x14002372c
cmp dword [rsi - 0xc], eax
jl 0x14002487f
mov dword [rsi - 0x10], ebp
mov word [rsi], ax
jmp 0x1400237f0
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140023744
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 + 0x48]
jmp 0x1400237f0
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x1510]
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 0x140023791
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140004650
mov rsi, qword [rsp + 0x58]
cmp r12, rbp
ja 0x1400237b1
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.140090b50
jmp 0x1400237ce
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x1510]
mov rdx, rbp
mov rcx, rsi
call fcn.140090a80
test edi, edi
js 0x140024890
cmp edi, dword [rsi - 0xc]
jg 0x140024890
mov dword [rsi - 0x10], edi
mov word [rsi + rbp], 0
mov r12d, dword [rsp + 0xa0]
lea r8, str.INTELAUDIO
lea rdx, str.HDAUDIO
lea rcx, [rsp + 0x58]
call fcn.1400061c0
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 0x14002383b
cmp rax, qword [rsi - 0x18]
jne 0x14002383b
lea rbp, [rsi - 0x18]
lock add dword [rsi - 8], r13d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
jmp 0x140023877
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi - 0x10]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x14002488a
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.140090a80
lea rax, [rbp + 0x18]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x140]
call fcn.140007e30
xor ebp, ebp
mov rdi, qword [rsp + 0x40]
jmp 0x1400238ad
mov rdi, qword [rsp + 0x40]
jmp 0x1400238ad
mov rdi, qword [rsp + 0x40]
mov r15d, ebp
mov eax, ebp
mov ecx, dword [0x1401232c8]
cmp ecx, 0x5a
mov edx, 0xa
cmovl eax, edx
add ecx, eax
mov dword [0x1401232c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [rdi + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002180
test r12d, r12d
je 0x1400238fe
mov word [rsp + 0xf68], 0
jmp 0x140023908
mov word [rsp + 0xf62], 0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, [0x1400e1338]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140023c79
nop
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
lea r8, [rsp + 0x4bc]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140023c4e
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140023c45
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140023c45
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6e0]
mov rdx, r12
mov rcx, rdi
call fcn.140003650
test eax, eax
jne 0x140023a74
mov dword [rsp + 0x68], esi
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x140023c53
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x6e0]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140023c45
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov edx, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140023bf6
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140023b44
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140023bd0
cmp dword [rdx + 0x10], eax
jge 0x140023b15
cmp dword [rbx - 0xc], eax
jl 0x14002489b
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x140023bd0
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140023b2d
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
jmp 0x140023bd0
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x6e0]
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 0x140023b77
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004650
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x140023b97
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140090b50
jmp 0x140023bb4
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x6e0]
mov rdx, rsi
mov rcx, rbx
call fcn.140090a80
test edi, edi
js 0x1400248a6
cmp edi, dword [rbx - 0xc]
jg 0x1400248a6
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
cmp dword [rbx - 0x10], 0
jl 0x140023bf6
lea rdx, [rsp + 0xf00]
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x140023bf6
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x140023c15
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x140023c40
jmp 0x140023aa0
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x8f0]
mov edx, 0x200
lea rcx, [rsp + 0x1f40]
call fcn.140092450
mov r15d, 1
mov rdi, qword [rsp + 0x40]
jmp 0x140023c45
mov rdi, qword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
jne 0x140023c6c
lea rdx, [rsp + 0x490]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140023990
mov rsi, qword [rsp + 0x58]
mov r12d, dword [rsp + 0xa0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test r15d, r15d
jne 0x140024427
test r12d, r12d
je 0x140023c9b
mov word [rsp + 0xf48], r15w
jmp 0x140023ca5
mov word [rsp + 0xf42], 0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, [0x1400e1338]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002402f
nop
nop
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
lea r8, [rsp + 0x4bc]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140024007
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140023ffe
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov esi, 1
mov edx, esi
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140023ffe
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6e0]
mov rdx, r12
mov rcx, rdi
call fcn.140003650
test eax, eax
jne 0x140023e14
mov dword [rsp + 0x68], esi
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x140024011
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x6e0]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140023ffe
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov edx, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140023fbb
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140023ee4
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140023f70
cmp dword [rdx + 0x10], eax
jge 0x140023eb5
cmp dword [rbx - 0xc], eax
jl 0x1400248b1
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x140023f70
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140023ecd
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
jmp 0x140023f70
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x6e0]
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 0x140023f17
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004650
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x140023f37
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140090b50
jmp 0x140023f54
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x6e0]
mov rdx, rsi
mov rcx, rbx
call fcn.140090a80
test edi, edi
js 0x1400248bc
cmp edi, dword [rbx - 0xc]
jg 0x1400248bc
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
cmp dword [rbx - 0x10], 0
jl 0x140023fbb
lea rdx, [rsp + 0xf00]
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x140023fbb
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140023fbb
cmp dword [rbx - 0x10], 0
jl 0x140023fda
lea rdx, [0x1400e06c0]
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x140023fda
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x140023fda
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x140023ffe
jmp 0x140023e40
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x8f0]
mov edx, 0x200
lea rcx, [rsp + 0x1f40]
call fcn.140092450
mov r15d, 1
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
jne 0x14002402a
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x490]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140023d30
mov rsi, qword [rsp + 0x58]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test r15d, r15d
jne 0x140024427
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
call fcn.14004b378
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x1400248dd
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xc8], rax
lea rdi, str..inf
test rdi, 0xffffffffffff0000
jne 0x1400240b9
movzx edi, di
mov ecx, edi
call fcn.14004b1a0
test rax, rax
je 0x1400240ca
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140005c00
jmp 0x1400240ca
mov rdx, rdi
lea rcx, [rsp + 0xc8]
call fcn.140006080
nop
lea r8, [rsp + 0xc8]
lea rdx, [0x140123328]
lea rcx, [rsp + 0x100]
call fcn.140006690
mov r8, qword [rax]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024120
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024144
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 + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1400243fd
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400243e3
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov r12d, 1
mov edx, r12d
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400243e3
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6e0]
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.140003650
test eax, eax
jne 0x14002420d
mov dword [rsp + 0x68], r12d
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x140024853
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x6e0]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400243e3
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x48]
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov edx, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002439e
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400242ec
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140024378
cmp dword [rdx + 0x10], eax
jge 0x1400242b5
cmp dword [rbx - 0xc], eax
jl 0x1400248c7
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x140024378
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400242cd
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 + 0xa8]
jmp 0x140024378
mov ebp, dword [rbx - 0x10]
lea r12, [rsp + 0x6e0]
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 0x14002431f
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004650
mov rbx, qword [rsp + 0x48]
cmp r12, rbp
ja 0x14002433f
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rbx + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.140090b50
jmp 0x14002435c
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x6e0]
mov rdx, rbp
mov rcx, rbx
call fcn.140090a80
test edi, edi
js 0x1400248d2
cmp edi, dword [rbx - 0xc]
jg 0x1400248d2
mov dword [rbx - 0x10], edi
mov word [rbx + rbp], 0
xor ebp, ebp
test rsi, rsi
je 0x14002439e
cmp dword [rbx - 0x10], 0
jl 0x14002439e
mov rdx, rsi
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x14002439e
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400243bd
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x1400243e8
jmp 0x140024240
mov dword [rsp + 0x68], ebp
lea r8, [rsp + 0x8f0]
mov edx, 0x200
lea rcx, [rsp + 0x1f40]
call fcn.140092450
mov r15d, 1
jmp 0x1400243e8
mov rbx, qword [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r15d, r15d
je 0x140024402
mov rsi, qword [rsp + 0x58]
jmp 0x140024427
mov rbx, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x50]
test r13d, r13d
cmove r12d, ebp
mov dword [rsp + 0x64], r12d
mov rsi, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x78]
jmp 0x140024853
mov eax, ebp
mov ecx, dword [0x1401232c8]
cmp ecx, 0x5a
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
cmovl eax, edx
add ecx, eax
mov dword [0x1401232c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov r12, qword [rsp + 0x40]
mov rcx, qword [r12 + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r12
call fcn.140002180
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r15d, 1
mov r9d, r15d
lea r8, [rsp + 0x1f40]
lea rdx, [rsp + 0x1720]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x1400244e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x5b4
jne 0x1400244ce
lea r8, [rsp + 0x470]
mov rdx, qword [rsp + 0xc0]
mov rcx, r12
call fcn.140004a10
test eax, eax
je 0x1400244ce
mov dword [rsp + 0x60], r15d
mov ebp, r15d
mov edx, edi
mov rcx, r12
call fcn.14000b1c0
test ebp, ebp
je 0x14002483d
jmp 0x1400247fc
mov r13d, r15d
mov dword [rsp + 0x60], r15d
lea r8, [rsp + 0x470]
mov rbp, qword [rsp + 0xc0]
mov rdx, rbp
mov rcx, r12
call fcn.140004a10
test eax, eax
jne 0x1400247fc
cmp dword [r12 + 0x3b000], eax
je 0x14002463d
cmp dword [r12 + 0x3b004], eax
jne 0x14002463d
lea rdx, [0x1400def30]
lea rcx, [rsp + 0x70]
call fcn.140006080
lea r9, [rsp + 0x470]
mov r8, rbp
lea rdx, [rsp + 0xe8]
mov rcx, r12
call fcn.14000aff0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140007b20
nop
mov rdx, qword [rsp + 0xe8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002458b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1400def30]
lea rcx, [rsp + 0x70]
call fcn.14000d9a0
test al, al
je 0x14002462b
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x128]
call fcn.140005690
mov rdx, rax
mov rcx, r12
call fcn.140014bb0
mov edi, eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x470]
mov rcx, rbp
call fcn.140002af0
test eax, eax
je 0x14002462b
test edi, edi
je 0x14002462b
movsxd rax, dword [r12 + 0x3afd0]
imul rax, rax, 0x12c8
mov dword [rax + r12 + 0x4bc], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.140005690
mov rdx, rax
mov rcx, r12
call fcn.14001dc20
add dword [r12 + 0x3afd0], 0xffffffff
mov dword [r12 + 0x4bc], r15d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
cmp dword [r12 + 0x3b004], 0
je 0x1400247fc
xor edx, edx
lea rcx, str.audiosrv
call fcn.140002fd0
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov r9d, r15d
lea r8, [rsp + 0x1f40]
lea rdx, [rsp + 0x1720]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x1400246c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x5b4
jne 0x1400246b2
lea r8, [rsp + 0x470]
mov rdx, rbp
mov rcx, r12
call fcn.140004a10
test eax, eax
cmovne r13d, r15d
mov dword [rsp + 0x60], r13d
mov edx, edi
mov rcx, r12
call fcn.14000b1c0
jmp 0x1400247ed
lea r8, [rsp + 0x470]
mov rdx, rbp
mov rcx, r12
call fcn.140004a10
test eax, eax
jne 0x1400247ed
lea rdx, [0x1400def30]
lea rcx, [rsp + 0x70]
call fcn.140006080
lea r9, [rsp + 0x470]
mov r8, rbp
lea rdx, [rsp + 0xf8]
mov rcx, r12
call fcn.14000aff0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140007b20
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 0x14002473b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1400def30]
lea rcx, [rsp + 0x70]
call fcn.14000d9a0
test al, al
je 0x1400247db
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.140005690
mov rdx, rax
mov rcx, r12
call fcn.140014bb0
mov edi, eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x470]
mov rcx, rbp
call fcn.140002af0
test eax, eax
je 0x1400247db
test edi, edi
je 0x1400247db
movsxd rax, dword [r12 + 0x3afd0]
imul rax, rax, 0x12c8
mov dword [rax + r12 + 0x4bc], r15d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x120]
call fcn.140005690
mov rdx, rax
mov rcx, r12
call fcn.14001dc20
add dword [r12 + 0x3afd0], 0xffffffff
mov dword [r12 + 0x4bc], r15d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov edx, r15d
lea rcx, str.audiosrv
call fcn.140002fd0
cmp dword [rsp + 0xa0], 0
je 0x140024822
mov r15d, dword [rsp + 0x78]
add r15d, 1
mov dword [rsp + 0x78], r15d
xor ebp, ebp
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x50]
jmp 0x140024853
add dword [rsp + 0xb0], 1
xor ebp, ebp
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x140024853
xor ebp, ebp
mov r12d, r15d
mov r13d, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x78]
jmp 0x140024853
mov r12d, dword [rsp + 0x64]
mov eax, dword [rsp + 0x7c]
add eax, 1
mov dword [rsp + 0x7c], eax
lea r8, [rsp + 0x470]
mov edx, eax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400248e8
jmp 0x140023530
mov ecx, 0x80070057
call fcn.140001610
int3
call fcn.140003370
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 0x1400248f9
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov edi, ebp
mov dword [rsp + 0x50], ebp
mov edx, 0x32
test r12d, r12d
jne 0x140024911
mov edi, ecx
mov dword [rsp + 0x50], ecx
jmp 0x140024920
test r15d, r15d
jne 0x140024938
cmp dword [rsp + 0xb0], r15d
jne 0x140024931
mov r13, qword [rsp + 0x40]
cmp dword [r13 + 0x3b008], 0
jne 0x140024953
jmp 0x14002493d
mov r13, qword [rsp + 0x40]
jmp 0x14002493d
mov r13, qword [rsp + 0x40]
test r12d, r12d
jne 0x140024a70
cmp dword [r13 + 0x3b008], r12d
jne 0x140024a79
mov eax, ebp
mov ecx, dword [0x1401232c8]
cmp ecx, 0x5a
cmovl eax, edx
add ecx, eax
mov dword [0x1401232c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [r13 + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r13
call fcn.140002180
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, str.Rt.inf
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140024a6b
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 + 0x1930]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x140024a5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r13
call fcn.14000b1c0
jmp 0x140024a6b
mov dword [rsp + 0x60], 1
mov edi, ebp
mov dword [rsp + 0x50], ebp
test r12d, r12d
je 0x140024a79
test r15d, r15d
jne 0x140025004
cmp dword [r13 + 0x3b008], 0
je 0x140024ff7
mov eax, ebp
mov ecx, dword [0x1401232c8]
cmp ecx, 0x5a
mov edx, 0x32
cmovl eax, edx
add ecx, eax
mov dword [0x1401232c8], ecx
movsxd r8, ecx
xor r9d, r9d
mov edx, 0x402
mov rcx, qword [r13 + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r13
call fcn.140002180
mov r15d, ebp
mov dword [rsp + 0x7c], ebp
mov eax, dword [rsp + 0x460]
test eax, eax
jle 0x140024f05
lea r13, [rsp + 0x140]
nop
nop
nop
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, [0x1400e1338]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0xb0], rax
cmp rax, 0xffffffffffffffff
je 0x140024ea4
nop
mov r14d, ebp
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
lea r8, [rsp + 0x4bc]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140024e8b
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140024e7d
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov edx, 1
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140024e7d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6e0]
mov rdx, r12
mov rcx, qword [rsp + 0x40]
call fcn.140003650
test eax, eax
jne 0x140024c63
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x140024e8b
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [rsp + 0x6e0]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x140024e7d
nop
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x6e0]
mov edx, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x140024deb
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
lea rdi, [rsp + 0x6e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140024d38
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140024dc4
cmp dword [rdx + 0x10], eax
jge 0x140024d09
cmp dword [rbx - 0xc], eax
jl 0x140024ecc
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x140024dc4
mov eax, r8d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024d21
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
jmp 0x140024dc4
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x6e0]
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 0x140024d6b
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004650
mov rbx, qword [rsp + 0x48]
cmp rbp, rsi
ja 0x140024d8b
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140090b50
jmp 0x140024da8
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x6e0]
mov rdx, rsi
mov rcx, rbx
call fcn.140090a80
test edi, edi
js 0x140024ed7
cmp edi, dword [rbx - 0xc]
jg 0x140024ed7
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor ebp, ebp
mov rdx, qword [r13]
test rdx, rdx
je 0x140024deb
cmp dword [rbx - 0x10], 0
jl 0x140024deb
mov rcx, rbx
call fcn.140090a10
test rax, rax
je 0x140024deb
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x140024e0a
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x88]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x140024e75
jmp 0x140024c90
add r15d, 1
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1930]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x140024e60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.14000b1c0
jmp 0x140024e68
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x50], ebp
mov r14d, esi
mov rdi, qword [rsp + 0xb0]
jmp 0x140024e7d
mov rdi, qword [rsp + 0xb0]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
test r14d, r14d
jne 0x140024ea4
lea rdx, [rsp + 0x490]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140024b80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rsp + 0x7c]
add ecx, 1
mov dword [rsp + 0x7c], ecx
add r13, 8
mov eax, dword [rsp + 0x460]
cmp ecx, eax
jge 0x140024ee2
jmp 0x140024af0
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
cmp r15d, eax
jl 0x140024ef6
mov rsi, qword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
jmp 0x140024f05
mov rsi, qword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
or r14, 0xffffffffffffffff
jmp 0x140024f0d
test eax, eax
jne 0x140025011
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, str.SST.inf
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14002501e
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 + 0x1930]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x140024fed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14000b1c0
jmp 0x140025029
mov dword [rsp + 0x60], r12d
jmp 0x140025206
mov rbx, qword [rsp + 0x40]
mov r12d, 1
jmp 0x140025029
mov rbx, qword [rsp + 0x40]
mov r12d, 1
jmp 0x140025029
mov rbx, qword [rsp + 0x40]
mov r12d, 1
jmp 0x140025029
mov rbx, qword [rsp + 0x40]
mov r12d, 1
test edi, edi
je 0x140025206
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x490]
call fcn.140091cf0
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea r8, [0x1400e1338]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400251fd
nop
nop
nop
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x1b40]
call fcn.140092450
lea r8, str.Rt.inf
mov edx, 0x200
lea rcx, [rsp + 0x1b40]
call fcn.140092500
lea rdx, [rsp + 0x1b40]
lea rcx, [rsp + 0x4bc]
call fcn.140090a10
test rax, rax
jne 0x1400251e4
mov r8, qword [0x140123328]
mov edx, 0x200
lea rcx, [rsp + 0x1b40]
call fcn.140092450
lea r8, [0x1400e1510]
mov edx, 0x200
lea rcx, [rsp + 0x1b40]
call fcn.140092500
lea rdx, [rsp + 0x1b40]
lea rcx, [rsp + 0x4bc]
call fcn.140090a10
test rax, rax
jne 0x1400251e4
lea r8, [rsp + 0x1110]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092450
lea r8, [rsp + 0x4bc]
mov edx, 0x200
lea rcx, [rsp + 0x8f0]
call fcn.140092500
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x1930]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x8f0]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x1400251df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000b1c0
jmp 0x1400251e4
mov dword [rsp + 0x60], r12d
lea rdx, [rsp + 0x490]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400250c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [0x1401232c8]
cmp eax, 0x5a
mov ecx, 0xa
cmovl ebp, ecx
add eax, ebp
mov dword [0x1401232c8], eax
movsxd r8, eax
xor r9d, r9d
mov edx, 0x402
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x3b060]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rdi
call fcn.140002180
mov ebx, dword [rsp + 0x60]
test ebx, ebx
jne 0x140025270
cmp dword [rsp + 0x68], ebx
je 0x140025270
mov edx, 0xe0000228
mov rcx, rdi
call fcn.14000b1c0
nop
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x140]
call fcn.14008fb90
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400252ab
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 0x1400252cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400252ef
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 0x140025314
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 0x140025339
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002535e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x140025382
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
jmp 0x14002549e
mov r9, rdi
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x140]
call fcn.14008fb90
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 0x1400253c5
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 0x1400253e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025409
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 0x14002542e
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 0x140025453
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, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025478
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14002549c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x2340]
xor rcx, rsp
call fcn.140090720
lea r11, [rsp + 0x2350]
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