Function at 0x14001efd0
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, 0x720
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x770], rbx
mov rax, qword [0x140134780]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov edi, 1
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x60], 0
mov word [rsp + 0x2f0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2f2]
call fcn.1400a09f0
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001f063
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 + 0x38], rsi
call fcn.14003c3f0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001f091
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 + 0x30], rbp
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0xa0]
call fcn.1400a09f0
mov edx, 0x104
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.infoem.inf
mov edx, 0x104
lea rcx, [rsp + 0x500]
call fcn.1400a1c80
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x80], rax
or r14, 0xffffffffffffffff
cmp rax, r14
je 0x14001f9af
xor edi, edi
nop
call fcn.14003c3f0
mov rcx, rax
mov eax, edi
test rcx, rcx
setne al
test eax, eax
je 0x14001f9a4
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0xcc]
lea rax, [rsp + 0xcc]
test rax, 0xffffffffffff0000
jne 0x14001f17e
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14001f29b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400060c0
mov rbx, qword [rsp + 0x40]
xor edi, edi
jmp 0x14001f29d
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0xcc]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001f202
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001f297
cmp dword [rdx + 0x10], eax
jge 0x14001f1c7
cmp dword [rbx - 0xc], eax
jl 0x14001f944
xor edi, edi
mov dword [rbx - 0x10], edi
mov word [rbx], ax
jmp 0x14001f29d
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f1df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
xor edi, edi
jmp 0x14001f29d
mov r12d, dword [rbx - 0x10]
lea r13, [rsp + 0xcc]
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 0x14001f236
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004410
mov rbx, qword [rsp + 0x40]
cmp r13, r12
ja 0x14001f256
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 0x14001f273
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xcc]
mov rdx, r12
mov rcx, rbx
call fcn.14009f640
test edi, edi
js 0x14001f999
cmp edi, dword [rbx - 0xc]
jg 0x14001f999
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
mov r12, qword [rsp + 0x50]
xor edi, edi
jmp 0x14001f29d
xor edi, edi
jmp 0x14001f29d
xor edi, edi
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 0x14001f8ef
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Version
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14001f8e5
nop
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0x2f0]
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14001f36f
lea rdx, str.ClassGuid
lea rcx, [rsp + 0x2f0]
call fcn.14009f5d0
test rax, rax
je 0x14001f36f
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0x2f0]
mov edx, 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14001f36f
mov edx, 0x104
lea rcx, [rsp + 0x2f0]
call fcn.14009fd30
lea rdx, str.E2F84CE7_8EFA_411C_AA69_97454CA4CB57
lea rcx, [rsp + 0x2f0]
call fcn.14009f5d0
test rax, rax
jne 0x14001f38c
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14001f8e5
jmp 0x14001f2e0
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Manufacturer
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14001f8e5
mov qword [rsp + 0x20], rdi
mov r9d, 0x104
lea r8, [rsp + 0x2f0]
mov edx, 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14001f8e5
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x2f0]
mov rdx, r13
mov rcx, r12
call fcn.140003280
test eax, eax
jne 0x14001f42a
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f91b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001f91b
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [rsp + 0x2f0]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
je 0x14001f8e5
xor r12d, r12d
nop
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x2f0]
mov edx, 2
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x14001f71d
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x2f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 1
jbe 0x14001f71d
mov rcx, r14
lea rdi, [rsp + 0x2f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001f516
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001f5a3
cmp dword [rdx + 0x10], eax
jge 0x14001f4e2
cmp dword [rsi - 0xc], eax
jl 0x14001f94f
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x14001f5a3
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f4fa
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 + 0x38], rsi
mov rbp, qword [rsp + 0x30]
jmp 0x14001f5a3
mov ebx, dword [rsi - 0x10]
lea r12, [rsp + 0x2f0]
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 0x14001f549
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rsi, qword [rsp + 0x38]
cmp r12, rbx
ja 0x14001f569
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 0x14001f586
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x2f0]
mov rdx, rbx
mov rcx, rsi
call fcn.14009f640
test edi, edi
js 0x14001f97b
cmp edi, dword [rsi - 0xc]
jg 0x14001f97b
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 0x14001f5c9
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140004410
mov rsi, qword [rsp + 0x38]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rsi
call fcn.14009fd30
test edi, edi
js 0x14001f970
cmp edi, dword [rsi - 0xc]
jg 0x14001f970
mov dword [rsi - 0x10], edi
mov word [rsi + rdi*2], 0
lea rcx, [rsi - 0x18]
lea rdi, [rbp - 0x18]
cmp rcx, rdi
je 0x14001f655
cmp dword [rdi + 0x10], 0
jl 0x14001f63f
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001f63f
call fcn.140004470
mov rbp, rax
mov eax, r14d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f62f
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbp, 0x18
mov qword [rsp + 0x30], rbp
mov rsi, qword [rsp + 0x38]
jmp 0x14001f655
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140006310
mov rbp, qword [rsp + 0x30]
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 0x14001f67b
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140004410
mov rbp, qword [rsp + 0x30]
mov rcx, rbp
mov rdi, rbp
lea r11, [rbp + rbx*2]
cmp rbp, r11
jae 0x14001f6d4
nop
nop
lea r10, [rcx + 2]
cmp word [rcx], 0x2a
je 0x14001f6cc
mov r8, r10
sub r8, rcx
sar r8, 1
lea r9, [rdi + r8*2]
mov rdx, r12
cmp rdi, r9
je 0x14001f6cc
nop
cmp rdx, r8
jae 0x14001f6cc
movzx eax, word [rcx]
mov word [rdi], ax
add rcx, 2
add rdi, 2
add rdx, 1
cmp rdi, r9
jne 0x14001f6b0
mov rcx, r10
cmp r10, r11
jb 0x14001f690
mov word [rdi], 0
sub rcx, rdi
sar rcx, 1
sub ebx, ecx
js 0x14001f965
cmp ebx, dword [rbp - 0xc]
jg 0x14001f965
mov dword [rbp - 0x10], ebx
movsxd rax, ebx
mov word [rbp + rax*2], 0
mov rdx, rsi
mov rcx, r15
call fcn.14009f5d0
test rax, rax
jne 0x14001f73a
mov rdx, rbp
mov rcx, r15
call fcn.14009f5d0
test rax, rax
jne 0x14001f73a
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14001f8e0
jmp 0x14001f450
mov edx, 0x104
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, str.inf_
mov edx, 0x104
lea rcx, [rsp + 0x500]
call fcn.1400a1c80
lea r8, [rsp + 0xcc]
mov edx, 0x104
lea rcx, [rsp + 0x500]
call fcn.1400a1c80
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x88], rdx
call fcn.14003c3f0
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
je 0x14001f95a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x500]
lea rax, [rsp + 0x500]
test rax, 0xffffffffffff0000
jne 0x14001f7ee
movzx edi, cx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14001f818
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400060c0
jmp 0x14001f818
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x500]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0x58]
call fcn.140006310
nop
lea rdx, [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400183d0
mov edi, eax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x500]
call fcn.1400022b0
test eax, eax
je 0x14001f863
mov r8d, eax
mov edx, 3
mov rcx, rbx
call fcn.14000c780
mov rbx, qword [rsp + 0x40]
jmp 0x14001f8e5
test edi, edi
je 0x14001f880
movsxd rax, dword [rbx + 0x3b0e0]
imul rax, rax, 0x12c8
mov dword [rax + rbx + 0x5cc], 1
lea rdx, [0x1400ee8ac]
lea rcx, [rsp + 0x500]
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 + 0x500]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x48], edi
mov rbx, qword [rsp + 0x40]
jmp 0x14001f8e5
mov rbx, qword [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f914
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12, qword [rsp + 0x50]
xor edi, edi
jmp 0x14001f91b
mov r12, qword [rsp + 0x50]
xor edi, edi
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001f986
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
jmp 0x14001f110
mov ecx, 0x80070057
call fcn.140001120
nop
mov ecx, 0x80070057
call fcn.140001120
int3
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 rbp, qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
mov edi, dword [rsp + 0x48]
jmp 0x14001f9af
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, [rbp - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f9d6
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], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14001f9f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.1400a1970
mov rbx, qword [rsp + 0x770]
add rsp, 0x720
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret