Function at 0x14000e4b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov r14, rcx
mov rcx, rdx
call qword [sym.imp.Cmmlib.dll_public:_unsigned_long_long_unsigned___int64____cdecl_Cmm::CStringT_wchar_t_::size_void_const___ptr64]
mov rbx, rax
xor esi, esi
test eax, eax
jne 0x14000e4fb
mov dword [r14 + 0x70], 1
jmp 0x14000e67e
mov r9d, 1
mov r8, rdi
lea rdx, [rbp - 0x49]
call fcn.14000d0c8
nop
lea rdx, [0x140026a68]
lea rcx, [rbp - 0x49]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rcx, [rbp - 0x49]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000e554
lea rcx, [r14 + 0x80]
lea rdx, [rbp - 0x49]
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_AEBV01__Z]
mov dword [r14 + 0x70], 1
jmp 0x14000e672
cmp dword [r14 + 0x70], esi
jne 0x14000e672
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.14000f370
test eax, eax
je 0x14000e578
mov esi, 1
jmp 0x14000e672
lea eax, [rbx*4 + 5]
mov ebx, eax
mov ecx, eax
call fcn.1400203b8
mov r12, rax
lea rdi, [rsp + 0x30]
xor eax, eax
lea ecx, [rax + 0x50]
rep stosb byte [rdi], al
mov rdi, r12
mov ecx, ebx
rep stosb byte [rdi], al
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.1400111b8
nop
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp + 7]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Cmmlib.dll_public:_unsigned_long_long_unsigned___int64____cdecl_Cmm::CStringT_char_::size_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov r8, rax
mov r9, rdi
mov edx, ebx
mov rcx, r12
call fcn.14000cbdc
mov qword [rsp + 0x38], r12
lea rcx, [rbp - 0x21]
call qword [sym.imp.Cmmlib.dll_public:_unsigned_long_long_unsigned___int64____cdecl_Cmm::CStringT_char_::size_void_const___ptr64]
inc eax
mov dword [rsp + 0x40], eax
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14000e667
add rcx, 8
je 0x14000e667
mov rax, qword [rcx]
mov r9d, 0x50
lea r8, [rsp + 0x30]
xor edx, edx
mov rax, qword [rax + 0x38]
call qword [0x140024f78]
mov edi, eax
mov rcx, r12
call fcn.140020044
test edi, edi
jne 0x14000e64e
mov dword [r14 + 0x70], esi
cmp dword [rbp - 0x55], 0x64
sete sil
jmp 0x14000e667
cmp dword [rsp + 0x30], 2
jne 0x14000e65f
mov dword [r14 + 0x70], 4
jmp 0x14000e667
mov dword [r14 + 0x70], 9
lea rcx, [rbp - 0x21]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14001fc80
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret