Function at 0x140064d00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x880]
sub rsp, 0x980
mov rax, qword [0x1400a6010]
xor rax, rsp
mov qword [rbp + 0x870], rax
mov qword [rsp + 0x60], rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
xor edx, edx
mov r8d, 0x100
add rcx, 0x64
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rdi + 0x164]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rdi + 0x264]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rdi + 0x364]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rdi + 0x464]
call sub.VCRUNTIME140.dll_memset
mov qword [rdi], rbx
mov dword [rdi + 8], ebx
mov byte [rdi + 0x40], bl
mov qword [rdi + 0x48], rbx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x58], rbx
mov dword [rdi + 0x60], ebx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x100
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140064e00
lea rdi, str._s:_Failed_to_get_module_file_name___s
lea rbx, str.CMain::GetFolderpathResources
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400144a0
jmp 0x14006523a
lea rcx, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x140064e10
lea r8, [rsp + rax + 0x6f]
movzx edx, byte [r8]
test dl, dl
je 0x140065227
nop dword [rax + rax]
lea rcx, [0x140099cb0]
mov al, 0x5c
nop dword [rax]
cmp dl, al
je 0x140064e5f
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x140064e40
dec r8
movzx edx, byte [r8]
test dl, dl
je 0x140065227
jmp 0x140064e30
mov byte [r8], 0
movsd xmm0, qword [str._s..deploy]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x140099d10]
mov dword [rbp + 0x78], eax
movzx eax, byte [0x140099d14]
mov byte [rbp + 0x7c], al
xor edx, edx
mov r8d, 0x3f3
lea rcx, [rbp + 0x7d]
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str._s....deploy]
movaps xmmword [rbp + 0x470], xmm0
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rbp + 0x480]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x400
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x70]
mov edx, 0x100
lea rcx, [rdi + 0x64]
call fcn.140015380
lea rax, str.sndStarted.wav
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x64]
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rdi + 0x164]
call fcn.140015380
lea rax, str.sndEnded.wav
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x64]
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rdi + 0x264]
call fcn.140015380
lea rax, str.sndActivated.wav
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x64]
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rdi + 0x364]
call fcn.140015380
lea rax, str.sndDeactivated.wav
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x64]
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rdi + 0x464]
call fcn.140015380
lea rax, str.config.ini
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x64]
lea r8, str._s_s
mov edx, 0x100
lea rcx, [rdi + 0x564]
call fcn.140015380
mov ecx, 0x60
call fcn.14007678c
mov r15, rax
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
lea rcx, [rax + 0x10]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
mov qword [r15], rdi
lea rcx, [rdi + 0x564]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400651e6
test al, 0x10
jne 0x1400651e6
mov ecx, 0x20
call fcn.14007678c
mov r14, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
inc rbx
cmp byte [rdi + rbx + 0x564], r12b
jne 0x140065030
mov r8, rbx
lea rdx, [rdi + 0x564]
lea rcx, [rsp + 0x40]
call fcn.140013510
nop
mov dword [rsp + 0x38], 1
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400137d0
nop
mov qword [r15 + 8], r14
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400650ad
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400650a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400650a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400767c8
nop
mov qword [rdi + 0x10], r15
mov ecx, 0x278
call fcn.14007678c
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x278
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov rcx, rbx
call fcn.140068960
nop
mov qword [rdi + 0x18], rax
mov ecx, 0x280
call fcn.14007678c
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x280
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.14006fbf0
nop
mov qword [rdi + 0x20], rax
mov ecx, 0x20
call fcn.14007678c
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax], rdi
mov qword [rdi + 0x28], rax
mov ecx, 0x50
call fcn.14007678c
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x40], rdi
mov dword [rax], r12d
xor ecx, ecx
movups xmmword [rax + 4], xmm0
movups xmmword [rax + 0x14], xmm0
mov qword [rax + 0x24], rcx
movups xmmword [rax + 0x30], xmm0
mov dword [rax + 0x48], r12d
mov qword [rdi + 0x30], rax
mov ecx, 0x358
call fcn.14007678c
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x358
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov rcx, rbx
call fcn.1400153e0
mov qword [rdi + 0x38], rax
mov rax, rdi
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.140076740
mov rbx, qword [rsp + 0x9d0]
add rsp, 0x980
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call fcn.140065ae0
mov r8, rax
lea rdx, str.CConfig::CConfig
lea rcx, str._s:_Invalid_config_file_path__s
call fcn.140013f00
lea rdx, str.CMain:_Resource_folder_path_could_not_be_determined
lea rcx, [rsp + 0x40]
call fcn.140013970
lea rdx, [0x1400a3c38]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdi, str._s:_Unable_to_determine_last_slash____in_program_file_path__s
lea rbx, str.CMain::GetFolderpathResources
lea rax, [rsp + 0x70]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140013f00
lea rdx, str.CMain::CMain
lea rcx, str._s:_Failed_to_get_folder_path_for_resources
call fcn.140013f00
lea rdx, str.CMain:_Resource_folder_path_could_not_be_determined
lea rcx, [rsp + 0x40]
call fcn.140013970
lea rdx, [0x1400a3c38]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3