Function at 0x140007cd0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14006d9f8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r8
mov rbx, rdx
mov r12, rcx
xor r13d, r13d
mov r15b, r13b
lea edi, [r13 + 7]
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x31], r13
mov word [rbp - 0x41], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x41]
call fcn.14000584c
nop
mov qword [rbp - 9], rdi
mov qword [rbp - 0x11], r13
mov word [rbp - 0x21], r13w
lea r8d, [r13 + 1]
lea rdx, [0x14005fcc4]
lea rcx, [rbp - 0x21]
call fcn.140006368
nop
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.1400028bc
nop
lea edi, [r13 + 8]
cmp qword [rbp - 9], rdi
jb 0x140007d77
mov rcx, qword [rbp - 0x21]
call fcn.14003440c
mov r9, rdi
xor r8d, r8d
lea rdx, [0x14005ffe0]
lea rcx, [rbp - 0x41]
call fcn.14000598c
mov esi, 0xe
test rax, rax
je 0x140007db6
mov r9d, esi
xor r8d, r8d
lea rdx, [0x14005fff8]
lea rcx, [rbp - 0x41]
call fcn.14000598c
test rax, rax
jne 0x140008165
mov r15b, 1
mov r9, rsi
xor r8d, r8d
lea rdx, [0x140060018]
lea rcx, [rbp - 0x41]
call fcn.14000598c
test rax, rax
sete sil
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x69]
mov rcx, rbx
test sil, sil
lea r8d, [r9 + 0xf]
jne 0x140007ded
mov r8, rdi
call fcn.140003b84
mov rbx, rax
lea rax, [rbp - 0x41]
cmp rax, rbx
je 0x140007e2a
cmp qword [rbp - 0x29], rdi
jb 0x140007e0d
mov rcx, qword [rbp - 0x41]
call fcn.14003440c
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], r13
mov word [rbp - 0x41], r13w
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.1400057dc
cmp qword [rbp - 0x51], rdi
jb 0x140007e39
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
mov ebx, 7
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x59], r13
mov word [rbp - 0x69], r13w
lea r8d, [rbx - 6]
lea rdx, [0x14005fcf4]
lea rcx, [rbp - 0x69]
call fcn.140006368
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.1400028bc
nop
cmp qword [rbp - 0x51], rdi
jb 0x140007e7d
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov qword [rbp - 9], rbx
mov qword [rbp - 0x11], r13
mov word [rbp - 0x21], r13w
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.140003b84
nop
mov rdx, rax
lea rcx, [0x14005fd24]
call fcn.140006d70
mov bl, al
cmp qword [rbp - 0x51], rdi
jb 0x140007ece
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
lea rcx, [rbp - 0x41]
test bl, bl
je 0x140007f6b
mov eax, 1
mov r9d, eax
mov r8d, eax
lea rdx, [0x14005fd5c]
call fcn.14000598c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000805b
lea r9, [rax - 1]
mov r8d, 1
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.140003b84
mov rdi, rax
lea rax, [rbp - 1]
cmp rax, rdi
je 0x140007f4e
cmp qword [rbp + 0x17], 8
jb 0x140007f31
mov rcx, qword [rbp - 1]
call fcn.14003440c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1400057dc
mov edi, 8
cmp qword [rbp - 0x51], rdi
jb 0x140007f62
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
lea r8, [rbx + 1]
jmp 0x140007ff0
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005fd74]
call fcn.14000598c
mov rbx, rax
xor r8d, r8d
cmp rax, 0xffffffffffffffff
je 0x14000804a
mov r9, rax
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.140003b84
mov rdi, rax
lea rax, [rbp - 1]
cmp rax, rdi
je 0x140007fd9
cmp qword [rbp + 0x17], 8
jb 0x140007fbc
mov rcx, qword [rbp - 1]
call fcn.14003440c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1400057dc
mov edi, 8
cmp qword [rbp - 0x51], rdi
jb 0x140007fed
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
mov r8, rbx
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.140003b84
mov rbx, rax
lea rax, [rbp - 0x21]
cmp rax, rbx
je 0x140008039
cmp qword [rbp - 9], rdi
jb 0x14000801c
mov rcx, qword [rbp - 0x21]
call fcn.14003440c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r13
mov word [rbp - 0x21], r13w
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1400057dc
cmp qword [rbp - 0x51], rdi
jb 0x14000805b
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
jmp 0x14000805b
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 1]
call fcn.14000584c
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r13
mov word [rbp - 0x69], r13w
mov r8d, 1
lea rdx, [0x14005fd84]
lea rcx, [rbp - 0x69]
call fcn.140006368
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 1]
call fcn.1400028bc
nop
cmp qword [rbp - 0x51], rdi
jb 0x1400080a0
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], rdi
cmovae rcx, qword [rbp - 1]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140008117
or dword [r14], 0xffffffff
cmp qword [0x1400716b0], r13
je 0x140008135
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x69]
call fcn.1400026bc
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400080de
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, str._ERROR___d___runas_file__s__failed__not_exist.
mov edx, 1
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x51], 0x10
jb 0x140008135
mov rcx, qword [rbp - 0x69]
call fcn.14003440c
jmp 0x140008135
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
mov r8b, 1
mov dl, sil
mov rcx, r12
call fcn.140008b0c
mov dword [r14], eax
cmp qword [rbp - 9], rdi
jb 0x140008144
mov rcx, qword [rbp - 0x21]
call fcn.14003440c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r13
mov word [rbp - 0x21], r13w
cmp qword [rbp + 0x17], rdi
jb 0x140008165
mov rcx, qword [rbp - 1]
call fcn.14003440c
nop
cmp qword [rbp - 0x29], rdi
jb 0x140008174
mov rcx, qword [rbp - 0x41]
call fcn.14003440c
mov al, r15b
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400326d0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret