Function at 0x140011740
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140011788
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r12d, r12d
test eax, eax
je 0x1400119e9
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140061fe0
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400117b8
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1400119e9
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400117dd
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140006170
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400119e9
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001180e
mov rdx, qword [rdi]
lea rcx, [r8 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x14001182f
cmp rcx, rdx
je 0x1400119e9
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x140011822
sub rcx, rdx
sar rcx, 1
cmp rcx, rbx
je 0x1400119e9
inc rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x40], 7
cmp r8, rcx
jb 0x140011a6a
sub r8, rcx
cmp r8, rbx
cmovb rbx, r8
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011875
mov rax, qword [rdi]
lea r15, [rax + rcx*2]
cmp rbx, 7
ja 0x1400118ac
mov qword [rsp + 0x38], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rsp + 0x28]
call fcn.140061930
mov word [rsp + rbx + 0x28], r12w
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
jmp 0x140011944
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x140011a70
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x1400118d4
mov rcx, 0xfffffffffffffffe
jmp 0x140011906
mov r14, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140011a76
add rcx, rcx
cmp rcx, 0x1000
jb 0x140011910
call fcn.140005e20
mov rsi, rax
jmp 0x14001191f
test rcx, rcx
je 0x14001191c
call fcn.14000d0e4
jmp 0x14001190b
mov rsi, r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.140061930
mov word [rbx + rsi], r12w
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x140011978
mov rcx, rdi
call fcn.1400062dc
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + 0x10], xmm1
mov r14d, 7
mov word [rsp + 0x28], r12w
mov rsi, qword [rsp + 0x28]
cmp r14, 8
jb 0x1400119b3
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400119ab
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011a5e
mov rcx, rsi
call fcn.14005cb40
mov rax, qword [r13 + 8]
cmp rax, qword [r13 + 0x10]
je 0x1400119da
mov qword [rax], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov rdx, rdi
mov rcx, rax
call fcn.140007abc
add qword [r13 + 8], 0x20
jmp 0x1400119e9
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.140012a04
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140011a24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140011a1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011a64
mov rcx, r8
call fcn.14005cb40
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005ccc0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067514
nop
call fcn.140067514
nop
call fcn.14000f420
int3
call fcn.140005da8
int3
call fcn.140005fc4
int3