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

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x3a8]
sub rsp, 0x498
mov qword [rax + 8], rsi
lea r8, [0x140485e38]
mov qword [rax + 0x10], rdi
mov rdx, rcx
mov rdi, rcx
mov qword [rax + 0x18], r12
lea rcx, [rsp + 0x50]
mov qword [rax - 0x18], r13
call fcn.14027dce0
mov qword [rsp + 0x488], r14
lea r12, vtable.CPathString.0
xor ebx, ebx
mov qword [rsp + 0x480], r15
movabs r13, 0x5c003f005c005c
nop dword [rax]
cmp byte [rsp + 0x50], bl
jne 0x14027ecb2
cmp byte [rsp + 0x51], bl
jne 0x14027ec30
mov byte [rsp + 0x51], 1
mov al, 1
jmp 0x14027ecb4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne sil
test eax, eax
je 0x14027ec6d
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
add rcx, 0x2c
mov r9d, 2
mov r8d, 0x410
call fcn.1402abbf0
test eax, eax
je 0x14027ec90
test sil, sil
je 0x14027ecad
cmp byte [rsp + 0x68], 0x2e
jne 0x14027ec25
movzx eax, byte [rsp + 0x69]
test al, al
je 0x14027ec30
cmp al, 0x2e
jne 0x14027ec25
cmp byte [rsp + 0x6a], bl
je 0x14027ec30
mov al, 1
jmp 0x14027ecb4
lea r8, str.V_UTF16ToUTF8_failed_on_m_pFindData__cFileName_in_CDirIterator
mov edx, 0x12ac
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier1_fileio.cpp
call fcn.14029bf90
test al, al
jne 0x14027ecad
int3
mov byte [rsp + 0x50], 1
xor al, al
test al, al
je 0x14027ef0c
mov r8, rdi
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x38]
call fcn.14027f9a0
mov rax, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
mov ecx, dword [rax]
mov eax, ecx
shr eax, 4
test al, 1
je 0x14027ed6a
shr ecx, 0xa
test cl, 1
mov rcx, r15
je 0x14027ed60
call fcn.1402804f0
mov r8, rbx
mov qword [rsp + 0x20], r12
mov rdx, r15
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
call fcn.14027f9a0
lea rcx, [rsp + 0x20]
call fcn.14027f760
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
test rcx, rcx
je 0x14027ed43
call fcn.14031dc44
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14027eed8
call fcn.14031dc44
mov qword [rsp + 0x28], rbx
jmp 0x14027eed8
call fcn.14027ebb0
jmp 0x14027eed8
mov r8, rbx
mov qword [rsp + 0x20], r12
mov rdx, r15
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
call fcn.14027f9a0
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
test r14, r14
jne 0x14027edff
cmp byte [rsi], 0x5c
jne 0x14027edd7
cmp byte [rsi + 1], 0x5c
jne 0x14027edd7
cmp byte [rsi + 2], 0x3f
jne 0x14027edb9
cmp byte [rsi + 3], 0x5c
jne 0x14027edb9
mov ecx, 0x10006
call fcn.14031dcb4
mov rdx, rax
jmp 0x14027ede8
mov ecx, 0x1000e
call fcn.14031dcb4
movups xmm0, xmmword [str._UNC_]
lea rcx, [rsi + 2]
movups xmmword [rax], xmm0
lea rdx, [rax + 0x10]
jmp 0x14027edeb
mov ecx, 0x10006
call fcn.14031dcb4
mov qword [rax], r13
lea rdx, [rax + 8]
mov rcx, rsi
mov r9d, 6
mov r8d, 0xfffe
mov r14, rax
call fcn.1402abdc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x20], r12
test eax, eax
je 0x14027ee3e
test r14, r14
je 0x14027ee23
mov rcx, r14
call fcn.14031dc44
mov qword [rsp + 0x30], rbx
test rsi, rsi
je 0x14027eed8
mov rcx, rsi
call fcn.14031dc44
mov qword [rsp + 0x28], rbx
jmp 0x14027eed8
test r14, r14
je 0x14027ee50
mov rcx, r14
call fcn.14031dc44
mov qword [rsp + 0x30], rbx
test rsi, rsi
je 0x14027ee62
mov rcx, rsi
call fcn.14031dc44
mov qword [rsp + 0x28], rbx
mov r8, rbx
mov qword [rsp + 0x20], r12
mov rdx, r15
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
call fcn.14027f9a0
lea rcx, [rsp + 0x20]
call fcn.14027f760
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x30]
cmp eax, 0xffffffff
mov qword [rsp + 0x20], r12
setne sil
test rcx, rcx
je 0x14027eeaf
call fcn.14031dc44
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14027eec3
call fcn.14031dc44
mov qword [rsp + 0x28], rbx
test sil, sil
je 0x14027eed8
mov rcx, r15
call fcn.1402804f0
mov rcx, r15
call fcn.140281760
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
test rcx, rcx
je 0x14027eef1
call fcn.14031dc44
mov qword [rsp + 0x48], rbx
test r15, r15
je 0x14027ec10
mov rcx, r15
call fcn.14031dc44
mov qword [rsp + 0x40], rbx
jmp 0x14027ec10
mov rcx, rdi
call fcn.14027eb30
mov rcx, qword [rsp + 0x58]
movzx ebx, al
mov r15, qword [rsp + 0x480]
mov r14, qword [rsp + 0x488]
mov r13, qword [rsp + 0x490]
mov r12, qword [rsp + 0x4c0]
mov rdi, qword [rsp + 0x4b8]
mov rsi, qword [rsp + 0x4b0]
cmp rcx, 0xffffffffffffffff
je 0x14027ef58
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x60]
mov edx, 0x250
call fcn.14031dc44
movzx eax, bl
add rsp, 0x498
pop rbx
pop rbp
ret