Function at 0x1400670fc
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 - 0x148]
sub rsp, 0x208
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r15, rcx
call fcn.140068204
mov r8, r15
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000afc8
nop
call fcn.140068204
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000afc8
nop
lea rcx, [rsp + 0x30]
mov r13d, 8
cmp qword [rsp + 0x48], r13
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r12d, r12d
test eax, eax
jne 0x14006721a
cmp qword [rsp + 0x68], r13
jb 0x14006719a
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
mov esi, 7
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
cmp qword [rsp + 0x48], r13
jb 0x1400671c0
mov rcx, qword [rsp + 0x30]
call fcn.1400431dc
mov word [rsp + 0x30], r12w
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rsi
cmp qword [r15 + 0x18], r13
jb 0x1400671de
mov rcx, qword [r15]
call fcn.1400431dc
mov qword [r15 + 0x18], rsi
mov qword [r15 + 0x10], r12
mov word [r15], r12w
cmp qword [r14 + 0x18], r13
jb 0x1400671f8
mov rcx, qword [r14]
call fcn.1400431dc
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x10], r12
mov word [r14], r12w
cmp qword [rdi + 0x18], r13
jb 0x140067212
mov rcx, qword [rdi]
call fcn.1400431dc
or eax, 0xffffffff
jmp 0x1400675d1
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov esi, 7
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140009c54
nop
lea rcx, [rsp + 0x70]
call fcn.140066334
mov rcx, qword [rax]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x38], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x30], rcx
mov rax, qword [rax + 0x18]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x70], r12
mov qword [rbp + 0x168], r12
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r13
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x70]
call qword [0x1400c4720]
test eax, eax
je 0x1400672b9
cmp qword [rsp + 0x68], r13
jb 0x14006719f
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
jmp 0x14006719f
lea rdx, [0x1400c1230]
cmp qword [0x1400c1248], 0x10
cmovae rdx, qword [0x1400c1230]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x168]
or r8d, 0xffffffff
mov rcx, qword [rbp - 0x70]
call qword [0x1400c4678]
test eax, eax
jne 0x14006754b
lea r8, [0x140096540]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14000b098
mov rbx, rax
cmp rdi, rax
je 0x140067333
cmp qword [rdi + 0x18], r13
jb 0x14006731b
mov rcx, qword [rdi]
call fcn.1400431dc
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
mov rdx, rbx
mov rcx, rdi
call fcn.140009bd0
nop
cmp qword [rbp - 0x48], r13
jb 0x140067342
mov rcx, qword [rbp - 0x60]
call fcn.1400431dc
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140008aa0
nop
mov rcx, qword [rbp + 0x168]
call qword [0x1400c4698]
cmp eax, 0x64
jne 0x1400674ea
xor r14d, r14d
xor edx, edx
mov rcx, qword [rbp + 0x168]
call qword [0x1400c46a8]
mov rbx, rax
mov qword [rbp - 0x68], rax
mov edx, 1
mov rcx, qword [rbp + 0x168]
call qword [0x1400c46a8]
mov r12, rax
mov edx, 2
mov rcx, qword [rbp + 0x168]
call qword [0x1400c46a8]
mov r13, rax
mov edx, 3
mov rcx, qword [rbp + 0x168]
call qword [0x1400c4688]
test rbx, rbx
je 0x1400674c5
test r12, r12
je 0x1400674c5
test r13, r13
je 0x1400674c5
test rax, rax
je 0x1400674c5
mov edx, 3
mov rcx, qword [rbp + 0x168]
call qword [0x1400c46a8]
mov rdx, rax
lea r8, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400659d8
nop
cmp qword [rbp - 0x80], r14
je 0x1400674a3
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rbx, qword [rsp + 0x70]
lea rdx, str.Name:
lea rcx, [rbp - 0x10]
call fcn.14000ada0
mov rcx, rax
mov rdx, qword [rbp - 0x68]
call fcn.14000ada0
mov rcx, rax
lea rdx, str._ExpM:
call fcn.14000ada0
mov rcx, rax
mov rdx, r12
call fcn.14000ada0
mov rcx, rax
lea rdx, str._ExpY:
call fcn.14000ada0
mov rcx, rax
mov rdx, r13
call fcn.14000ada0
mov rcx, rax
lea rdx, str._NUM:
call fcn.14000ada0
mov rcx, rax
mov rdx, rbx
call fcn.14000ada0
mov rcx, rax
lea rdx, [0x140096194]
call fcn.14000ada0
nop
cmp qword [rbp - 0x78], 0x10
jb 0x1400674b4
mov rcx, qword [rsp + 0x70]
call fcn.1400431dc
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], r14
mov byte [rsp + 0x70], r14b
mov rcx, qword [rbp + 0x168]
call qword [0x1400c4698]
cmp eax, 0x64
je 0x140067375
mov r14, qword [rbp + 0x158]
xor r12d, r12d
lea r13d, [r12 + 8]
mov rcx, qword [rbp + 0x168]
call qword [0x1400c46b0]
mov rcx, qword [rbp - 0x70]
call qword [0x1400c46c0]
lea rcx, [rbp - 0x10]
call fcn.140008cc8
nop
lea rcx, [rbp + 0x98]
call fcn.140008c3c
lea rax, [rbp + 0x98]
mov qword [rbp - 0x68], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x98], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x98]
call fcn.1400643e8
nop
cmp qword [rsp + 0x68], r13
jb 0x14006755c
mov rcx, qword [rsp + 0x50]
call fcn.1400431dc
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
cmp qword [rsp + 0x48], r13
jb 0x14006757d
mov rcx, qword [rsp + 0x30]
call fcn.1400431dc
mov word [rsp + 0x30], r12w
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rsi
cmp qword [r15 + 0x18], r13
jb 0x14006759b
mov rcx, qword [r15]
call fcn.1400431dc
mov qword [r15 + 0x18], rsi
mov qword [r15 + 0x10], r12
mov word [r15], r12w
cmp qword [r14 + 0x18], r13
jb 0x1400675b5
mov rcx, qword [r14]
call fcn.1400431dc
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x10], r12
mov word [r14], r12w
cmp qword [rdi + 0x18], r13
jb 0x1400675cf
mov rcx, qword [rdi]
call fcn.1400431dc
xor eax, eax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret