Function at 0x14001e110
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 [0x14012e6d8]
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.14009c4e0
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001e1a2
mov ecx, 0x80004005
call fcn.140001610
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x30], rsi
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001e1d0
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 + 0x38], rbp
lea rbx, [fcn.1400011a0]
mov qword [rsp + 0x20], rbx
lea r9, [0x140004b40]
mov edx, 8
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xa0]
call fcn.14009d330
nop
call fcn.140055b68
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14001e228
mov ecx, 0x80004005
call fcn.140001610
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 0x14001e2c8
lea rdx, [rdi - 0x18]
or r15, 0xffffffffffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14001e264
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.14009a380
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 0x14001e2a0
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 0x14001e2c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14001ef04
xor r14d, r14d
xor r12d, r12d
or r15, 0xffffffffffffffff
cmp word [r13], r12w
je 0x14001e46a
nop
mov r8, r13
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.14009cc40
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.14009b820
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 0x14001e389
mov rax, qword [rbx]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], ecx
je 0x14001e40a
cmp dword [rdx + 0x10], ecx
jge 0x14001e35c
cmp dword [rax - 0xc], ecx
jl 0x14001e440
mov dword [rax - 0x10], ecx
mov rax, qword [rbx]
mov word [rax], cx
jmp 0x14001e40a
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001e374
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 0x14001e40a
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 0x14001e3b8
mov edx, edi
mov rcx, rbx
call fcn.140004670
mov rcx, qword [rbx]
cmp rbp, rsi
ja 0x14001e3d8
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rcx + rbp*2]
mov r9, rsi
mov rdx, rsi
call fcn.14009b340
jmp 0x14001e3f2
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x760]
mov rdx, rsi
call fcn.14009b270
test edi, edi
js 0x14001e45f
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14001e45f
mov dword [rax - 0x10], edi
mov rax, qword [rbx]
mov word [rsi + rax], 0
add r14d, 1
add r12, 1
cmp r12, 0xa
jl 0x14001e421
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 0x14001e44b
jmp 0x14001e2e0
mov ecx, 0x80070057
call fcn.140001610
int3
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x80]
jmp 0x14001e46a
mov ecx, 0x80070057
call fcn.140001610
int3
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0xf0]
call fcn.14009c4e0
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.14009ccf0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x14001ee78
movsxd r14, r14d
xor r12d, r12d
call fcn.140055b68
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
je 0x14001ee6d
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 0x14001e543
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14001e653
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006090
mov rbx, qword [rsp + 0x48]
jmp 0x14001e653
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 0x14001e5c4
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001e653
cmp dword [rdx + 0x10], eax
jge 0x14001e58b
cmp dword [rbx - 0xc], eax
jl 0x14001edfb
mov dword [rbx - 0x10], r12d
mov word [rbx], ax
jmp 0x14001e653
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001e5a3
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 0x14001e653
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 0x14001e5f8
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140004670
mov rbx, qword [rsp + 0x48]
cmp r13, r12
ja 0x14001e618
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.14009b340
jmp 0x14001e635
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x11c]
mov rdx, r12
mov rcx, rbx
call fcn.14009b270
test edi, edi
js 0x14001ee62
cmp edi, dword [rbx - 0xc]
jg 0x14001ee62
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 0x14001edb9
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 0x14001edaf
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 0x14001e721
lea rdx, str.ClassGuid
lea rcx, [rsp + 0x550]
call fcn.14009b200
test rax, rax
je 0x14001e721
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 0x14001e721
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.14009b820
lea rdx, str.E2F84CE7_8EFA_411C_AA69_97454CA4CB57
lea rcx, [rsp + 0x550]
call fcn.14009b200
test rax, rax
jne 0x14001e73e
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14001edaf
jmp 0x14001e692
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 0x14001edaf
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 0x14001edaf
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.140003670
test eax, eax
jne 0x14001e7e1
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 0x14001edd5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001edd5
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 0x14001edaf
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 0x14001eaf3
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 1
jbe 0x14001eaf3
mov rcx, r15
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001e8c8
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001e955
cmp dword [rdx + 0x10], eax
jge 0x14001e894
cmp dword [rsi - 0xc], eax
jl 0x14001ee06
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x14001e955
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001e8ac
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 0x14001e955
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 0x14001e8fb
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140004670
mov rsi, qword [rsp + 0x30]
cmp r12, rbx
ja 0x14001e91b
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14009b340
jmp 0x14001e938
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x550]
mov rdx, rbx
mov rcx, rsi
call fcn.14009b270
test edi, edi
js 0x14001ee48
cmp edi, dword [rsi - 0xc]
jg 0x14001ee48
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 0x14001e97b
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140004670
mov rsi, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rsi
call fcn.14009b820
test edi, edi
js 0x14001ee3d
cmp edi, dword [rsi - 0xc]
jg 0x14001ee3d
mov dword [rsi - 0x10], edi
mov word [rsi + rdi*2], 0
lea rcx, [rsi - 0x18]
lea rdi, [rbp - 0x18]
cmp rcx, rdi
je 0x14001ea07
cmp dword [rdi + 0x10], 0
jl 0x14001e9f1
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001e9f1
call fcn.1400046d0
mov rbp, rax
mov eax, r15d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001e9e1
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 0x14001ea07
mov r8d, dword [rsi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400062e0
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 0x14001ea2d
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140004670
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
mov rdi, rbp
lea r11, [rbp + rbx*2]
cmp rbp, r11
jae 0x14001ea84
nop
lea r10, [rcx + 2]
cmp word [rcx], 0x2a
je 0x14001ea7c
mov r8, r10
sub r8, rcx
sar r8, 1
lea r9, [rdi + r8*2]
mov rdx, r12
cmp rdi, r9
je 0x14001ea7c
nop
cmp rdx, r8
jae 0x14001ea7c
movzx eax, word [rcx]
mov word [rdi], ax
add rcx, 2
add rdi, 2
add rdx, 1
cmp rdi, r9
jne 0x14001ea60
mov rcx, r10
cmp r10, r11
jb 0x14001ea40
mov word [rdi], 0
sub rcx, rdi
sar rcx, 1
sub ebx, ecx
js 0x14001ee32
cmp ebx, dword [rbp - 0xc]
jg 0x14001ee32
mov dword [rbp - 0x10], ebx
movsxd rax, ebx
mov word [rbp + rax*2], 0
mov rdi, r12
test r14, r14
jle 0x14001eaf3
nop
nop
nop
mov rdx, rsi
mov rcx, qword [rsp + rdi*8 + 0xa0]
call fcn.14009b200
test rax, rax
jne 0x14001eb10
mov rdx, rbp
mov rcx, qword [rsp + rdi*8 + 0xa0]
call fcn.14009b200
test rax, rax
jne 0x14001eb10
add rdi, 1
cmp rdi, r14
jl 0x14001eac0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x14001edaa
jmp 0x14001e802
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.14009ccf0
lea r8, [rsp + 0x11c]
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.14009ccf0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x98], rdx
call fcn.140055b68
mov rcx, rax
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
je 0x14001ee27
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 0x14001ebcb
movzx edi, cx
mov ecx, edi
call fcn.140055990
test rax, rax
je 0x14001ecdf
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006090
jmp 0x14001ecdf
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 0x14001ec48
lea rdx, [r10 - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001ecdf
cmp dword [rdx + 0x10], eax
jge 0x14001ec19
cmp dword [r10 - 0xc], eax
jl 0x14001ee11
mov dword [r10 - 0x10], r12d
mov rax, qword [rsp + 0x40]
mov word [rax], cx
jmp 0x14001ecdf
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001ec31
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 0x14001ecdf
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 0x14001ec7e
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140004670
mov r10, qword [rsp + 0x40]
cmp rsi, rbx
ja 0x14001ec9e
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [r10 + rsi*2]
mov r9, rbx
mov rdx, rbx
mov rcx, r10
call fcn.14009b340
jmp 0x14001ecbb
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x340]
mov rdx, rbx
mov rcx, r10
call fcn.14009b270
test edi, edi
js 0x14001ee1c
mov rax, qword [rsp + 0x40]
cmp edi, dword [rax - 0xc]
jg 0x14001ee1c
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.1400180b0
mov edi, eax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edx, [r8 + 0x24]
lea rcx, [rsp + 0x340]
call fcn.1400027d0
test eax, eax
je 0x14001ed2d
mov r8d, eax
mov edx, 3
mov rcx, rbx
call fcn.14000cf00
mov rbx, qword [rsp + 0x48]
jmp 0x14001edaf
test edi, edi
je 0x14001ed4a
movsxd rax, dword [rbx + 0x3b1d8]
imul rax, rax, 0x12c8
mov dword [rax + rbx + 0x6c4], 1
lea rdx, [0x1400e9d14]
lea rcx, [rsp + 0x340]
call fcn.14009b200
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 0x14001edaf
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 0x14001edd5
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 0x14001ee53
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
jmp 0x14001e4d6
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80004005
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
int3
mov ecx, 0x80070057
call fcn.140001610
nop
mov rdi, qword [rsp + 0x80]
mov rax, qword [rsp + 0x78]
jmp 0x14001ee78
mov ecx, 0x80070057
call fcn.140001610
nop
mov ecx, 0x80004005
call fcn.140001610
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 0x14001ee9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea r9, [fcn.1400011a0]
mov edx, 8
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xa0]
call fcn.14009a380
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 0x14001eedf
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 0x14001ef00
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.14009af10
mov rbx, qword [rsp + 0x9d0]
add rsp, 0x980
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret