Function at 0x140031100
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoDeleteFile
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0xfc
call fcn.140120f60
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
call fcn.140121610
movzx eax, byte [rsi + 0x17]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rsi + 8]
cmovs rdx, rcx
test rdx, rdx
je 0x140031258
test al, al
jns 0x1400311b1
cmp rcx, 0x103
ja 0x14003138f
mov rcx, rsi
mov rdx, rdi
call fcn.14014b340
movzx eax, byte [rsp + 0x57]
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmovs rdi, rcx
test rdx, rdx
je 0x140031311
lea r8, [rdi + rdx*2]
add rdx, rdx
mov r9, rdi
movzx r10d, word [r9]
cmp r10d, 0x2a
je 0x140031207
cmp r10d, 0x3f
je 0x140031207
add r9, 2
add rdx, 0xfffffffffffffffe
jne 0x1400311ea
mov r9, r8
cmp r9, r8
sete dl
sub r9, rdi
cmp r9, 0xfffffffffffffffe
sete dil
or dil, dl
test al, al
jns 0x140031224
call fcn.14017b254
test dil, dil
je 0x140031323
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140031239
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140031284
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140031375
lea rcx, [rsp + 0x60]
call fcn.140120f80
mov sil, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
test dil, 1
jne 0x140031399
test dil, 0x10
jne 0x1400312ae
cmp byte [rsi + 0x17], 0
jns 0x14003129f
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140031258
jmp 0x140031244
test bl, bl
je 0x1400312fd
lea rdx, [0x140275976]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401bc8c0
mov rcx, rsi
mov rdx, rbx
mov r8b, 1
call fcn.1400313d0
mov edi, eax
cmp byte [rbx + 0x17], 0
js 0x1400313bd
test edi, edi
je 0x1400312fd
lea rcx, [rsp + 0x60]
call fcn.140120f80
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x140031265
cmp byte [rsi + 0x17], 0
jns 0x140031306
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400312a8
test al, al
jns 0x14003122d
call fcn.14017b254
jmp 0x14003122d
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.14014b340
lea r14, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
call fcn.14014ae20
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.1400313d0
mov edi, eax
cmp byte [r14 + 0x17], 0
jns 0x140031364
mov rcx, qword [rsp + 0x28]
call fcn.14017b254
cmp byte [rsp + 0x57], 0
jns 0x140031375
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
lea rcx, [rsp + 0x60]
call fcn.140120f80
mov sil, 1
test edi, edi
je 0x140031265
jmp 0x1400312ee
mov edi, 0xa1
jmp 0x1400312e4
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400313aa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140031290
jmp 0x140031244
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
jmp 0x1400312e0