Function at 0x14001aa30
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 0x14001af30
mov rsi, rdx
call fcn.14001bad0
test rax, rax
je 0x14001af30
mov r14, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001ad85
lea rax, [0x1400912e8]
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xf8], 0
lea rax, [0x140091300]
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.140044bc4
mov rdi, rax
mov cl, 1
call fcn.140045388
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.14001bb70
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 0x14001ab70
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001ab70
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov byte [rbp + 0xf8], bl
cmp qword [rbp + 0xe8], 0
jne 0x14001aba0
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 0x14001b134
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1400912f0]
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, [0x140091450]
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.140044bc4
mov rdi, rax
mov qword [rbp + 0x140], r14
mov cl, 1
call fcn.140045388
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, [0x1400913d0]
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.140045528
test rax, rax
je 0x14001ad92
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.14004a904
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.14001c1c0
mov rsi, rax
mov rax, qword [rax]
mov rcx, rsi
call qword [rax + 0x18]
test al, al
je 0x14001add1
xor esi, esi
jmp 0x14001adfb
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001af30
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 0x14001b195
mov rdi, qword [rbp + 0x140]
jmp 0x14001ae2b
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 0x14001ae2b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001ae2b
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 0x14001ae4b
lea rcx, [rbp - 0x10]
call fcn.14001c530
mov rcx, rdi
jmp 0x14001aee0
lea rcx, [rbp + 0x100]
lea rdx, [rbp - 0x10]
call fcn.14001c6d0
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
test byte [rbp + rax], 6
je 0x14001ae7b
mov qword [rbp - 0x38], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
jmp 0x14001ae9e
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 0x14001aebc
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 0x14001af46
lea rcx, [rbp - 0x10]
call fcn.14001c530
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
xor edi, edi
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
lea rcx, [0x1400912f0]
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.14001c3a0
lea rax, [0x1400912f8]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0xa0]
call fcn.140045660
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.140044c3c
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 0x14001b1f6
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call fcn.14001c6d0
mov rax, qword [rbp - 0x10]
movsxd rax, dword [rax + 4]
mov dword [rbp + 0x14c], 0
test byte [rbp + rax], 6
jne 0x14001afe4
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 0x14001b256
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rax + rcx + 0x48]
test rcx, rcx
je 0x14001b032
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.14001c6d0
cmp byte [rbp - 0x18], 0
je 0x14001b08b
test rsi, rsi
jle 0x14001b08b
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 0x14001b095
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 0x14001b2ad
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 0x14001b0ea
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001c530
mov rcx, rsi
mov rdi, qword [rbp - 0x40]
mov rdx, rdi
call fcn.14001c880
mov ebx, eax
mov rcx, rdi
call fcn.140044c08
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
xor edi, edi
test bl, bl
je 0x14001aee7
mov edi, 1
lea rcx, str.successful.wav
call fcn.140015440
jmp 0x14001aee7
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.14001bd60
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bdc0
lea rdx, [0x14009e848]
lea rcx, [rbp + 0x100]
call fcn.140046d60
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.14001bd60
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bdc0
lea rdx, [0x14009e848]
lea rcx, [rbp + 0x100]
call fcn.140046d60
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.14001bd60
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x128]
mov rdx, rsi
call fcn.14001bdc0
lea rdx, [0x14009e848]
lea rcx, [rbp + 0x100]
call fcn.140046d60
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.14001bd60
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp - 0x50]
mov rdx, rsi
call fcn.14001bdc0
lea rdx, [0x14009e848]
lea rcx, [rbp + 0x100]
call fcn.140046d60
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.14001bd60
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x100]
lea r8, [rbp - 0x50]
mov rdx, rsi
call fcn.14001bdc0
lea rdx, [0x14009e848]
lea rcx, [rbp + 0x100]
call fcn.140046d60
int3