Function at 0x1400274f0
Capabilities:
Create process on windows
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2790
call fcn.1400e67f0
sub rsp, rax
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x27e0], rbx
mov rax, qword [0x14012e6d8]
xor rax, rsp
mov qword [rsp + 0x2780], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x5c], r12d
call fcn.140055b68
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x140027565
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x40], rbp
call fcn.140055b68
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140027594
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x48], rsi
call fcn.140055b68
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400275c6
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 + 0x50], rbx
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x6c], r12d
lea rcx, [rsp + 0x100]
call fcn.14000d230
nop
mov dword [rsp + 0x64], r12d
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x14002769f
lea r9, [fcn.1400011a0]
lea edx, [rax + 9]
lea r8d, [rax + 0x65]
lea rcx, [rsp + 0x100]
call fcn.14009a380
nop
lea rdx, [rbx - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140027657
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, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027678
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 ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140027698
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
jmp 0x140028b74
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x660]
call fcn.14009c4e0
mov r8, r15
mov edx, 0x208
lea rcx, [rsp + 0x1300]
call fcn.14009cc40
lea r8, [0x1400ec7f0]
mov edx, 0x208
lea rcx, [rsp + 0x1300]
call fcn.14009ccf0
lea rdx, [rsp + 0x660]
lea rcx, [rsp + 0x1300]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0xc0], rax
or r13, 0xffffffffffffffff
lea r12d, [r13 + 2]
cmp rax, r13
je 0x140028a79
nop
nop
nop
nop
mov r8, r15
mov edx, 0x208
lea rcx, [rsp + 0x1300]
call fcn.14009cc40
lea r8, [0x1400ea720]
mov edx, 0x208
lea rcx, [rsp + 0x1300]
call fcn.14009ccf0
lea r8, [rsp + 0x68c]
mov edx, 0x208
lea rcx, [rsp + 0x1300]
call fcn.14009ccf0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rsp + 0x1300]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov rdi, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
je 0x1400289d0
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400289d0
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0xcd0]
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400289d0
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0xcd0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140027867
lea rdx, [rbp - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400278fe
cmp dword [rdx + 0x10], eax
jge 0x14002782e
cmp dword [rbp - 0xc], eax
jl 0x1400289ff
mov dword [rbp - 0x10], eax
mov word [rbp], ax
jmp 0x1400278fe
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027846
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 rbp, [rax + 0x18]
mov qword [rsp + 0x40], rbp
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
jmp 0x1400278fe
mov r12d, dword [rbp - 0x10]
lea r13, [rsp + 0xcd0]
sub r13, rbp
sar r13, 1
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002789b
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbp, qword [rsp + 0x40]
cmp r13, r12
ja 0x1400278bc
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbp + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbp
call fcn.14009b340
jmp 0x1400278d9
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xcd0]
mov rdx, r12
mov rcx, rbp
call fcn.14009b270
test edi, edi
js 0x140028a5d
cmp edi, dword [rbp - 0xc]
jg 0x140028a5d
mov dword [rbp - 0x10], edi
mov word [r12 + rbp], 0
or r13, 0xffffffffffffffff
mov r12d, 1
movsxd rdi, dword [rbp - 0x10]
mov ecx, r12d
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x140027922
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov rbp, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbp
call fcn.14009b820
test edi, edi
js 0x140028a52
cmp edi, dword [rbp - 0xc]
jg 0x140028a52
mov dword [rbp - 0x10], edi
mov word [rbp + rdi*2], 0
lea rdx, str.REALTEK
mov rcx, rbp
call fcn.14009b200
test rax, rax
jne 0x14002796d
test byte [r15 + 0x218], 8
jne 0x1400289d9
lea rdx, str.INTEL
mov rcx, rbp
call fcn.14009b200
test rax, rax
jne 0x1400279a0
mov eax, dword [r15 + 0x218]
test al, 1
jne 0x1400289d9
test al, 2
jne 0x1400289d9
test al, 4
jne 0x1400289d9
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0xcd0]
mov edx, r12d
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rsp + 0xcd0]
mov rdi, qword [rsp + 0x88]
mov rdx, rdi
mov rcx, r14
call fcn.140003670
test eax, eax
jne 0x140027a0a
mov dword [rsp + 0x64], r12d
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
jmp 0x1400289d9
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, [rsp + 0xcd0]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x1400289d0
xor edi, edi
lea r8, [0x1400e9c18]
mov edx, 0x104
lea rcx, [rsp + 0xee0]
call fcn.14009cc40
lea r8, [0x1400e9c18]
mov edx, 0x104
lea rcx, [rsp + 0x10f0]
call fcn.14009cc40
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0xee0]
mov edx, 2
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
cmovne edi, r12d
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0x10f0]
mov edx, 3
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
xor r8d, r8d
mov r14d, r8d
test eax, eax
cmovne r14d, r12d
test edi, edi
je 0x1400288ed
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0xee0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140027b4d
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140027be3
cmp dword [rdx + 0x10], eax
jge 0x140027b14
cmp dword [rsi - 0xc], eax
jl 0x140028a0a
mov dword [rsi - 0x10], r8d
mov word [rsi], ax
jmp 0x140027be3
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027b2c
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 + 0x48], rsi
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
jmp 0x140027be3
mov r12d, dword [rsi - 0x10]
lea r13, [rsp + 0xee0]
sub r13, rsi
sar r13, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140027b81
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rsi, qword [rsp + 0x48]
cmp r13, r12
ja 0x140027ba1
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.14009b340
jmp 0x140027bbe
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xee0]
mov rdx, r12
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x140028a47
cmp edi, dword [rsi - 0xc]
jg 0x140028a47
mov dword [rsi - 0x10], edi
mov word [r12 + rsi], 0
or r13, 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 eax, ecx
jge 0x140027c07
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rsi, qword [rsp + 0x48]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rsi
call fcn.14009b820
test edi, edi
js 0x140028a3c
cmp edi, dword [rsi - 0xc]
jg 0x140028a3c
mov dword [rsi - 0x10], edi
mov word [rsi + rdi*2], 0
lea rcx, [rsi - 0x18]
mov qword [rsp + 0x90], rcx
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140027ca0
cmp dword [rdi + 0x10], 0
jl 0x140027c8a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140027c8a
call fcn.1400046d0
mov rbx, rax
mov ecx, r13d
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140027c75
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
mov qword [rsp + 0x50], rbx
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x140027ca0
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400062e0
mov rbx, qword [rsp + 0x50]
movsxd r12, dword [rbx - 0x10]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r12d
or eax, ecx
jge 0x140027cc8
mov edx, r12d
lea rcx, [rsp + 0x50]
call fcn.140004670
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
mov rdx, rbx
lea r11, [rbx + r12*2]
cmp rbx, r11
jae 0x140027d24
nop
nop
nop
lea r10, [rcx + 2]
cmp word [rcx], 0x2a
je 0x140027d1c
mov r8, r10
sub r8, rcx
sar r8, 1
lea r9, [rdx + r8*2]
xor edi, edi
cmp rdx, r9
je 0x140027d1c
nop
cmp rdi, r8
jae 0x140027d1c
movzx eax, word [rcx]
mov word [rdx], ax
add rcx, 2
add rdx, 2
add rdi, 1
cmp rdx, r9
jne 0x140027d00
mov rcx, r10
cmp r10, r11
jb 0x140027ce0
mov word [rdx], 0
sub rcx, rdx
sar rcx, 1
sub r12d, ecx
js 0x140028a31
cmp r12d, dword [rbx - 0xc]
jg 0x140028a31
mov dword [rbx - 0x10], r12d
movsxd rax, r12d
mov word [rbx + rax*2], 0
lea rdx, [0x1400eb960]
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027d6d
test byte [r15 + 0x21c], 1
jne 0x140027d8b
lea rdx, [0x1400eb960]
mov rcx, rsi
call fcn.14009b200
test rax, rax
je 0x140027d99
test byte [r15 + 0x21c], 2
je 0x140027d99
cmp dword [r15 + 0x210], 0
je 0x1400288e5
lea rdx, str.PCIVEN_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027de3
lea rdx, str.PCICC_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027de3
lea rdx, str.ACPICLS_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027de3
test byte [r15 + 0x218], 1
jne 0x1400288dd
lea rdx, str.INTELAUDIODSP_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027e05
test byte [r15 + 0x218], 4
jne 0x1400288d5
lea rdx, str.INTELAUDIOCTLR_DEV_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027e3b
lea rdx, str.INTELAUDIOLINKTYPE_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027e3b
test byte [r15 + 0x218], 2
jne 0x1400288cd
lea rdx, str.PCIVEN_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027eb3
lea rdx, str.PCICC_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027eb3
lea rdx, str.ACPICLS_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027eb3
lea rdx, str.INTELAUDIODSP_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027eb3
lea rdx, str.INTELAUDIOCTLR_DEV_
mov rcx, rsi
call fcn.14009b200
test rax, rax
jne 0x140027eb3
lea rdx, str.INTELAUDIOLINKTYPE_
mov rcx, rsi
call fcn.14009b200
test rax, rax
je 0x140027ec1
test byte [r15 + 0x218], 0x10
jne 0x1400288c5
cmp dword [r15 + 0x210], 0
jne 0x140028916
mov dword [rsp + 0x430], 0x20
xor edi, edi
mov dword [rsp + 0x80], edi
movsxd rax, r14d
mov qword [rsp + 0xb8], rax
lea r8, [rsp + 0x430]
xor edx, edx
mov r12, qword [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400288bd
jmp 0x140027f15
mov r12, qword [rsp + 0x78]
lea rcx, [rsp + 0x100]
call fcn.140007950
mov r14d, edi
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0x1f50]
lea rdx, [rsp + 0x430]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0xee0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 2
jbe 0x140028104
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov edi, 1
mov r8d, edi
lea rdx, [rsp + 0x430]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov ecx, dword [rsp + 0x58]
call fcn.14009dba0
mov r13, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140028100
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x430]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov r12, r13
cmp word [r13], 0
je 0x1400280e9
or rbp, 0xffffffffffffffff
mov r13, rdi
nop
mov r8, r12
mov edx, 0x104
lea rcx, [rsp + 0xac0]
call fcn.14009cc40
mov edx, 0x104
lea rcx, [rsp + 0xac0]
call fcn.14009b820
mov rdx, rsi
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
jne 0x140028051
mov rdx, rbx
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
je 0x140028054
mov r14d, r13d
test byte [r15 + 0x21c], 2
je 0x140028083
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0xd8]
call fcn.140013b00
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14000d2b0
test byte [r15 + 0x21c], r13b
je 0x1400280bf
lea rdx, [0x1400eb960]
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
je 0x1400280bf
lea r8, [rsp + 0xac0]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call fcn.14009cc40
xor eax, eax
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r12, [r12 + rcx*2]
cmp word [r12], ax
jne 0x140028000
mov rbp, qword [rsp + 0x40]
mov r13, qword [rsp + 0x98]
mov rcx, r13
call fcn.14009db00
test r14d, r14d
jne 0x14002847a
or r13, 0xffffffffffffffff
jmp 0x140028104
or r13, 0xffffffffffffffff
cmp qword [rsp + 0xb8], 0
je 0x14002886e
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0x10f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 1
jbe 0x14002887e
mov rcx, r13
lea rdi, [rsp + 0x10f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400281bd
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002825a
cmp dword [rdx + 0x10], eax
jge 0x140028181
cmp dword [rsi - 0xc], eax
jl 0x140028a15
xor r12d, r12d
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x14002825d
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140028199
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 + 0x48], rax
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
xor r12d, r12d
jmp 0x14002825d
mov r12d, dword [rsi - 0x10]
lea r13, [rsp + 0x10f0]
sub r13, rsi
sar r13, 1
mov ecx, 1
mov rax, qword [rsp + 0x90]
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, edi
or eax, ecx
jge 0x1400281f9
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rsi, qword [rsp + 0x48]
cmp r13, r12
ja 0x140028219
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.14009b340
jmp 0x140028236
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x10f0]
mov rdx, r12
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x140028a26
cmp edi, dword [rsi - 0xc]
jg 0x140028a26
mov dword [rsi - 0x10], edi
mov word [r12 + rsi], 0
or r13, 0xffffffffffffffff
xor r12d, r12d
jmp 0x14002825d
xor r12d, r12d
lea rcx, [rsp + 0x48]
call fcn.140006a70
mov rsi, qword [rsp + 0x48]
lea rcx, [rsi - 0x18]
mov qword [rsp + 0x90], rcx
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400282d8
cmp dword [rbx + 0x10], 0
jl 0x1400282c7
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400282c7
call fcn.1400046d0
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400282b2
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x50], rax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x1400282d8
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400062e0
mov dx, 0x2a
lea rcx, [rsp + 0x50]
call fcn.140006990
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x430]
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov ecx, dword [rsp + 0x58]
call fcn.14009dba0
mov r13, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140028861
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x430]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov r12, r13
mov rbx, qword [rsp + 0x50]
cmp word [r13], 0
je 0x140028469
or rbp, 0xffffffffffffffff
lea r13d, [rbp + 2]
nop
mov r8, r12
mov edx, 0x104
lea rcx, [rsp + 0xac0]
call fcn.14009cc40
mov edx, 0x104
lea rcx, [rsp + 0xac0]
call fcn.14009b820
mov rdx, rsi
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
jne 0x1400283d1
mov rdx, rbx
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
je 0x1400283d4
mov r14d, r13d
test byte [r15 + 0x21c], 2
je 0x140028403
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0xe8]
call fcn.140013b00
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14000d2b0
test byte [r15 + 0x21c], r13b
je 0x14002843f
lea rdx, [0x1400eb960]
lea rcx, [rsp + 0xac0]
call fcn.14009b200
test rax, rax
je 0x14002843f
lea r8, [rsp + 0xac0]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call fcn.14009cc40
xor eax, eax
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r12, [r12 + rcx*2]
cmp word [r12], ax
jne 0x140028380
mov rbp, qword [rsp + 0x40]
mov r13, qword [rsp + 0x98]
mov rcx, r13
call fcn.14009db00
test r14d, r14d
je 0x140028876
xor r13d, r13d
mov dword [rsp + 0x64], r13d
test byte [r15 + 0x21c], 2
je 0x140028610
mov ebx, r13d
lea r12d, [r13 + 1]
nop
nop
nop
mov r8d, ebx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x100]
call fcn.140019a70
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbp, 0xffffffffffffffe8
cmp rcx, rbp
je 0x140028516
cmp dword [rbp + 0x10], 0
jl 0x140028507
mov rax, qword [rbp]
cmp qword [rcx], rax
jne 0x140028507
call fcn.1400046d0
mov rdi, rax
or ecx, 0xffffffff
lock xadd dword [rbp + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400284fc
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x140028516
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400062e0
nop
mov rdx, qword [rsp + 0xd0]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002853a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
lea rdi, [0x1400e9c18]
mov rbp, qword [rsp + 0x40]
mov rsi, rbp
mov rcx, r12
repe cmpsw word [rsi], word [rdi]
je 0x140028558
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x140028604
add ebx, 1
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbp - 8], 0
jl 0x140028591
cmp rax, qword [rbp - 0x18]
jne 0x140028591
lea rsi, [rbp - 0x18]
lock add dword [rbp - 8], 1
mov rbp, qword [rsp + 0x40]
jmp 0x1400285cd
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbp - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140028a20
mov ecx, dword [rbp - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rbp - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rbp
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.14009b270
lea rax, [rsi + 0x18]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xc8]
lea rcx, [0x140131170]
call fcn.1400057d0
test eax, eax
je 0x1400284a0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
jmp 0x140028884
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
jmp 0x140028616
mov r12d, 1
test byte [r15 + 0x218], 4
je 0x140028652
lea r8, [rsp + 0x1d40]
lea rdx, [rsp + 0x1300]
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call fcn.140005450
test eax, eax
je 0x140028657
xor edx, edx
lea rcx, [rsp + 0x1d40]
call fcn.140002fe0
jmp 0x140028657
mov rdi, qword [rsp + 0x70]
add dword [rsp + 0x68], 1
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0x1b30]
call fcn.14009cc40
lea r8, [rsp + 0x1300]
mov edx, 0x208
lea rcx, [rsp + 0x2160]
call fcn.14009cc40
mov dword [rsp + 0x658], r13d
lea r8, [rdi + 0x4bc]
mov edx, 0x104
lea rcx, [rsp + 0x450]
call fcn.14009cc40
lea r8, [rsp + 0x1f50]
lea rdx, [rsp + 0x450]
mov rcx, rdi
call fcn.140026550
lea r11, [rsp + 0x60]
mov qword [rsp + 0x20], r11
mov r9d, r12d
lea r8, [rsp + 0x2160]
lea rdx, [rsp + 0x1b30]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x140028710
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call fcn.14000c960
lea rdx, [0x1400e9c18]
mov rcx, rdi
call fcn.1400047f0
jmp 0x140028809
cmp dword [rsp + 0x60], 0
je 0x1400287ef
mov eax, dword [r15 + 0x218]
test al, 1
jne 0x140028732
test al, 2
jne 0x140028732
test al, 8
je 0x1400287ef
cmp dword [rdi + 0x3b20c], 0
je 0x1400287ef
mov edx, 0x208
lea rcx, [rsp + 0x1920]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str._system32_net.exe
lea rcx, [rsp + 0x1920]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, str._stop_audiosrv
lea r8, [rsp + 0x1920]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea r11, [rsp + 0x60]
mov qword [rsp + 0x20], r11
mov r9d, r12d
lea r8, [rsp + 0x2160]
lea rdx, [rsp + 0x1b30]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
test eax, eax
jne 0x1400287c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call fcn.14000c960
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, str._start_audiosrv
lea r8, [rsp + 0x1920]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rdx, [rsp + 0x450]
mov rcx, rdi
call fcn.14001bf80
mov dword [rsp + 0x5c], r12d
add dword [rsp + 0x6c], 1
test byte [r15 + 0x21c], 1
je 0x140028884
lea rdx, [rsp + 0x1710]
lea rcx, [rsp + 0xf8]
call fcn.140013b00
mov rdx, rax
lea rcx, [0x140131170]
call fcn.1400057d0
test eax, eax
jne 0x140028884
lea rdx, [rsp + 0x1710]
lea rcx, [rsp + 0xe0]
call fcn.140013b00
mov rdx, rax
lea rcx, [0x140131170]
call fcn.14000d2b0
jmp 0x140028884
mov rbx, qword [rsp + 0x50]
mov r12d, 1
jmp 0x140028884
mov r12d, 1
jmp 0x140028884
mov r12d, 1
jmp 0x140028884
mov r12d, 1
mov eax, dword [rsp + 0x80]
add eax, 1
mov dword [rsp + 0x80], eax
lea r8, [rsp + 0x430]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
mov edi, 0
lea r13, [rdi - 1]
jne 0x140027f10
jmp 0x1400288ef
mov r12d, 1
jmp 0x1400288ef
xor edi, edi
lea r12d, [rdi + 1]
jmp 0x1400288ef
xor edi, edi
lea r12d, [rdi + 1]
jmp 0x1400288ef
xor edi, edi
lea r12d, [rdi + 1]
jmp 0x1400288ef
xor edi, edi
lea r12d, [rdi + 1]
jmp 0x1400288ef
xor edi, edi
lea r12d, [rdi + 1]
jmp 0x1400288ef
xor edi, edi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x1400289c3
or r13, 0xffffffffffffffff
jmp 0x140027a30
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x2570]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x1300]
call qword [sym.imp.SETUPAPI.dll_SetupCopyOEMInfW]
test eax, eax
jne 0x140028976
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r14, qword [rsp + 0x70]
mov rcx, r14
call fcn.14000c960
mov rdi, qword [rsp + 0x88]
jmp 0x1400289d0
cmp dword [r15 + 0x214], 0
je 0x1400289af
lea r8, [rsp + 0x1300]
lea rdx, [rsp + 0x8b0]
mov r14, qword [rsp + 0x70]
mov rcx, r14
call fcn.140026b40
lea rdx, [rsp + 0x8b0]
mov rcx, r14
call fcn.14001c0a0
jmp 0x1400289b4
mov r14, qword [rsp + 0x70]
mov dword [rsp + 0x5c], r12d
mov rdi, qword [rsp + 0x88]
jmp 0x1400289d0
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
lea rdx, [rsp + 0x660]
mov rdi, qword [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140028a68
or r13, 0xffffffffffffffff
jmp 0x140027720
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
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 rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or r13, 0xffffffffffffffff
mov edi, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov edx, dword [rsp + 0x68]
mov dword [r15 + 0x208], edx
mov eax, dword [rsp + 0x6c]
mov dword [r15 + 0x20c], eax
mov ecx, 0xfffffffe
test edx, edx
jne 0x140028aaa
lea edi, [rdx + 1]
xor edx, edx
jmp 0x140028ac2
cmp edx, eax
je 0x140028ab7
mov edi, 0xfffffffd
xor edx, edx
jmp 0x140028ac2
xor edx, edx
mov eax, edx
test edi, edi
cmove eax, ecx
mov edi, eax
cmp dword [r15 + 0x210], 0
je 0x140028ad6
cmp dword [rsp + 0x5c], 0
cmovne ecx, edx
mov edi, ecx
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x140028af4
test edi, edi
je 0x140028af4
and dword [r15 + 0x220], 0xfffffffe
and eax, 1
or dword [r15 + 0x220], eax
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x100]
call fcn.14009a380
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140028b2f
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, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140028b51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
add r13d, 0xffffffff
test r13d, r13d
jg 0x140028b72
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rcx, qword [rsp + 0x2780]
xor rcx, rsp
call fcn.14009af10
mov rbx, qword [rsp + 0x27e0]
add rsp, 0x2790
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret