Function at 0x18000c140
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1800c20c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rcx, qword [0x1800c2e20]
mov rdx, qword [0x1800c2e28]
cmp rcx, rdx
je 0x18000c19f
call fcn.1800190e0
mov rax, qword [0x1800c2e20]
mov qword [0x1800c2e28], rax
lea rbx, [0x1800c7e70]
mov rcx, rbx
cmp qword [0x1800c7e88], 0xf
cmova rcx, qword [0x1800c7e70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x18000c547
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call fcn.1800747b0
cmp qword [0x1800c7e88], 0xf
cmova rbx, qword [0x1800c7e70]
mov rdx, rbx
lea rcx, [rbp]
call fcn.180011a00
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], r12
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
cmp qword [rbp + 0x90], 0
je 0x18000c4a1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], r14b
mov r15d, 0x7fffffff
nop dword [rax + rax]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.180012ff0
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx ebx, al
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000c2af
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x18000c2af
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, bl
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.180023c40
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x18000c466
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
mov qword [rsp + 0x20], 1
lea r9, [0x1800a7cc8]
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
call fcn.180019d40
cmp rax, 0xffffffffffffffff
je 0x18000c250
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov r8d, 1
lea rdx, [0x1800a7cc8]
lea rcx, [rsp + 0x68]
call fcn.18000c040
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.180010270
nop
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18000bc80
nop
mov rax, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
sub rax, rbx
sar rax, 5
cmp rax, 2
jb 0x18000c458
add rbx, 0x20
call fcn.18005a69c
mov rsi, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x18000c391
mov rbx, qword [rbx]
mov dword [rax], r14d
mov r8d, 0xa
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.180059590
mov rdi, rax
cmp rbx, qword [rbp - 0x48]
je 0x18000c5de
cmp dword [rsi], 0x22
je 0x18000c5d1
mov rdx, qword [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.180010270
cmp rdi, r15
cmova rdi, r15
mov qword [rsp + 0x60], rdi
mov rdx, qword [0x1800c2e28]
cmp rdx, qword [0x1800c2e30]
je 0x18000c40f
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rsp + 0x40], 0
mov qword [rdx + 0x20], rdi
add qword [0x1800c2e28], 0x28
jmp 0x18000c41e
lea r8, [rsp + 0x40]
call fcn.180024590
mov rax, qword [rsp + 0x58]
cmp rax, 0xf
jbe 0x18000c458
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c5cb
call fcn.18004b90c
nop
lea rcx, [rbp - 0x20]
call fcn.18000ea30
jmp 0x18000c250
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x18000c4a1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c49c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c5eb
call fcn.18004b90c
lea rcx, [rbp + 0x10]
call fcn.180011900
test rax, rax
jne 0x18000c4e1
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x48], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x10]
and eax, 0x17
mov dword [rbp + rcx + 0x10], eax
mov edx, dword [rbp + rcx + 0x14]
and edx, eax
jne 0x18000c577
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r12
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.18000e950
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0xb0]
call fcn.18004ab98
nop
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.18004b650
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test dl, 4
je 0x18000c585
lea rbx, str.ios_base::badbit_set
jmp 0x18000c59a
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.180001720
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180002260
lea rdx, [0x1800bfdd0]
lea rcx, [rsp + 0x40]
call fcn.18004dce8
nop
call fcn.18005b2ec
int3
lea rcx, str.stoll_argument_out_of_range
call fcn.18004a6d8
int3
lea rcx, str.invalid_stoll_argument
call fcn.18004a690
nop
call fcn.18005b2ec
int3