Function at 0x1400014ec
Capabilities:
Check if file exists

Disassembly:
jmp 0x14009a210
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x70], r14d
mov rcx, rdx
call fcn.1400014e7
mov rdx, rbx
test al, al
je 0x14009a286
lea rcx, [rbp - 0x28]
call fcn.14000243c
lea rax, [rbp - 0x28]
lea ebx, [r14 + 1]
jmp 0x14009a297
mov r8, rdi
lea rcx, [rbp - 8]
call fcn.140002360
mov ebx, 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
test bl, 2
je 0x14009a2d0
and ebx, 0xfffffffd
lea rcx, [rbp - 8]
call fcn.140001339
nop
test bl, 1
je 0x14009a2de
lea rcx, [rbp - 0x28]
call fcn.140001339
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.1400018f7
nop
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov dword [rsp + 0x50], r14d
mov byte [rsp + 0x54], 0
lea rax, [0x1400ccd88]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14009a34a
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14009cdb0
mov edi, dword [rsp + 0x40]
jmp 0x14009a452
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.140002a2c
bt edi, 0xa
jae 0x14009a449
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x14009a3bc
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14009cdb0
nop
mov edi, dword [rsp + 0x40]
jmp 0x14009a452
lea rcx, [rbp - 0x48]
call fcn.14009c7f0
nop
mov rcx, rbx
test al, al
jne 0x14009a443
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, dword [rsp + 0x60]
nop dword [rax + rax]
xor r12b, r12b
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, qword [rbp - 0x68]
mov word [rax], r14w
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400029be
nop
nop word [rax + rax]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.140002414
mov rcx, qword [rax + 0x20]
cmp qword [rbp + 0x40], rcx
jne 0x14009a4da
mov rax, qword [rax + 0x28]
cmp qword [rbp + 0x48], rax
jne 0x14009a4da
xor bl, bl
jmp 0x14009a4dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and edi, 0x10
or edi, 0x20
shr edi, 4
cmp edi, 1
jne 0x14009a4bb
test r15, r15
je 0x14009a957
mov dword [r15], 2
mov byte [r15 + 4], dil
lea rax, [0x1400ccda0]
mov qword [r15 + 8], rax
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
lea rcx, [rbp - 0x68]
call fcn.140001339
nop
lea rcx, [rbp + 0x70]
call fcn.140001339
nop
lea rcx, [rbp - 0x48]
call fcn.140001339
mov rax, rsi
jmp 0x14009a8a2
cmp dword [rsp + 0x50], 0
je 0x14009a3d3
test r15, r15
je 0x14009a914
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r15], xmm0
jmp 0x14009a476
mov bl, 1
lea rcx, [rbp + 0x90]
call fcn.140001339
test bl, bl
je 0x14009a831
call fcn.140002c61
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140002784
test eax, eax
je 0x14009a6aa
call fcn.140004318
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140002784
lea rcx, [rbp - 0x68]
test eax, eax
jne 0x14009a54a
lea rdx, [rbp + 0x70]
call fcn.140002784
test eax, eax
je 0x14009a6aa
lea rcx, [rbp - 0x68]
call fcn.140003693
lea rcx, [rbp + 0x20]
call fcn.140003436
jmp 0x14009a410
lea rdx, [rbp + 0x20]
call fcn.1400029eb
xor r14b, r14b
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14009a58d
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x40]
call fcn.14009cdb0
mov ecx, dword [rsp + 0x40]
jmp 0x14009a66e
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.140002a2c
mov esi, eax
bt edi, 0xa
jae 0x14009a62e
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x14009a601
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x40]
call fcn.14009cdb0
nop
mov ecx, dword [rsp + 0x40]
jmp 0x14009a66e
lea rcx, [rbp - 0x68]
call fcn.14009c7f0
test al, al
jne 0x14009a625
mov dword [rsp + 0x40], 9
mov dword [rsp + 0x44], esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14009a677
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [rsp + 0x50], ecx
mov byte [rsp + 0x54], cl
lea rax, [0x1400ccd88]
mov qword [rsp + 0x58], rax
and edi, 0x10
je 0x14009a651
mov eax, esi
mov dword [rsp + 0x60], eax
jmp 0x14009a658
mov r13d, esi
mov eax, dword [rsp + 0x60]
test edi, edi
setne cl
add ecx, 2
mov dword [rsp + 0x40], ecx
test edi, edi
cmove eax, r13d
mov dword [rsp + 0x44], eax
test ecx, ecx
je 0x14009a67a
cmp ecx, 0xa
je 0x14009a67a
mov r14b, 1
xor al, al
test r14b, r14b
je 0x14009a6a6
mov r8, r15
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x78]
call fcn.140001631
cmp dword [rax], 4
sete al
test r15, r15
je 0x14009a6a6
cmp dword [r15], 0
jne 0x14009a8c5
test al, al
jne 0x14009a6b8
lea rcx, [rbp + 0x20]
call fcn.140003436
jmp 0x14009a410
mov r8, r15
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 8]
call fcn.14000391d
nop
test r15, r15
je 0x14009a6d8
cmp dword [r15], 0
jne 0x14009a8e6
lea rcx, [rbp - 0x68]
call fcn.140003693
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 8]
call fcn.140002509
mov rbx, qword [rax + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140001339
test rbx, rbx
je 0x14009a79b
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 8]
call fcn.140001b45
mov rbx, qword [rax + 0x10]
lea rcx, [rbp + 0x90]
call fcn.140001339
test rbx, rbx
je 0x14009a79b
lea rcx, [rbp + 0x20]
call fcn.140003436
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.140002414
mov rcx, qword [rax + 0x20]
cmp qword [rbp + 0x40], rcx
jne 0x14009a75a
mov rax, qword [rax + 0x28]
cmp qword [rbp + 0x48], rax
jne 0x14009a75a
xor bl, bl
jmp 0x14009a75c
mov bl, 1
lea rcx, [rbp + 0x90]
call fcn.140001339
test bl, bl
je 0x14009a77b
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 8]
call fcn.1400029eb
jmp 0x14009a729
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
lea rcx, [rbp - 0x48]
call fcn.140001faf
jmp 0x14009a824
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.14000243c
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1400029eb
lea rcx, [rbp + 0x20]
call fcn.140003436
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.140002414
mov rcx, qword [rax + 0x20]
cmp qword [rbp + 0x40], rcx
jne 0x14009a7e7
mov rax, qword [rax + 0x28]
cmp qword [rbp + 0x48], rax
jne 0x14009a7e7
xor bl, bl
jmp 0x14009a7e9
mov bl, 1
lea rcx, [rbp + 0x90]
call fcn.140001339
test bl, bl
je 0x14009a7ff
lea rdx, [rbp + 0x20]
jmp 0x14009a7ad
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 0x48]
call fcn.140001faf
nop
lea rcx, [rbp - 0x28]
call fcn.140001339
mov r12b, 1
lea rcx, [rbp - 8]
call fcn.140001339
nop
lea rcx, [rbp + 0x20]
call fcn.140001339
xor r14d, r14d
test r12b, r12b
jne 0x14009a3e0
test r15, r15
je 0x14009a85d
mov dword [r15], r14d
mov byte [r15 + 4], r14b
lea rax, [0x1400ccd88]
mov qword [r15 + 8], rax
mov rbx, qword [rsp + 0x68]
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
lea rcx, [rbp - 0x68]
call fcn.140001339
nop
lea rcx, [rbp + 0x70]
call fcn.140001339
nop
lea rcx, [rbp - 0x48]
call fcn.140001339
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140001c58
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rcx, [rbp + 0x20]
call fcn.140001339
jmp 0x14009a882
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rcx, [rbp - 8]
call fcn.140001339
nop
lea rcx, [rbp + 0x20]
call fcn.140001339
jmp 0x14009a882
lea rdx, str.boost::filesystem::canonical
lea rcx, [rbp - 0x28]
call fcn.140004124
nop
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x20]
call fcn.140003e0e
lea rdx, [0x140116bf0]
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::canonical
lea rcx, [rbp - 0x28]
call fcn.140004124
nop
call fcn.140003cba
mov r8, rax
mov edx, 2
lea rcx, [rbp - 0x78]
call fcn.140001ba4
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x20]
call fcn.140003e0e
lea rdx, [0x140116bf0]
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3