Function at 0x140005bb0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
add rcx, 8
cmp qword [rbx + 0x20], 8
jb 0x140005bf6
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
jne 0x140005c19
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.140003a60
mov rdx, rax
mov rcx, rbx
call fcn.140007d80
mov r8, qword [rbx + 0x68]
xor esi, esi
mov rdx, qword [rbx + 0x60]
mov rax, r8
sub rax, rdx
mov r14d, esi
sar rax, 5
test rax, rax
je 0x140005cc8
mov edi, esi
nop dword [rax + rax]
cmp qword [rdi + rdx + 0x18], 8
lea r8, [rdi + rdx]
jb 0x140005c4f
mov r8, qword [r8]
lea rdx, str.stop___s___ets
lea rcx, [rsp + 0x50]
call fcn.140003b10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
nop
inc r8
cmp word [rax + r8*2], si
jne 0x140005c80
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140003d50
lea rdx, [rsp + 0x28]
call fcn.1400065a0
mov r8, qword [rbx + 0x68]
inc r14d
mov rdx, qword [rbx + 0x60]
mov rcx, r8
sub rcx, rdx
movsxd rax, r14d
sar rcx, 5
add rdi, 0x20
cmp rax, rcx
jb 0x140005c40
sub r8, rdx
mov r14d, esi
sar r8, 5
test r8, r8
je 0x140005d65
mov rdi, rsi
nop
cmp qword [rdi + rdx + 0x18], 8
lea r8, [rdi + rdx]
jb 0x140005cef
mov r8, qword [r8]
lea rdx, str.delete___s_
lea rcx, [rsp + 0x50]
call fcn.140003b10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
nop
inc r8
cmp word [rax + r8*2], si
jne 0x140005d20
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140003d50
lea rdx, [rsp + 0x28]
call fcn.1400065a0
mov rdx, qword [rbx + 0x60]
inc r14d
mov rcx, qword [rbx + 0x68]
add rdi, 0x20
sub rcx, rdx
movsxd rax, r14d
sar rcx, 5
cmp rax, rcx
jb 0x140005ce0
mov rcx, rbx
call fcn.140005e80
mov rax, qword [rbx + 0x50]
mov edi, esi
sub rax, qword [rbx + 0x48]
sar rax, 7
test rax, rax
je 0x140005dc6
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
shl rcx, 7
add rcx, qword [rbx + 0x48]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140003a60
mov rdx, rax
mov rcx, rbx
call fcn.1400068a0
mov rax, qword [rbx + 0x50]
inc edi
sub rax, qword [rbx + 0x48]
sar rax, 7
movsxd rcx, edi
cmp rcx, rax
jb 0x140005d90
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x28]
call fcn.140003a60
mov rdx, rax
call fcn.140008810
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003a60
mov rdx, rax
call fcn.140008810
mov rax, qword [rbx + 0x50]
sub rax, qword [rbx + 0x48]
sar rax, 7
test rax, rax
je 0x140005e48
mov rdi, rsi
nop word [rax + rax]
mov rdx, qword [rbx + 0x48]
mov rcx, rbx
shl rdi, 7
add rdx, rdi
call fcn.140005fc0
mov rdx, qword [rbx + 0x48]
mov rcx, rbx
add rdx, rdi
call fcn.140007860
mov rax, qword [rbx + 0x50]
inc esi
sub rax, qword [rbx + 0x48]
sar rax, 7
movsxd rdi, esi
cmp rdi, rax
jb 0x140005e10
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret