Function at 0x1400675f8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x258
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov r14, r8
mov r12, rdx
mov r13, rcx
lea rcx, [rbp - 0x70]
call fcn.140074cb0
nop
mov r8, r13
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000b468
nop
call fcn.140068204
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000afc8
nop
lea rcx, [rsp + 0x50]
mov ebx, 8
cmp qword [rsp + 0x68], rbx
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x140067744
cmp qword [rbp - 0x78], rbx
jb 0x140067699
mov rcx, qword [rsp + 0x70]
call fcn.1400431dc
mov r15d, 7
mov word [rsp + 0x70], di
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], r15
cmp qword [rsp + 0x68], rbx
jb 0x1400676bd
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
mov word [rsp + 0x50], di
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r15
cmp qword [rbp - 0x58], rbx
jb 0x1400676db
mov rcx, qword [rbp - 0x70]
call fcn.1400431dc
mov word [rbp - 0x70], di
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], r15
cmp qword [r13 + 0x18], rbx
jb 0x1400676f6
mov rcx, qword [r13]
call fcn.1400431dc
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x10], rdi
mov word [r13], di
cmp qword [r12 + 0x18], rbx
jb 0x140067713
mov rcx, qword [r12]
call fcn.1400431dc
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x10], rdi
mov word [r12], di
cmp qword [r14 + 0x18], rbx
jb 0x140067730
mov rcx, qword [r14]
call fcn.1400431dc
mov qword [r14 + 0x18], r15
mov qword [r14 + 0x10], rdi
mov word [r14], di
or eax, 0xffffffff
jmp 0x140067ca2
mov qword [rbp - 0x50], rdi
mov qword [rbp + 0x1b8], rdi
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], rbx
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x50]
call qword [0x1400c4720]
test eax, eax
jne 0x140067689
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov r15d, 7
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140009c54
nop
lea rcx, [rsp + 0x30]
call fcn.140066334
mov rcx, qword [rax]
mov qword [rbp + 0x18], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x20], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x28], rcx
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x30], rax
lea rdx, [0x1400c1250]
cmp qword [0x1400c1268], 0x10
cmovae rdx, qword [0x1400c1250]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1b8]
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call qword [0x1400c4678]
mov esi, eax
lea r8, [0x140096430]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14000b098
mov rdi, rax
cmp r14, rax
je 0x140067848
cmp qword [r14 + 0x18], 8
jb 0x14006782e
mov rcx, qword [r14]
call fcn.1400431dc
mov qword [r14 + 0x18], r15
xor eax, eax
mov qword [r14 + 0x10], rax
mov word [r14], ax
mov rdx, rdi
mov rcx, r14
call fcn.140009bd0
nop
cmp qword [rsp + 0x48], 8
jb 0x14006785a
mov rcx, qword [rsp + 0x30]
call fcn.1400431dc
mov qword [rsp + 0x48], r15
xor edi, edi
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140007df4
nop
test esi, esi
jne 0x140067b5e
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c4698]
cmp eax, 0x64
jne 0x140067b5e
xor edx, edx
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov rsi, rax
mov qword [rbp + 8], rax
mov edx, 1
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov qword [rbp - 0x48], rax
mov edx, 2
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov rdx, rax
lea r8, [rbp + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400659d8
nop
mov edx, 3
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov qword [rbp + 0x10], rax
mov edx, 4
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov qword [rbp], rax
mov edx, 5
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46a8]
mov rdi, rax
lea rax, [0x140096254]
lea rdx, [0x1400963ac]
cmp byte [rsi], 0x2e
cmove rdx, rax
xor esi, esi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x40], sil
cmp byte [rdx], sil
jne 0x140067960
mov r8d, esi
jmp 0x14006796c
mov r8, rbx
inc r8
cmp byte [rdx + r8], sil
jne 0x140067963
lea rcx, [rbp - 0x40]
call fcn.14000472c
nop
mov al, byte [rdi]
cmp al, byte [0x14009606c]
jne 0x14006798f
mov al, byte [rdi + 1]
cmp al, byte [0x14009606d]
jne 0x14006798f
mov eax, esi
jmp 0x140067994
sbb eax, eax
or eax, 1
lea rcx, [0x14009644c]
lea rdx, [0x1400963ec]
test eax, eax
cmove rdx, rcx
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x20], sil
cmp byte [rdx], sil
jne 0x1400679ca
mov r8, rsi
jmp 0x1400679d6
mov r8, rbx
inc r8
cmp byte [rdx + r8], sil
jne 0x1400679cd
lea rcx, [rbp - 0x20]
call fcn.14000472c
nop
cmp qword [rsp + 0x40], rsi
je 0x140067adf
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rsi, qword [rsp + 0x30]
lea rdi, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdi, qword [rbp - 0x20]
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x40]
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x14009647c]
call fcn.14000b16c
mov rcx, rax
mov rdx, rbx
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x140096474]
call fcn.14000b16c
mov rcx, rax
mov rdx, qword [rbp + 0x10]
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x14009646c]
call fcn.14000b16c
mov rcx, rax
mov rdx, rdi
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x140096464]
call fcn.14000b16c
mov rcx, rax
mov rdx, qword [rbp]
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x14009645c]
call fcn.14000b16c
mov rcx, rax
mov rdx, qword [rbp - 0x48]
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x140096454]
call fcn.14000b16c
mov rcx, rax
mov rdx, rsi
call fcn.14000b16c
mov rcx, rax
lea rdx, [0x14009607c]
call fcn.14000b16c
inc dword [0x1400c4680]
or rbx, 0xffffffffffffffff
xor esi, esi
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c4698]
mov edi, eax
cmp qword [rbp - 8], 0x10
jb 0x140067afe
mov rcx, qword [rbp - 0x20]
call fcn.1400431dc
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x20], sil
cmp qword [rbp - 0x28], 0x10
jb 0x140067b1e
mov rcx, qword [rbp - 0x40]
call fcn.1400431dc
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x40], sil
cmp qword [rsp + 0x48], 0x10
jb 0x140067b40
mov rcx, qword [rsp + 0x30]
call fcn.1400431dc
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], sil
cmp edi, 0x64
je 0x140067896
jmp 0x140067b60
xor esi, esi
mov rcx, qword [rbp + 0x1b8]
call qword [0x1400c46b0]
mov rcx, qword [rbp - 0x50]
call qword [0x1400c46c0]
lea rcx, [rbp + 0x48]
call fcn.140009eb8
test rax, rax
jne 0x140067bad
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], rsi
cmove edx, eax
xor r8d, r8d
call fcn.1400072c8
nop
lea rcx, [rbp + 0xe8]
call fcn.140007fc4
lea rax, [rbp + 0xe8]
mov qword [rbp - 0x48], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xe8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0xe8]
call fcn.1400643e8
nop
cmp qword [rbp - 0x78], 8
jb 0x140067bfe
mov rcx, qword [rsp + 0x70]
call fcn.1400431dc
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x68], 8
jb 0x140067c1d
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp qword [rbp - 0x58], 8
jb 0x140067c3c
mov rcx, qword [rbp - 0x70]
call fcn.1400431dc
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
cmp qword [r13 + 0x18], 8
jb 0x140067c58
mov rcx, qword [r13]
call fcn.1400431dc
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x10], rsi
mov word [r13], si
cmp qword [r12 + 0x18], 8
jb 0x140067c76
mov rcx, qword [r12]
call fcn.1400431dc
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x10], rsi
mov word [r12], si
cmp qword [r14 + 0x18], 8
jb 0x140067c94
mov rcx, qword [r14]
call fcn.1400431dc
mov qword [r14 + 0x18], r15
mov qword [r14 + 0x10], rsi
mov word [r14], si
xor eax, eax
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret