Function at 0x1400230f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x348], rbx
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
movsxd rbx, r9d
mov rsi, r8
mov qword [rsp + 0x60], r8
mov qword [rbp - 0x78], rdx
mov r14, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x28], r8
xor r8d, r8d
lea rdx, str.Tool_DeleteINFSub
lea rcx, [rbp - 0x68]
call fcn.14000b870
nop
mov dword [rsp + 0x20], ebx
mov r9, qword [rsi]
lea r8, str.cstPath___s__MaxCount___d
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.14000ba50
lea rcx, [rbp - 0x58]
call fcn.14004f524
nop
call fcn.14004cde4
mov rdx, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400231a4
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x1402145dc]
test rdx, 0xffffffffffff0000
jne 0x1400231e7
movzx edi, dx
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x1400231f5
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400012a0
jmp 0x1400231f5
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.1400014d0
nop
call fcn.140050920
mov rcx, qword [rax + 8]
mov r15d, r12d
mov dword [rsp + 0x3c], r12d
mov qword [rsp + 0x58], r12
movsxd rax, dword [rcx + 0x258]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x78], rbx
or r13, 0xffffffffffffffff
test ebx, ebx
jle 0x14002394e
nop word [rax + rax]
xor eax, eax
mov dword [rsp + 0x38], eax
mov rdi, qword [rsi]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14002325c
cmp rax, qword [rdi - 0x18]
jne 0x14002325c
lea rsi, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x140023297
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140023948
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.14018e7d0
add rsi, 0x18
mov qword [rsp + 0x40], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.140193010
test r12, r12
js 0x140023942
cmp r12, qword [r14 + 0x40]
jge 0x140023942
mov rax, qword [r14 + 0x38]
mov rdi, qword [rax + r12*8]
lea rcx, [r14 + 0xb0]
lea rdx, [rdi + 0xf0]
mov r8d, 0x230
call fcn.14018eca0
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.14004f634
lea rdx, [rdi + 0x28]
lea rcx, [rbp - 0x58]
call fcn.14004fa54
mov dword [rsp + 0x50], 1
lea r8, [rbp - 0x20]
mov edx, r15d
mov rcx, r14
call fcn.14004c230
call fcn.14004cde4
xor r14d, r14d
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x140023937
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rcx, [rbp - 0x20]
lea rax, [rbp - 0x20]
test rax, 0xffffffffffff0000
jne 0x14002337f
movzx edi, cx
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x14002346a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400012a0
mov rbx, qword [rsp + 0x48]
jmp 0x14002346a
xor eax, eax
mov rcx, r13
lea rdi, [rbp - 0x20]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400233f3
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14002346a
cmp dword [rdx + 0x10], eax
jge 0x1400233c3
cmp dword [rbx - 0xc], eax
jl 0x14002389c
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14002346a
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400233da
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 + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov rsi, qword [rsp + 0x40]
jmp 0x14002346a
mov r13d, dword [rbx - 0x10]
lea r12, [rbp - 0x20]
sub r12, rbx
sar r12, 1
test ecx, ecx
js 0x14002392c
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002342b
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.1400015c0
mov rbx, qword [rsp + 0x48]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x14002344f
lea r8, [rbx + r12*2]
call fcn.14018e5f0
jmp 0x140023458
lea r8, [rbp - 0x20]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x140023921
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], r14w
movsxd rcx, dword [rbx - 0x10]
mov r15, rbx
mov r12, rbx
sub r12, rsi
sar r12, 1
mov r13d, dword [rsi - 0x10]
mov eax, r14d
test ecx, ecx
setns al
test eax, eax
je 0x140023916
mov rdx, rcx
mov rcx, rbx
call fcn.14018f24c
mov r14, rax
mov ecx, 0x7fffffff
sub ecx, eax
xor eax, eax
mov edx, eax
cmp ecx, r13d
setge dl
test edx, edx
je 0x14002390b
lea edi, [r13 + r14]
test edi, edi
js 0x140023900
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400234e4
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.1400015c0
mov rsi, qword [rsp + 0x40]
cmp r12, r13
ja 0x1400234ed
lea r15, [rsi + r12*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rsi + r13*2]
mov r9, rdx
mov r8, r15
call fcn.14018e7d0
cmp edi, dword [rsi - 0xc]
jg 0x1400238f5
mov dword [rsi - 0x10], edi
movsxd rax, edi
xor r15d, r15d
mov word [rsi + rax*2], r15w
lea rdx, [rbx - 0x18]
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140023538
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [rsi - 0x10]
add r8d, 0xfffffffd
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140016750
nop
lea r8, [0x140215168]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140006ef0
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
mov rdi, qword [rsp + 0x30]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x1400236a6
cmp dword [rbx + 0x10], 0
jl 0x1400235bb
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400235bb
call fcn.140001620
mov rdi, rax
mov ecx, r13d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400235ad
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 + 0x30], rax
jmp 0x1400236a6
movsxd r12, dword [r14 - 0x10]
test r12d, r12d
jne 0x140023620
mov r12, qword [rbx]
cmp dword [rbx + 8], 0
je 0x1400236a6
cmp dword [rbx + 0x10], 0
jge 0x1400235ee
cmp dword [rdi - 0xc], 0
jl 0x1400238a7
mov dword [rdi - 0x10], r15d
mov word [rdi], r15w
jmp 0x1400236a6
mov eax, r13d
lock xadd dword [rbx + 0x10], eax
dec eax
test eax, eax
jg 0x140023608
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x1400236a6
test r14, r14
je 0x1400238c8
mov r15d, dword [rdi - 0x10]
mov r13, r14
sub r13, rdi
sar r13, 1
test r12d, r12d
js 0x1400238bd
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, r12d
or eax, ecx
jge 0x140023663
mov edx, r12d
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rdi, qword [rsp + 0x30]
lea rbx, [r12 + r12]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r13, r15
ja 0x140023684
lea r8, [rdi + r13*2]
call fcn.14018e5f0
jmp 0x14002368c
mov r8, r14
call fcn.14018e7d0
cmp r12d, dword [rdi - 0xc]
jg 0x1400238b2
mov dword [rdi - 0x10], r12d
xor r15d, r15d
mov word [rbx + rdi], r15w
or r13, 0xffffffffffffffff
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400236c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400236e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r11d, r15d
mov r8, r15
mov r9, qword [rbp - 0x48]
test r9, r9
jle 0x1400237a5
mov r10, qword [rbp - 0x50]
mov r12, qword [rbp - 0x70]
mov rdi, r15
test r12, r12
jle 0x140023793
nop dword [rax]
test r8, r8
js 0x1400238e4
cmp r8, r9
jge 0x1400238e4
test rdi, rdi
js 0x1400238de
mov rax, qword [rbp - 0x78]
cmp rdi, qword [rax + 0x10]
jge 0x1400238de
mov rcx, qword [rax + 8]
mov rdx, qword [r10 + r8*8]
mov eax, r15d
test rdx, rdx
setne al
test eax, eax
je 0x1400238d3
mov rax, qword [rcx + rdi*8]
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140023777
add rax, 2
test cx, cx
jne 0x140023760
mov eax, r15d
jmp 0x14002377c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14002378f
inc rdi
cmp rdi, r12
jl 0x140023710
jmp 0x140023793
inc dword [rsp + 0x38]
inc r11d
inc r8
movsxd rax, r11d
cmp rax, r9
jl 0x140023701
movsxd rax, dword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
cmp rax, r9
jne 0x1400237f8
lea rcx, [rbp - 0x20]
call fcn.1400239f0
test eax, eax
jne 0x1400237f8
lea edx, [rax + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.14000cc50
cmp eax, 0xa
je 0x1400237f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r14d, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400237fd
mov r14d, 1
jmp 0x1400237fd
mov r14d, dword [rsp + 0x50]
lea rdx, [rdi - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002384d
cmp dword [rdx + 0x10], 0
jge 0x140023824
cmp dword [rsi - 0xc], 0
jl 0x1400238ea
mov dword [rsi - 0x10], r15d
mov word [rdi], r15w
jmp 0x14002384d
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002383b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
lea rdx, [rdi - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140023868
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r15d, dword [rsp + 0x3c]
inc r15d
mov dword [rsp + 0x3c], r15d
mov r12, qword [rsp + 0x58]
inc r12
mov qword [rsp + 0x58], r12
mov rsi, qword [rsp + 0x60]
cmp r12, qword [rsp + 0x78]
jge 0x140023953
mov r14, qword [rsp + 0x70]
jmp 0x140023230
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80004005
call fcn.140001000
int3
call fcn.14004d690
int3
call fcn.14004d690
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80004005
call fcn.140001000
int3
call fcn.14004d690
nop
call fcn.1400016b0
int3
mov r14d, dword [rsp + 0x3c]
mov r9d, r14d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002398d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x58]
call fcn.14004f9c0
nop
lea rcx, [rbp - 0x68]
call fcn.14000ba00
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400239bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14018e5d0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret