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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x19], esi
cmp qword [rcx + 0x10], rsi
je 0x140023406
cmp qword [rcx + 0x18], 8
jb 0x1400231e6
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400233e0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140023202
mov rdx, qword [rdi]
mov qword [rbp + 0x2f], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], si
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], si
jne 0x140023221
lea rcx, [rbp + 0x2f]
call fcn.140008ee0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140023242
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140023251
test al, 0x10
jne 0x14002328b
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140024330
nop
lea rcx, [rbp + 0x2f]
cmp rcx, rax
je 0x140023282
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140023275
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140008ee0
nop
lea rcx, [rbp - 0x11]
call fcn.140008e70
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x11]
call fcn.140022fc0
nop
lea rcx, [rbp + 0x2f]
cmp rcx, rax
je 0x1400232bd
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400232b0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2f]
call fcn.140008ee0
nop
lea rcx, [rbp - 0x11]
call fcn.140008e70
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14015c818]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x11], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140023300
mov r8, rbx
lea rcx, [rbp - 0x11]
call fcn.140008ee0
nop
mov qword [rbp + 0xf], rsi
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov dword [rbp - 0x19], 3
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14001b2c0
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, qword [rbp + 0x1f]
lea rcx, [rbp + 0x2f]
call fcn.140022da0
movzx ebx, al
lea rcx, [rbp + 0xf]
call fcn.140009080
nop
lea rcx, [rbp - 0x11]
call fcn.140008e70
test bl, bl
je 0x1400233d2
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400233d2
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp + 0x2f]
call fcn.140025970
xor r8d, r8d
mov edx, dword [0x14018acc0]
lea rcx, [rbp + 0x2f]
call fcn.140025970
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0x2f]
call fcn.140008e70
movzx eax, bl
jmp 0x140023408
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140024330
nop
mov rcx, rax
call fcn.1400231a0
movzx ebx, al
lea rcx, [rbp - 0x11]
call fcn.140008e70
movzx eax, bl
jmp 0x140023408
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret