Function at 0x14000ef20
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.140007b20
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000efe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, 0xfffffffd
je 0x14000efe7
lea edx, [rdi + 0x5c]
lea rcx, str.C:_btvsts3480private_softgrid_sharedinclude_shared_file_utils.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14000efb8
inc rax
jmp 0x14000efbf
lea rax, str.C:_btvsts3480private_softgrid_sharedinclude_shared_file_utils.hpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
shl rax, 0x34
or rbx, rax
movabs rax, 0x112500000000
or rbx, rax
jmp 0x14000f100
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14000ed60
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x14000f02e
cmp qword [rbp - 0x30], 8
jb 0x14000f011
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140007a90
nop
cmp qword [rbp - 0x10], 8
jb 0x14000f03f
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
cmp qword [rbp - 0x38], 0
je 0x14000f0f6
nop word [rax + rax]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14000f083
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x14000f0f6
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14000ed60
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x14000f0ca
cmp qword [rbp - 0x30], 8
jb 0x14000f0ad
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140007a90
nop
cmp qword [rbp - 0x10], 8
jb 0x14000f0db
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
cmp qword [rbp - 0x38], 0
jne 0x14000f060
movabs rbx, 0x8000000000
cmp qword [rbp - 0x30], 8
jb 0x14000f111
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f5ff0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret