Function at 0x14000e4d0
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 0x14000e51b
mov dword [r14 + 0x70], 1
jmp 0x14000e69e
mov r9d, 1
mov r8, rdi
lea rdx, [rbp - 0x49]
call fcn.14000d0e8
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 0x14000e574
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 0x14000e692
cmp dword [r14 + 0x70], esi
jne 0x14000e692
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.14000f390
test eax, eax
je 0x14000e598
mov esi, 1
jmp 0x14000e692
lea eax, [rbx*4 + 5]
mov ebx, eax
mov ecx, eax
call fcn.140020438
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.1400111e0
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.14000cbfc
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 0x14000e687
add rcx, 8
je 0x14000e687
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.1400200c4
test edi, edi
jne 0x14000e66e
mov dword [r14 + 0x70], esi
cmp dword [rbp - 0x55], 0x64
sete sil
jmp 0x14000e687
cmp dword [rsp + 0x30], 2
jne 0x14000e67f
mov dword [r14 + 0x70], 4
jmp 0x14000e687
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.14001fd00
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret