Function at 0x1400238e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov dword [rbp - 0x19], 0
cmp qword [rcx + 0x10], 0
je 0x140023b52
cmp qword [rcx + 0x18], 7
jbe 0x140023924
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140023b2c
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140023940
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140023960
lea rcx, [rbp + 0x2f]
call fcn.14000c0c0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140023982
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140023995
test al, 0x10
je 0x140023995
mov al, 1
jmp 0x140023997
xor al, al
test al, al
jne 0x1400239d5
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1400248f0
nop
lea rcx, [rbp + 0x2f]
cmp rcx, rax
je 0x1400239cc
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400239bf
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.14000a690
nop
lea rcx, [rbp - 0x11]
call fcn.140009810
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x11]
call fcn.140023700
nop
lea rcx, [rbp + 0x2f]
cmp rcx, rax
je 0x140023a07
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400239fa
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.14000a690
nop
lea rcx, [rbp - 0x11]
call fcn.140009810
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x140190230]
test rax, rax
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140023a41
mov r8, rbx
lea rcx, [rbp - 0x11]
call fcn.14000c0c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x14019b870]
movdqu xmmword [rbp + 0x1f], xmm1
mov byte [rbp + 0xf], 0
mov dword [rbp - 0x19], 3
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14001b440
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rdx, qword [rbp + 0xf]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x1f]
lea rcx, [rbp + 0x2f]
call fcn.1400233d0
movzx ebx, al
lea rcx, [rbp + 0xf]
call fcn.140009880
nop
lea rcx, [rbp - 0x11]
call fcn.140009810
test bl, bl
je 0x140023b1e
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140023b1e
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp + 0x2f]
call fcn.140026260
xor r8d, r8d
mov edx, dword [0x1401c73d0]
lea rcx, [rbp + 0x2f]
call fcn.140026260
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0x2f]
call fcn.140009810
movzx eax, bl
jmp 0x140023b54
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1400248f0
nop
mov rcx, rax
call fcn.1400238e0
movzx ebx, al
lea rcx, [rbp - 0x11]
call fcn.140009810
movzx eax, bl
jmp 0x140023b54
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401219d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret