Function at 0x14001fad0
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x980
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x9d0], rbx
mov rax, qword [0x140134780]
xor rax, rsp
mov qword [rsp + 0x970], rax
mov r13, rdx
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x70], 0
mov word [rsp + 0x550], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x552]
call fcn.1400a09f0
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001fb62
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x30], rsi
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001fb90
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 rbx, [fcn.1400049c0]
mov qword [rsp + 0x20], rbx
lea r9, [0x140004980]
mov edx, 8
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xa0]
call fcn.1400a2a50
nop
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001fbe8
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x80], rdi
test r13, r13
jne 0x14001fc88
lea rdx, [rdi - 0x18]
or r15, 0xffffffffffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14001fc24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r9, rbx
mov edx, 8
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xa0]
call fcn.1400a29b0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001fc60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
add r15d, 0xffffffff
test r15d, r15d
jg 0x14001fc81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400208c4
xor r14d, r14d
xor r12d, r12d
or r15, 0xffffffffffffffff
cmp word [r13], r12w
je 0x14001fe2a
nop
mov r8, r13
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.1400a1bd0
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.14009fd30
lea rbx, [rsp + r12*8 + 0xa0]
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x760]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001fd49
mov rax, qword [rbx]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], ecx
je 0x14001fdca
cmp dword [rdx + 0x10], ecx
jge 0x14001fd1c
cmp dword [rax - 0xc], ecx
jl 0x14001fe00
mov dword [rax - 0x10], ecx
mov rax, qword [rbx]
mov word [rax], cx
jmp 0x14001fdca
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001fd34
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 [rbx], rax
jmp 0x14001fdca
mov rax, qword [rbx]
mov esi, dword [rax - 0x10]
lea rbp, [rsp + 0x760]
sub rbp, rax
sar rbp, 1
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001fd78
mov edx, edi
mov rcx, rbx
call fcn.140004410
mov rcx, qword [rbx]
cmp rbp, rsi
ja 0x14001fd98
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rcx + rbp*2]
mov r9, rsi
mov rdx, rsi
call fcn.14009f850
jmp 0x14001fdb2
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x760]
mov rdx, rsi
call fcn.14009f640
test edi, edi
js 0x14001fe1f
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14001fe1f
mov dword [rax - 0x10], edi
mov rax, qword [rbx]
mov word [rsi + rax], 0
add r14d, 1
add r12, 1
cmp r12, 0xa
jl 0x14001fde1
mov r14d, 9
mov r12, r14
xor eax, eax
mov rcx, r15
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r13, [r13 + rcx*2]
cmp word [r13], ax
je 0x14001fe0b
jmp 0x14001fca0
mov ecx, 0x80070057
call fcn.140001120
int3
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x80]
jmp 0x14001fe2a
mov ecx, 0x80070057
call fcn.140001120
int3
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0xf0]
call fcn.1400a09f0
mov edx, 0x104
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.infoem.inf
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.1400a1c80
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x140020838
movsxd r14, r14d
xor r12d, r12d
call fcn.14003c3f0
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
je 0x14002082d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x11c]
lea rax, [rsp + 0x11c]
test rax, 0xffffffffffff0000
jne 0x14001ff03
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x140020013
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400060c0
mov rbx, qword [rsp + 0x48]
jmp 0x140020013
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x11c]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001ff84
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140020013
cmp dword [rdx + 0x10], eax
jge 0x14001ff4b
cmp dword [rbx - 0xc], eax
jl 0x1400207bb
mov dword [rbx - 0x10], r12d
mov word [rbx], ax
jmp 0x140020013
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001ff63
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 + 0x30]
mov rbp, qword [rsp + 0x38]
jmp 0x140020013
mov r12d, dword [rbx - 0x10]
lea r13, [rsp + 0x11c]
sub r13, rbx
sar r13, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001ffb8
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004410
mov rbx, qword [rsp + 0x48]
cmp r13, r12
ja 0x14001ffd8
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.14009f850
jmp 0x14001fff5
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x11c]
mov rdx, r12
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x140020822
cmp edi, dword [rbx - 0xc]
jg 0x140020822
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
xor r12d, r12d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140020779
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.Version
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002076f
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x550]
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400200e1
lea rdx, str.ClassGuid
lea rcx, [rsp + 0x550]
call fcn.14009f5d0
test rax, rax
je 0x1400200e1
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x550]
mov edx, 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400200e1
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.14009fd30
lea rdx, str.E2F84CE7_8EFA_411C_AA69_97454CA4CB57
lea rcx, [rsp + 0x550]
call fcn.14009f5d0
test rax, rax
jne 0x1400200fe
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002076f
jmp 0x140020052
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002076f
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x550]
mov edx, 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14002076f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x550]
mov rdx, r13
mov rcx, qword [rsp + 0x88]
call fcn.140003280
test eax, eax
jne 0x1400201a1
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140020795
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140020795
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x550]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14002076f
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x550]
mov edx, 2
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x1400204b3
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 1
jbe 0x1400204b3
mov rcx, r15
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140020288
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140020315
cmp dword [rdx + 0x10], eax
jge 0x140020254
cmp dword [rsi - 0xc], eax
jl 0x1400207c6
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140020315
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002026c
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 + 0x30], rsi
mov rbp, qword [rsp + 0x38]
jmp 0x140020315
mov ebx, dword [rsi - 0x10]
lea r12, [rsp + 0x550]
sub r12, rsi
sar r12, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400202bb
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140004410
mov rsi, qword [rsp + 0x30]
cmp r12, rbx
ja 0x1400202db
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14009f850
jmp 0x1400202f8
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x550]
mov rdx, rbx
mov rcx, rsi
call fcn.14009f640
test edi, edi
js 0x140020808
cmp edi, dword [rsi - 0xc]
jg 0x140020808
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
xor r12d, r12d
movsxd rdi, dword [rsi - 0x10]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002033b
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140004410
mov rsi, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rsi
call fcn.14009fd30
test edi, edi
js 0x1400207fd
cmp edi, dword [rsi - 0xc]
jg 0x1400207fd
mov dword [rsi - 0x10], edi
mov word [rsi + rdi*2], 0
lea rcx, [rsi - 0x18]
lea rdi, [rbp - 0x18]
cmp rcx, rdi
je 0x1400203c7
cmp dword [rdi + 0x10], 0
jl 0x1400203b1
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400203b1
call fcn.140004470
mov rbp, rax
mov eax, r15d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400203a1
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 rsi, qword [rsp + 0x30]
jmp 0x1400203c7
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140006310
mov rbp, qword [rsp + 0x38]
movsxd rbx, dword [rbp - 0x10]
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400203ed
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
mov rdi, rbp
lea r11, [rbp + rbx*2]
cmp rbp, r11
jae 0x140020444
nop
lea r10, [rcx + 2]
cmp word [rcx], 0x2a
je 0x14002043c
mov r8, r10
sub r8, rcx
sar r8, 1
lea r9, [rdi + r8*2]
mov rdx, r12
cmp rdi, r9
je 0x14002043c
nop
cmp rdx, r8
jae 0x14002043c
movzx eax, word [rcx]
mov word [rdi], ax
add rcx, 2
add rdi, 2
add rdx, 1
cmp rdi, r9
jne 0x140020420
mov rcx, r10
cmp r10, r11
jb 0x140020400
mov word [rdi], 0
sub rcx, rdi
sar rcx, 1
sub ebx, ecx
js 0x1400207f2
cmp ebx, dword [rbp - 0xc]
jg 0x1400207f2
mov dword [rbp - 0x10], ebx
movsxd rax, ebx
mov word [rbp + rax*2], 0
mov rdi, r12
test r14, r14
jle 0x1400204b3
nop
nop
nop
mov rdx, rsi
mov rcx, qword [rsp + rdi*8 + 0xa0]
call fcn.14009f5d0
test rax, rax
jne 0x1400204d0
mov rdx, rbp
mov rcx, qword [rsp + rdi*8 + 0xa0]
call fcn.14009f5d0
test rax, rax
jne 0x1400204d0
add rdi, 1
cmp rdi, r14
jl 0x140020480
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14002076a
jmp 0x1400201c2
mov edx, 0x104
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.1400a1c80
lea r8, [rsp + 0x11c]
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.1400a1c80
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x98], rdx
call fcn.14003c3f0
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
je 0x1400207e7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea r10, [rax + 0x18]
mov qword [rsp + 0x40], r10
lea rcx, [rsp + 0x340]
lea rax, [rsp + 0x340]
test rax, 0xffffffffffff0000
jne 0x14002058b
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14002069f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400060c0
jmp 0x14002069f
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x340]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140020608
lea rdx, [r10 - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002069f
cmp dword [rdx + 0x10], eax
jge 0x1400205d9
cmp dword [r10 - 0xc], eax
jl 0x1400207d1
mov dword [r10 - 0x10], r12d
mov rax, qword [rsp + 0x40]
mov word [rax], cx
jmp 0x14002069f
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400205f1
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 + 0x40], rax
jmp 0x14002069f
mov ebx, dword [r10 - 0x10]
lea rsi, [rsp + 0x340]
sub rsi, r10
sar rsi, 1
mov ecx, 1
sub ecx, dword [r10 - 8]
mov eax, dword [r10 - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002063e
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004410
mov r10, qword [rsp + 0x40]
cmp rsi, rbx
ja 0x14002065e
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [r10 + rsi*2]
mov r9, rbx
mov rdx, rbx
mov rcx, r10
call fcn.14009f850
jmp 0x14002067b
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x340]
mov rdx, rbx
mov rcx, r10
call fcn.14009f640
test edi, edi
js 0x1400207dc
mov rax, qword [rsp + 0x40]
cmp edi, dword [rax - 0xc]
jg 0x1400207dc
mov dword [rax - 0x10], edi
mov rax, qword [rsp + 0x40]
mov word [rbx + rax], 0
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call fcn.1400183d0
mov edi, eax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x340]
call fcn.1400022b0
test eax, eax
je 0x1400206ed
mov r8d, eax
mov edx, 3
mov rcx, rbx
call fcn.14000c780
mov rbx, qword [rsp + 0x48]
jmp 0x14002076f
test edi, edi
je 0x14002070a
movsxd rax, dword [rbx + 0x3b0e0]
imul rax, rax, 0x12c8
mov dword [rax + rbx + 0x5cc], 1
lea rdx, [0x1400ee8ac]
lea rcx, [rsp + 0x340]
call fcn.14009f5d0
mov word [rax], 0x2e
mov word [rax + 2], 0x50
mov word [rax + 4], 0x4e
mov word [rax + 6], 0x46
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov edx, 0x80
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x50], edi
mov rbx, qword [rsp + 0x48]
jmp 0x14002076f
mov rbx, qword [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140020795
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140020813
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
jmp 0x14001fe96
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80004005
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
int3
mov ecx, 0x80070057
call fcn.140001120
nop
mov rdi, qword [rsp + 0x80]
mov rax, qword [rsp + 0x78]
jmp 0x140020838
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80004005
call fcn.140001120
int3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002085f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea r9, [fcn.1400049c0]
mov edx, 8
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xa0]
call fcn.1400a29b0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002089f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
add r15d, 0xffffffff
test r15d, r15d
jg 0x1400208c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x970]
xor rcx, rsp
call fcn.1400a1970
mov rbx, qword [rsp + 0x9d0]
add rsp, 0x980
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret