Function at 0x140036b50
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
xor edx, edx
jmp 0x140036b50
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x1401fa990]
lea r14, [rsp + 0x60]
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, 0x108
call fcn.1400d5a00
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400a5640
mov qword [rsp + 0xa8], 0xb
mov al, byte [0x14023df8b]
test al, al
jne 0x140036e1d
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
mov rax, qword [rsi + 8]
mov rdx, rcx
cmovs rdx, rax
test rdx, rdx
je 0x140036cb8
test cl, cl
sets cl
cmp rax, 0x104
setae al
test cl, al
jne 0x140036d97
mov rcx, rsi
mov rdx, rdi
call fcn.1401030c0
movsx rax, byte [rsp + 0x57]
test rax, rax
mov r8, rax
cmovs r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
cmovs rdx, rcx
test r8, r8
je 0x140036d9e
lea r9, [rdx + r8*2]
add r8, r8
mov r10, rdx
movzx r11d, word [r10]
cmp r11d, 0x2a
je 0x140036c66
cmp r11d, 0x3f
je 0x140036c66
add r10, 2
add r8, 0xfffffffffffffffe
jne 0x140036c49
mov r10, r9
cmp r10, r9
sete r8b
sub r10, rdx
cmp r10, 0xfffffffffffffffe
sete bpl
or bpl, r8b
test al, al
jns 0x140036c84
call fcn.140133b2c
test bpl, bpl
je 0x140036db0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140036c99
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140036cec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x140036e02
lea rcx, [rsp + 0x60]
call fcn.1401009d0
mov al, 1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x140036cde
call fcn.1401363f0
int3
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ebp, eax
test bpl, 1
jne 0x140036e4c
test bpl, 0x10
jne 0x140036d16
cmp byte [rsi + 0x17], 0
jns 0x140036d07
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140036cb8
jmp 0x140036ca4
test bl, bl
je 0x140036d80
lea rax, [rsp + 0x42]
mov byte [rax + 0x15], 1
lea rcx, [0x14020a99e]
cmp rdi, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x140036e1b
lea rbx, [rsp + 0x40]
mov dword [rbx], 0x2a
mov rcx, rsi
mov rdx, rbx
mov r8b, 1
call fcn.140036e80
mov edi, eax
cmp byte [rbx + 0x17], 0
js 0x140036e70
test edi, edi
je 0x140036d80
lea rcx, [rsp + 0x60]
call fcn.1401009d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140036cc4
cmp byte [rsi + 0x17], 0
jns 0x140036d89
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140036d10
mov edi, 0xa1
jmp 0x140036d67
test al, al
jns 0x140036c8d
call fcn.140133b2c
jmp 0x140036c8d
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1401030c0
lea r14, [rsp + 0x28]
mov rcx, rsi
mov rdx, r14
call fcn.1401034b0
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.140036e80
mov edi, eax
cmp byte [r14 + 0x17], 0
jns 0x140036df1
mov rcx, qword [rsp + 0x28]
call fcn.140133b2c
cmp byte [rsp + 0x57], 0
jns 0x140036e02
mov rcx, qword [rsp + 0x40]
call fcn.140133b2c
lea rcx, [rsp + 0x60]
call fcn.1401009d0
mov al, 1
test edi, edi
je 0x140036cc4
jmp 0x140036d71
ud2
movzx ecx, al
lea r9, [rsp + 0x28]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xb0]
mov qword [r8], rax
lea rdx, [rsp + 0xa8]
call fcn.1401897d0
jmp 0x140036bdb
mov edx, ebp
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140036e5d
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140036cf8
jmp 0x140036ca4
mov rcx, qword [rsp + 0x40]
call fcn.140133b2c
jmp 0x140036d63