Function at 0x140067310
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x288
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov esi, edx
mov rbp, r9
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14006738b
lea r8d, [rcx + 0x3b]
lea rdi, str.__PathHelper::makeFullPathWithModuleDir_
xor esi, esi
mov qword [rsp + 0x28], rdi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, 0x80004003
call fcn.140008d50
mov eax, 0x80004003
jmp 0x1400675ca
test rdi, rdi
jne 0x140067396
lea r8d, [rdi + 0x3c]
jmp 0x140067342
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1401f5d40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rdx, rsi
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400673e0
cmp rdx, rax
ja 0x140067481
xor esi, esi
lea rax, str.__PathHelper::getWorkingDir_
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x30]
lea r8d, [rsi + 0x24]
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, 0x80004005
call fcn.140008d50
lea rdi, str.__PathHelper::makeFullPathWithModuleDir_
mov qword [rsp + 0x28], rdi
lea r9, [0x1402a214c]
lea r8d, [rsi + 0x3f]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], esi
call fcn.140008c40
mov rcx, rax
lea rdx, str.Error_Code:_0x_x
mov r8d, 0x80004005
call fcn.140008d50
mov eax, 0x80004005
jmp 0x1400675ca
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.1402035e8
lea rax, str.__PathHelper::getWorkingDir_
mov r8d, 0x26
mov qword [rsp + 0x28], rax
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea r8, str.pszWorkDir
mov r9, rbx
lea rdx, str._s___s
call fcn.140008d50
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdi, str.__PathHelper::makeFullPathWithModuleDir_
mov qword [rsp + 0x28], rdi
lea r9, [0x1402a214c]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x140067513
xor esi, esi
lea r8d, [rax + 0x42]
jmp 0x140067459
mov r8d, 0x44
mov dword [rsp + 0x20], 3
call fcn.140008c40
mov rcx, rax
lea r8, str.pszFullPath
mov r9, rbx
lea rdx, str._s___s
call fcn.140008d50
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400675c8
xor esi, esi
mov qword [rsp + 0x28], rdi
lea r9, [0x1402a214c]
mov dword [rsp + 0x20], esi
lea r8d, [rax + 0x45]
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea r8, str.::PathFileExists_pszFullPath_
lea rdx, str.ASSERT___s__
call fcn.140008d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1402a214c]
mov qword [rsp + 0x28], rdi
lea r8d, [rsi + 0x45]
mov dword [rsp + 0x20], esi
lea rdx, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5_toscommonlib_rs5includepathhelper.h
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.140008c40
mov rcx, rax
lea rdx, str._GetLastError__08X
mov r8d, ebx
call fcn.140008d50
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140072680
add rsp, 0x288
pop rdi
pop rsi
pop rbp
pop rbx
ret