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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], 0xfffffffffffffffe
xor edi, edi
test ecx, ecx
je 0x14001ae30
mov rsi, rdx
call fcn.14001b9d0
test rax, rax
je 0x14001ae30
mov r14, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001ac85
lea rax, [0x14008f428]
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xf8], 0
lea rax, [0x14008f440]
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x9c], 0x98
mov qword [rbp - 8], 0
movups xmmword [rbp + 0xa8], xmm0
mov dword [rbp + 0xb8], 0x201
mov qword [rbp + 0xc0], 6
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
mov ecx, 0x10
call fcn.140044b84
mov rdi, rax
mov cl, 1
call fcn.140045348
lea rcx, [rbp]
mov qword [rdi + 8], rax
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0x108], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
lea rcx, [rbp + 0x100]
call fcn.14001ba90
mov r8, qword [rax]
mov rcx, rax
mov dl, 0x20
call qword [r8 + 0x40]
mov ebx, eax
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14001aa70
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001aa70
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov byte [rbp + 0xf8], bl
cmp qword [rbp + 0xe8], 0
jne 0x14001aaa0
mov ecx, dword [rbp + 0xb0]
mov eax, dword [rbp + 0xb4]
and ecx, 0x13
or ecx, 4
mov dword [rbp + 0xb0], ecx
and ecx, eax
jne 0x14001b034
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x14008f430]
mov qword [rbp + rax - 0x10], rcx
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rbp + rax - 0x14], ecx
lea rax, [0x14008f590]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 0
mov ecx, 0x10
call fcn.140044b84
mov rdi, rax
mov qword [rbp + 0x140], r14
mov cl, 1
call fcn.140045348
lea rbx, [rbp + 8]
lea rcx, [rbp + 0x4c]
lea r12, [rbp + 0x48]
lea r13, [rbp + 0x30]
lea r14, [rbp + 0x28]
lea r15, [rbp + 0x10]
mov qword [rdi + 8], rax
mov qword [rbp + 0x60], rdi
mov rdi, rcx
lea rax, [0x14008f510]
mov qword [rbp], rax
mov byte [rbp + 0x7c], 0
mov byte [rbp + 0x71], 0
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x74], 0
mov rcx, rsi
mov edx, 0x25
mov r8d, 0x40
call fcn.1400454e8
test rax, rax
je 0x14001ac92
mov byte [rbp + 0x7c], 1
mov byte [rbp + 0x71], 0
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [r14], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x128], 0
mov qword [rbp - 0x38], 0
lea rdx, [rbp + 0x100]
lea r8, [rbp + 0x128]
lea r9, [rbp - 0x38]
mov rcx, rax
mov rsi, rax
call fcn.14004a888
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x100]
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x74], 0
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x108], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp + 0x100]
call fcn.14001c0e0
mov rsi, rax
mov rax, qword [rax]
mov rcx, rsi
call qword [rax + 0x18]
test al, al
je 0x14001acd1
xor esi, esi
jmp 0x14001acfb
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001ae30
mov rax, qword [rbp - 0x10]
movsxd rdx, dword [rax + 4]
xor r8d, r8d
cmp qword [rbp + rdx + 0x38], 0
sete r8b
shl r8d, 2
mov eax, dword [rbp + rdx]
mov ecx, dword [rbp + rdx + 4]
and eax, 0x15
or eax, r8d
or eax, 2
mov dword [rbp + rdx], eax
and eax, ecx
jne 0x14001b095
mov rdi, qword [rbp + 0x140]
jmp 0x14001ad2b
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [r14], xmm0
mov rdi, qword [rbp + 0x140]
mov qword [rbp + 0x68], rsi
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x14001ad2b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001ad2b
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
test byte [rbp + rax], 6
je 0x14001ad4b
lea rcx, [rbp - 0x10]
call fcn.14001c450
mov rcx, rdi
jmp 0x14001ade0
lea rcx, [rbp + 0x100]
lea rdx, [rbp - 0x10]
call fcn.14001c5f0
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
test byte [rbp + rax], 6
je 0x14001ad7b
mov qword [rbp - 0x38], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
jmp 0x14001ad9e
mov rcx, qword [rbp + rax + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x38]
xor r8d, r8d
mov r9d, 1
call rax
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rax + rcx + 0x48]
test rcx, rcx
je 0x14001adbc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
add rcx, qword [rbp - 0x38]
cmp rcx, 0xfff
mov rsi, qword [rbp + 0x140]
jg 0x14001ae46
lea rcx, [rbp - 0x10]
call fcn.14001c450
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
xor edi, edi
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x14008f430]
mov qword [rbp + rax - 0x10], rcx
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rbp + rax - 0x14], ecx
lea rcx, [rbp]
call fcn.14001c2c0
lea rax, [0x14008f438]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0xa0]
call fcn.140045620
mov eax, edi
add rsp, 0x1d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140044bfc
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
xor edx, edx
cmp qword [rbp + rcx + 0x38], 0
mov eax, dword [rbp + rcx]
sete dl
shl edx, 2
and eax, 0x16
or eax, edx
mov dword [rbp + rcx], eax
and eax, dword [rbp + rcx + 4]
jne 0x14001b0f6
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call fcn.14001c5f0
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
mov dword [rbp + 0x14c], 0
test byte [rbp + rax], 6
jne 0x14001aee4
mov rcx, qword [rbp + rax + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x128]
xor r8d, r8d
xor r9d, r9d
call rax
mov rax, qword [rbp + 0x130]
add rax, qword [rbp + 0x128]
xor ecx, ecx
cmp rax, 0xffffffffffffffff
sete cl
add ecx, ecx
mov dword [rbp + 0x14c], ecx
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx]
xor edx, edx
cmp qword [rbp + rcx + 0x38], 0
sete dl
shl edx, 2
and eax, 0x17
or eax, dword [rbp + 0x14c]
or eax, edx
mov dword [rbp + rcx], eax
and eax, dword [rbp + rcx + 4]
jne 0x14001b156
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rax + rcx + 0x48]
test rcx, rcx
je 0x14001af32
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rbp - 0x30]
add rsi, qword [rbp - 0x38]
mov qword [rbp - 8], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call fcn.14001c5f0
cmp byte [rbp - 0x18], 0
je 0x14001af8b
test rsi, rsi
jle 0x14001af8b
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + rax + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x40]
mov r8, rsi
call qword [rax + 0x40]
mov qword [rbp - 8], rax
xor ecx, ecx
cmp rax, rsi
setne cl
lea eax, [rcx + rcx*2]
mov dword [rbp + 0x14c], eax
jmp 0x14001af95
mov dword [rbp + 0x14c], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx]
xor edx, edx
cmp qword [rbp + rcx + 0x38], 0
sete dl
shl edx, 2
and eax, 0x17
or eax, dword [rbp + 0x14c]
or eax, edx
mov dword [rbp + rcx], eax
and eax, dword [rbp + rcx + 4]
jne 0x14001b1ad
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rax + rcx + 0x48]
test rcx, rcx
mov rsi, qword [rbp + 0x140]
je 0x14001afea
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001c450
mov rcx, rsi
mov rdi, qword [rbp - 0x40]
mov rdx, rdi
call fcn.14001c7a0
mov ebx, eax
mov rcx, rdi
call fcn.140044bc8
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
xor edi, edi
test bl, bl
je 0x14001ade7
mov edi, 1
lea rcx, str.successful.wav
call fcn.140015250
jmp 0x14001ade7
test cl, 2
lea rcx, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rcx
test al, 4
lea rsi, str.ios_base::badbit_set
cmove rsi, rdx
call fcn.14001bc80
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bce0
lea rdx, [0x14009cc48]
lea rcx, [rbp + 0x100]
call fcn.140046d20
test cl, 2
lea rcx, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rcx
test al, 4
lea rsi, str.ios_base::badbit_set
cmove rsi, rdx
call fcn.14001bc80
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bce0
lea rdx, [0x14009cc48]
lea rcx, [rbp + 0x100]
call fcn.140046d20
test al, 2
lea rcx, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rcx
test al, 4
lea rsi, str.ios_base::badbit_set
cmove rsi, rdx
call fcn.14001bc80
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bce0
lea rdx, [0x14009cc48]
lea rcx, [rbp + 0x100]
call fcn.140046d20
test al, 2
lea rcx, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rcx
test al, 4
lea rsi, str.ios_base::badbit_set
cmove rsi, rdx
call fcn.14001bc80
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp - 0x50]
mov rdx, rsi
call fcn.14001bce0
lea rdx, [0x14009cc48]
lea rcx, [rbp + 0x100]
call fcn.140046d20
test al, 2
lea rcx, str.ios_base::eofbit_set
lea rdx, str.ios_base::failbit_set
cmove rdx, rcx
test al, 4
lea rsi, str.ios_base::badbit_set
cmove rsi, rdx
call fcn.14001bc80
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp - 0x50]
mov rdx, rsi
call fcn.14001bce0
lea rdx, [0x14009cc48]
lea rcx, [rbp + 0x100]
call fcn.140046d20
int3