Function at 0x14002ba20
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x900
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x950], rbx
mov rax, qword [0x140134780]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov dword [rsp + 0x50], r8d
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x58], 1
call fcn.14003c3f0
mov rcx, rax
xor r15d, r15d
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14002ba94
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x38], rbp
lea rdx, [0x1400ee798]
mov rsi, rdx
or r13, 0xffffffffffffffff
shr rsi, 0x10
jne 0x14002badd
movzx edi, dx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14002bafe
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400060c0
mov rbp, qword [rsp + 0x38]
jmp 0x14002bafe
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.140006310
mov rbp, qword [rsp + 0x38]
mov dword [rsp + 0x5c], r15d
call fcn.14003c3f0
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14002bb23
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
test rsi, rsi
jne 0x14002bb68
lea rax, [0x1400ee798]
movzx edi, ax
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14002bb96
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400060c0
mov rbx, qword [rsp + 0x40]
or rsi, 0xffffffffffffffff
jmp 0x14002bb9a
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdx, [0x1400ee798]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.140006310
mov rbx, qword [rsp + 0x40]
jmp 0x14002bb9a
or rsi, 0xffffffffffffffff
lea rcx, [0x140136240]
call fcn.1400136e0
mov r8, r12
mov edx, 1
mov rcx, r14
call fcn.14001e420
call fcn.1400026c0
mov r14d, eax
mov dword [rsp + 0x34], eax
test eax, eax
je 0x14002be3d
mov dword [rsp + 0x30], r15d
mov ebp, 1
nop
nop
nop
lea r8, [rsp + 0x30]
mov edx, ebp
lea rcx, [0x140136240]
call fcn.140001cf0
mov r14, rax
test rax, rax
je 0x14002be2e
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002be00
mov dword [rsp + 0x88], SafeArrayDestroyData
mov r13d, r15d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14002bdf7
nop
nop
mov qword [rsp + 0x20], r15
mov r9d, 0x104
lea r8, [rsp + 0x2c0]
lea rdx, [rsp + 0x88]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x2c0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002bcea
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002bd7b
cmp dword [rdx + 0x10], eax
jge 0x14002bcbc
cmp dword [rbx - 0xc], eax
jl 0x14002be18
mov dword [rbx - 0x10], r15d
mov word [rbx], ax
jmp 0x14002bd7b
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002bcd3
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 0x14002bd7b
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x2c0]
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 0x14002bd1d
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004410
mov rbx, qword [rsp + 0x40]
cmp rbp, rsi
ja 0x14002bd3d
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009f850
jmp 0x14002bd5a
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x2c0]
mov rdx, rsi
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x14002be23
cmp edi, dword [rbx - 0xc]
jg 0x14002be23
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
or rsi, 0xffffffffffffffff
lea ebp, [rsi + 2]
mov rdx, qword [r14]
test rdx, rdx
je 0x14002bdd7
cmp dword [rbx - 0x10], 0
jl 0x14002bdd7
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002bdd7
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002bdd7
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, r12
xor ecx, ecx
call fcn.140002690
mov dword [rsp + 0x58], eax
test eax, eax
je 0x14002bdd4
mov dword [r14 + 0xc0], ebp
xor r15d, r15d
jmp 0x14002bdd7
xor r15d, r15d
add r13d, 1
lea r8, [rsp + 0x88]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14002bc50
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp eax, dword [0x1401398f0]
jg 0x14002be2e
jmp 0x14002bbe0
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov rbp, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x34]
jmp 0x14002c0b7
mov r15d, dword [0x1401398f4]
test r15d, r15d
jle 0x14002c0b7
xor ebp, ebp
nop
mov dword [rsp + 0x30], ebp
nop
nop
nop
lea r8, [rsp + 0x30]
mov edx, r15d
lea rcx, [0x140136240]
call fcn.140001cf0
mov r14, rax
test rax, rax
je 0x14002c089
mov r9d, 4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002c072
mov dword [rsp + 0x88], SafeArrayDestroyData
mov r13d, ebp
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14002c069
nop
nop
mov qword [rsp + 0x20], rbp
mov r9d, 0x104
lea r8, [rsp + 0x2c0]
lea rdx, [rsp + 0x88]
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x2c0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002bf69
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002bff9
cmp dword [rdx + 0x10], eax
jge 0x14002bf3b
cmp dword [rbx - 0xc], eax
jl 0x14002c097
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x14002bff9
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002bf52
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 0x14002bff9
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0x2c0]
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 0x14002bf9c
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004410
mov rbx, qword [rsp + 0x40]
cmp rbp, rsi
ja 0x14002bfbc
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14009f850
jmp 0x14002bfd9
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x2c0]
mov rdx, rsi
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x14002c0a2
cmp edi, dword [rbx - 0xc]
jg 0x14002c0a2
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
or rsi, 0xffffffffffffffff
xor ebp, ebp
mov rdx, qword [r14]
test rdx, rdx
je 0x14002c049
cmp dword [rbx - 0x10], 0
jl 0x14002c049
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002c049
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c049
lea r8, [rsp + 0x88]
mov rdx, r12
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov dword [rsp + 0x58], eax
test eax, eax
je 0x14002c049
mov eax, 1
mov dword [r14 + 0xc0], eax
add r13d, 1
lea r8, [rsp + 0x88]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14002bed0
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp eax, dword [0x1401398f0]
jle 0x14002be60
sub r15d, 1
test r15d, r15d
jle 0x14002c0ad
jmp 0x14002be50
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov rbp, qword [rsp + 0x38]
mov r14d, dword [rsp + 0x34]
call fcn.140002740
cmp dword [rsp + 0x50], 0
jne 0x14002c107
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002c0df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14002c0fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x14002cac4
mov edi, dword [0x1401398f4]
mov dword [rsp + 0x34], edi
movsxd rsi, r14d
mov qword [rsp + 0x50], rsi
test edi, edi
jle 0x14002ca7e
or r13, 0xffffffffffffffff
xor r12d, r12d
nop
nop
mov dword [rsp + 0x30], r12d
nop
nop
nop
lea r8, [rsp + 0x30]
mov edx, edi
lea rcx, [0x140136240]
call fcn.140001cf0
mov r15, rax
test rax, rax
je 0x14002ca0a
cmp dword [rax + 0xc0], 0
jne 0x14002c17d
test rsi, rsi
jne 0x14002c17d
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
jmp 0x14002c9f8
xor eax, eax
lea rdi, [0x1400ee798]
mov rsi, qword [r15 + 0xa8]
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14002c19c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14002c9e4
mov rcx, qword [r15 + 0xa8]
cmp dword [rcx - 0x10], 0
jl 0x14002c9e4
lea rdx, [0x1400f1308]
call fcn.14009f5d0
test rax, rax
je 0x14002c9e4
sub rax, qword [r15 + 0xa8]
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c9e4
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1400a1c80
mov r8, qword [r15 + 0xa8]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1400a1c80
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x78], rdx
call fcn.14003c3f0
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
je 0x14002ca73
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0xb0]
lea r14, [rsp + 0xb0]
shr r14, 0x10
mov qword [rsp + 0x70], r14
jne 0x14002c29c
movzx edi, ax
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14002c3b9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400060c0
jmp 0x14002c3b9
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14002c323
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002c3b9
cmp dword [rdx + 0x10], eax
jge 0x14002c2ea
cmp dword [rsi - 0xc], eax
jl 0x14002ca1a
mov dword [rsi - 0x10], r12d
mov rax, qword [rsp + 0x48]
mov word [rax], cx
jmp 0x14002c3b9
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002c302
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 + 0x38]
mov rbx, qword [rsp + 0x40]
jmp 0x14002c3b9
mov r12d, dword [rsi - 0x10]
lea r13, [rsp + 0xb0]
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 0x14002c357
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004410
mov rsi, qword [rsp + 0x48]
cmp r13, r12
ja 0x14002c377
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.14009f850
jmp 0x14002c394
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xb0]
mov rdx, r12
mov rcx, rsi
call fcn.14009f640
test edi, edi
js 0x14002ca68
mov rax, qword [rsp + 0x48]
cmp edi, dword [rax - 0xc]
jg 0x14002ca68
mov dword [rax - 0x10], edi
mov rax, qword [rsp + 0x48]
mov word [r12 + rax], 0
lea rcx, [rsp + 0x48]
call fcn.1400059b0
test eax, eax
jne 0x14002c3e4
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
or r13, 0xffffffffffffffff
jmp 0x14002c9f8
mov r8, qword [r15 + 0xa8]
mov edx, 0x104
lea rcx, [rsp + 0x4d0]
call fcn.1400a1bd0
lea rdx, [rsp + 0x4d0]
mov rcx, qword [rsp + 0x68]
call fcn.140017430
cmp eax, 1
jle 0x14002c431
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
or r13, 0xffffffffffffffff
jmp 0x14002c9f8
mov r12, qword [r15 + 0xb0]
lea rsi, [r12 - 0x18]
lea rdi, [rbp - 0x18]
cmp rsi, rdi
je 0x14002c5e2
cmp dword [rdi + 0x10], 0
jl 0x14002c4e9
mov rcx, qword [rsi]
cmp rcx, qword [rdi]
jne 0x14002c4e9
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rsi + 0x10], 0
jl 0x14002c47e
cmp rax, qword [rsi]
jne 0x14002c47e
mov rbp, rsi
lock add dword [rsi + 0x10], 1
jmp 0x14002c4bb
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi + 8]
call qword [rax]
mov rbp, rax
test rax, rax
je 0x14002ca25
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rsi + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.14009f640
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002c4d6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbp, 0x18
mov qword [rsp + 0x38], rbp
mov rbx, qword [rsp + 0x40]
jmp 0x14002c5e2
movsxd rsi, dword [r12 - 0x10]
test esi, esi
jne 0x14002c558
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x14002c5e2
cmp dword [rdi + 0x10], 0
jge 0x14002c521
cmp dword [rbp - 0xc], 0
jl 0x14002ca2b
mov dword [rbp - 0x10], 0
mov word [rbp], 0
jmp 0x14002c5e2
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002c53c
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x38], rbp
mov rbx, qword [rsp + 0x40]
jmp 0x14002c5e2
test r12, r12
je 0x14002ca41
mov r14d, dword [rbp - 0x10]
mov r13, r12
sub r13, rbp
sar r13, 1
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, ecx
jge 0x14002c590
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rbp, qword [rsp + 0x38]
cmp r13, r14
ja 0x14002c5ae
lea rdi, [rsi + rsi]
lea r8, [rbp + r13*2]
mov r9, rdi
mov rdx, rdi
mov rcx, rbp
call fcn.14009f850
jmp 0x14002c5c3
lea rdi, [rsi + rsi]
mov r9, rdi
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.14009f640
test esi, esi
js 0x14002ca36
cmp esi, dword [rbp - 0xc]
jg 0x14002ca36
mov dword [rbp - 0x10], esi
mov word [rdi + rbp], 0
mov r14, qword [rsp + 0x70]
movsxd rdi, dword [rbp - 0x10]
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002c608
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rbp, qword [rsp + 0x38]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbp
call fcn.14009fd30
test edi, edi
js 0x14002ca5d
cmp edi, dword [rbp - 0xc]
jg 0x14002ca5d
mov dword [rbp - 0x10], edi
mov word [rbp + rdi*2], 0
cmp dword [rbp - 0x10], 0
jl 0x14002c673
lea rdx, str.MICROSOFT
mov rcx, rbp
call fcn.14009f5d0
test rax, rax
je 0x14002c673
sub rax, rbp
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c673
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
or r13, 0xffffffffffffffff
jmp 0x14002c9f8
mov rcx, qword [r15]
cmp dword [rcx - 0x10], 0
jl 0x14002c6b5
lea rdx, str.FUNC_01VEN_8086DEV
call fcn.14009f5d0
test rax, rax
je 0x14002c6b5
sub rax, qword [r15]
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c6b5
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
or r13, 0xffffffffffffffff
jmp 0x14002c9f8
xor r12d, r12d
mov rdx, qword [r15]
lea rdi, [rdx - 0x18]
lea rsi, [rbx - 0x18]
cmp rdi, rsi
je 0x14002c785
cmp dword [rsi + 0x10], r12d
jl 0x14002c76c
mov rcx, qword [rdi]
cmp rcx, qword [rsi]
jne 0x14002c76c
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], r12d
jl 0x14002c700
cmp rax, qword [rdi]
jne 0x14002c700
mov rbx, rdi
lock add dword [rdi + 0x10], 1
jmp 0x14002c73d
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x14002ca4c
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.14009f640
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rsi + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14002c75c
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov rbp, qword [rsp + 0x38]
jmp 0x14002c789
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140006310
mov rbx, qword [rsp + 0x40]
or r13, 0xffffffffffffffff
jmp 0x14002c789
or r13, 0xffffffffffffffff
cmp dword [rbx - 0x10], r12d
jl 0x14002c800
lea rdx, str.SWDDRIVERENUM
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002c800
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c800
cmp dword [rbx - 0x10], r12d
jl 0x14002c7d3
lea rdx, str.REALTEKSRV
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002c7d3
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002c7f8
cmp dword [rbx - 0x10], r12d
jl 0x14002c800
lea rdx, str.RTKAUDIOSRV
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002c800
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c800
mov r12d, 1
jmp 0x14002c835
cmp dword [rbx - 0x10], r12d
jl 0x14002c835
lea rdx, str.SWDDRIVERENUM
mov rcx, rbx
call fcn.14009f5d0
test rax, rax
je 0x14002c835
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14002c835
test byte [0x14013a788], 2
mov eax, 1
cmovne r12d, eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
call fcn.14003c3f0
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14002ca52
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xb0]
test r14, r14
jne 0x14002c894
movzx edi, ax
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14002c8be
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400060c0
jmp 0x14002c8be
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.140006310
nop
lea rdx, [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400183d0
test eax, eax
je 0x14002c8f0
movsxd rcx, dword [rdi + 0x3b0e0]
imul rcx, rcx, 0x12c8
mov eax, dword [r15 + 0xc0]
mov dword [rcx + rdi + 0x5cc], eax
test r12d, r12d
je 0x14002c91e
lea r8, [rsp + 0x6e0]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call fcn.140005380
test eax, eax
je 0x14002c91e
lea rcx, [rsp + 0x6e0]
call fcn.140002d50
cmp dword [0x140139918], 0
jne 0x14002c94b
cmp dword [0x14013991c], 0
jne 0x14002c94b
cmp dword [0x140139920], 0
jne 0x14002c94b
cmp dword [0x140139924], 0
jne 0x14002c94b
cmp dword [0x140139928], 0
je 0x14002c9c3
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0xb0]
call fcn.1400022b0
test eax, eax
je 0x14002c977
mov r8d, eax
xor edx, edx
mov rcx, rdi
call fcn.14000c780
jmp 0x14002c9c3
lea rdx, [0x1400ee8ac]
lea rcx, [rsp + 0xb0]
call fcn.14009f5d0
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov edx, 0x80
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, r15
mov rcx, rdi
call fcn.1400209e0
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
jmp 0x14002c9f8
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x50]
cmp eax, dword [0x1401398f0]
mov r12d, 0
jle 0x14002c140
sub edi, 1
mov dword [rsp + 0x34], edi
test edi, edi
jle 0x14002ca82
jmp 0x14002c130
mov ecx, 0x80070057
call fcn.140001120
nop
call fcn.140002f80
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
call fcn.140002f80
int3
mov ecx, 0x80004005
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80004005
call fcn.140001120
int3
or r13, 0xffffffffffffffff
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002ca9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
add r13d, 0xffffffff
test r13d, r13d
jg 0x14002cac0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.1400a1970
mov rbx, qword [rsp + 0x950]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret