Function at 0x180011a50
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
cmp qword [rcx + 0x120], 0
ja 0x180011b0e
lea rcx, [rsp + 0x58]
call fcn.18003aa80
mov rdx, rax
lea rcx, [rdi + 0x110]
call fcn.1800107b0
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x180011b0e
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x180011b09
test cl, 0x1f
je 0x180011adc
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180011aeb
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180011afa
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x180011b06
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
cmp qword [rdi + 0x140], 0
ja 0x180011b89
lea rcx, [rsp + 0x58]
call fcn.18003a860
mov rdx, rax
lea rcx, [rdi + 0x130]
call fcn.1800107b0
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x180011b89
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x180011b84
test cl, 0x1f
je 0x180011b57
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180011b66
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180011b75
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x180011b81
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
lea rcx, [rbp - 0x60]
call fcn.18003c2e0
nop
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.18003c9e0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180011bba
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180003e80
mov qword [rbp - 0x48], 7
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
mov bl, 1
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800116b0
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
movzx r12d, bl
test eax, eax
cmove r12d, r13d
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], r13
mov byte [rbp + 8], r13b
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011cdb
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037c70
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18003c9e0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1800107b0
mov rax, qword [rbp - 0x48]
cmp rax, 0x10
jb 0x180011cae
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x180011ca9
test cl, 0x1f
je 0x180011c7c
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180011c8b
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180011c9a
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x180011ca6
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], r13
mov byte [rbp - 0x60], 0
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180011cdb
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180003e80
mov dword [rsp + 0x20], r13d
xor bl, bl
cmp qword [rdi + 0x100], 8
jb 0x180011cf5
mov rcx, qword [rdi + 0xe8]
jmp 0x180011cfc
lea rcx, [rdi + 0xe8]
lea rdx, [rsp + 0x20]
call fcn.180035b80
movzx ebx, bl
mov ecx, 1
test al, al
cmovne ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.180028f40
nop
lea rdx, [rdi + 0x130]
lea rcx, [rsp + 0x58]
call fcn.180028e40
nop
lea rdx, str.unv
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
lea rdx, [rdi + 0x110]
lea rcx, [rsp + 0x58]
call fcn.180028e40
nop
lea rdx, [0x1800903dc]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180028e40
nop
lea rdx, [0x1800903e0]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.180028e40
nop
lea rdx, [0x1800903e4]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
movzx edx, r12b
lea rcx, [rsp + 0x58]
call fcn.1800290b0
nop
lea rdx, [0x1800903e8]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1800290b0
nop
lea rdx, [0x1800903ec]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
movzx edx, bl
lea rcx, [rsp + 0x58]
call fcn.1800290b0
nop
lea rdx, [0x1800903f0]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
lea rdx, [rdi + 0xc8]
lea rcx, [rsp + 0x58]
call fcn.18003c9e0
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180028e40
nop
lea rdx, [0x1800903f4]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.180029410
nop
lea rcx, [rbp - 0x60]
call fcn.180029230
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x180011f4a
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x180011f45
test cl, 0x1f
je 0x180011f18
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180011f27
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180011f36
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x180011f42
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
lea rdx, [rdi + 0xe8]
lea rcx, [rsp + 0x58]
call fcn.18003c9e0
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180028e40
nop
lea rdx, [0x1800903f8]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.180029410
nop
lea rcx, [rbp - 0x60]
call fcn.180029230
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x180011fe9
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x180011fe4
test cl, 0x1f
je 0x180011fb7
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180011fc6
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x180011fd5
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x180011fe1
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
mov edx, dword [rdi + 0x108]
lea rcx, [rsp + 0x58]
call fcn.180028ea0
nop
lea rdx, [0x1800903fc]
lea rcx, [rsp + 0x28]
call fcn.180029830
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.180029410
nop
lea rcx, [rsp + 0x58]
call fcn.180029230
lea rcx, [rbp + 0x68]
call fcn.18002c050
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x68]
call fcn.18002cfc0
nop
mov edx, 2
lea rcx, [rbp + 0xa0]
call fcn.180035010
nop
lea r8, [rbp + 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0xa0]
call fcn.1800359f0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1800107b0
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x1800120cb
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x1800120c6
test cl, 0x1f
je 0x180012099
call fcn.1800625e0
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800120a8
call fcn.1800625e0
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800120b7
call fcn.1800625e0
int3
cmp rcx, 0x27
jbe 0x1800120c3
call fcn.1800625e0
int3
mov rcx, rax
call fcn.18003f87c
mov qword [rbp - 0x20], 0xf
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x38], 0
mov r8d, 7
lea rdx, [0x180090400]
lea rcx, [rbp - 0x38]
call fcn.18000e1e0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x38]
call fcn.180014c50
lea rcx, [rbp + 0xe0]
call fcn.18001c640
nop
lea rcx, [rbp - 0x18]
call fcn.18003c010
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x100]
call fcn.180003ab0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov r8d, dword [rbp - 0x28]
lea rcx, [rbp + 0xe0]
call fcn.18001c9d0
lea rdx, [0x1800be5a8]
cmp qword [0x1800be5c0], 8
cmovae rdx, qword [0x1800be5a8]
mov r9, rdi
lea r8, [0x180012c90]
lea rcx, [rbp + 0xe0]
call fcn.18001d930
lea rcx, [rbp + 0xe0]
call fcn.18001dab0
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x1800121a6
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.180003e80
mov qword [rbp], 7
mov qword [rbp - 8], r13
mov word [rbp - 0x18], r13w
lea rcx, [rbp + 0xe0]
call fcn.18001c850
nop
lea rcx, [rbp - 0x38]
call fcn.18000d830
nop
lea rcx, [rbp + 0xc0]
call fcn.18000d830
lea rcx, [rbp + 0xa0]
call fcn.18000d830
nop
lea rcx, [rbp + 0x28]
call fcn.18000d830
nop
lea rcx, [rbp + 0x70]
call fcn.18000d830
lea rcx, [rbp + 0x68]
call fcn.18002c080
nop
lea rcx, [rsp + 0x28]
call fcn.180029230
nop
lea rcx, [rbp + 8]
call fcn.18000d830
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180012233
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180003e80
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
lea rcx, [rbp + 0x48]
call fcn.18000d830
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18003ff90
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret