Function at 0x1801e78d0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rbp + 0x100], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rbx, r8
mov r12, rcx
cmp byte [0x180421bfd], 0
je 0x1801e7945
mov rax, qword [rcx]
mov qword [rbp + 0x138], rax
lea rcx, [rax - 0x10]
lea r14, [0x1802bccb0]
cmp rcx, r14
je 0x1801e793e
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e793e
call fcn.1800a0c6c
mov al, 1
jmp 0x1801e8175
mov rax, qword [rcx]
mov qword [rbp + 0x110], rax
lea rcx, [rax - 0x10]
lea r14, [0x1802bccb0]
cmp rcx, r14
je 0x1801e7968
mov eax, 1
lock xadd dword [rcx], eax
mov rax, qword [r12]
mov qword [rbp + 0x130], rax
xchg qword [0x180417290], rax
lea rcx, [rax - 0x10]
or r15d, 0xffffffff
cmp rcx, r14
je 0x1801e799a
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, r15d
jne 0x1801e799a
call fcn.1800a0c6c
mov rax, qword [0x180417290]
cmp byte [rax], 0
je 0x1801e810d
lea rdx, [0x180417290]
lea rcx, [rbp + 0x120]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1801e810d
lea rax, [0x1802bccc0]
mov qword [rbp + 0xb0], rax
xor esi, esi
mov qword [rbp + 0xb8], rsi
mov word [rbp + 0xc0], si
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rsi
mov dword [rbp + 0xe0], esi
mov dword [rbp + 0xe8], esi
mov word [rbp + 0xf0], 0x100
lea ecx, [rsi + 0x18]
call fcn.1800a103c
mov rdx, rax
test rax, rax
je 0x1801e7a61
lea rax, vtable.juce::FileInputSource.0
mov qword [rdx], rax
mov rcx, qword [0x180417290]
mov qword [rdx + 8], rcx
mov rcx, qword [0x180417290]
mov qword [rbp + 0x108], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1801e7a5b
mov eax, 1
lock xadd dword [rcx], eax
mov byte [rdx + 0x10], 0
jmp 0x1801e7a64
mov rdx, rsi
mov qword [rbp + 0xf8], rdx
lea rcx, [rbp + 0xb0]
call fcn.1800d0330
mov rbx, rax
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1801e80a0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x1801e80a0
lea rcx, [0x1802cafa8]
lea rbx, [0x1802cb020]
lea r13, [0x1802cb080]
lea r12, [0x1802cb0e8]
mov qword [rbp + 0x198], rcx
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x70]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7b5b
lea rax, [0x1802cafb4]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800cc030
mov rdx, qword [rax]
add rdx, 0xfffffffffffffff0
cmp rdx, r14
je 0x1801e7b0a
mov ecx, 1
lock xadd dword [rdx], ecx
mov rcx, qword [rax]
xchg qword [0x180423a58], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1801e7b30
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e7b30
call fcn.1800a0c6c
lea rax, [0x1802c69fc]
mov qword [rbp + 0x10], rax
xorps xmm2, xmm2
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800cbe80
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [0x180416c4c], xmm1
inc esi
lea rax, [0x1802caff8]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x98], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x98]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7be2
lea rax, [0x1802cafe0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800cc030
mov rdx, qword [rax]
add rdx, 0xfffffffffffffff0
cmp rdx, r14
je 0x1801e7bba
mov ecx, 1
lock xadd dword [rdx], ecx
mov rcx, qword [rax]
xchg qword [0x180423ca0], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1801e7be0
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e7be0
call fcn.1800a0c6c
inc esi
lea rax, [0x1802cafe8]
mov qword [rbp + 0x20], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7c2e
mov qword [rbp + 0x88], rbx
xor r8d, r8d
lea rdx, [rbp + 0x88]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
inc esi
lea rax, [0x1802cb028]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x30], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7c9b
lea rax, [0x1802cb008]
mov qword [rbp - 0x80], rax
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
lea rax, [0x1802cb010]
mov qword [rbp + 0x68], rax
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
inc esi
lea rax, [0x1802cb058]
mov qword [rbp - 0x70], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x40], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x40]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7d0c
lea rax, [0x1802cb060]
mov qword [rbp - 0x60], rax
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
lea rax, [0x1802cb038]
mov qword [rbp + 0x80], rax
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
inc esi
lea rax, [0x1802cb048]
mov qword [rbp - 0x50], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x50]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7d7d
lea rax, [0x1802cb088]
mov qword [rbp - 0x40], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1800cbd20
mov byte [0x180421bfc], al
lea rax, [0x1802cb098]
mov qword [rbp + 0x90], rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.1800cbd20
mov byte [0x180421b83], al
inc esi
lea rax, str.UseV2Engine
mov qword [rbp - 0x30], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x60], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x60]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7dbf
mov qword [rbp - 0x20], r13
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1800cbd20
mov byte [0x180421bfc], al
lea rax, str.UseOldV2PhaseMode
mov qword [rbp + 0xa0], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x10]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7e07
mov qword [rbp + 0x78], r12
xor r8d, r8d
lea rdx, [rbp + 0x78]
mov rcx, rdi
call fcn.1800cbd20
mov byte [0x180421bfc], al
lea rax, str.SoundBankFolder
mov qword [rbp], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x20]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7ea6
lea rax, [0x1802cb0c0]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1800cbf10
test eax, eax
jne 0x1801e7ea6
lea rax, [0x1802cb104]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1800cc030
mov rdx, qword [rax]
add rdx, 0xfffffffffffffff0
cmp rdx, r14
je 0x1801e7e80
mov ecx, 1
lock xadd dword [rdx], ecx
mov rcx, qword [rax]
xchg qword [0x180417298], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1801e7ea6
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e7ea6
call fcn.1800a0c6c
lea rax, [0x1802cb110]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7f4b
lea rax, [0x1802cb0f0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1800cc030
mov rdx, qword [rax]
add rdx, 0xfffffffffffffff0
cmp rdx, r14
je 0x1801e7f01
mov ecx, 1
lock xadd dword [rdx], ecx
mov rcx, qword [rax]
xchg qword [0x180417298], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1801e7f27
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e7f27
call fcn.1800a0c6c
lea rax, [0x1802cb0f8]
mov qword [rsp + 0x78], rax
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1800cbd20
mov byte [reloc.WS2_32.dll_accept], al
inc esi
lea rax, [0x1802cb148]
mov qword [rbp - 0x78], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x68]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e7fdc
lea rax, [0x1802cb158]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.1800cc030
mov rdx, rax
lea rcx, [0x180417278]
call fcn.1800da540
lea rax, [0x1802cb128]
mov qword [rbp - 0x48], rax
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1800cbf10
mov dword [reloc.WS2_32.dll_accept], eax
lea rax, [0x1802cb138]
mov qword [rbp - 0x38], rax
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.1800cbd20
mov byte [0x180421bfe], al
inc esi
lea rax, [0x1802cb170]
mov qword [rbp - 0x28], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e8051
lea rax, [0x1802cb17c]
mov qword [rbp - 8], rax
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.1800cc030
mov rdx, rax
lea rcx, [0x180417280]
call fcn.1800da540
lea rax, str.dmdata
mov qword [rbp + 8], rax
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.1800cc030
mov rdx, rax
lea rcx, [0x180417288]
call fcn.1800da540
lea rax, str.KEYMAPPINGS
mov qword [rbp + 0x18], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x28]
call fcn.180019ca0
test eax, eax
sete al
test al, al
je 0x1801e8082
mov rdx, rdi
call fcn.1800ccd40
mov rdi, qword [rdi]
test rdi, rdi
lea rcx, [0x1802cafa8]
jne 0x1801e7ab0
mov rbx, qword [rbp + 0x38]
mov r12, qword [rbp + 0x180]
mov dil, 1
mov byte [0x180421bfd], dil
cmp esi, 8
je 0x1801e80bd
call fcn.1801e6f80
movzx edi, al
mov byte [0x180421bfd], al
test rbx, rbx
je 0x1801e80d3
mov rcx, rbx
call fcn.1800ccc50
mov rcx, rbx
call fcn.1800a0ca0
nop
lea rcx, [rbp + 0xb0]
call fcn.1800d07b0
nop
mov rax, qword [r12]
mov qword [rbp + 0x118], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x1801e8107
lock xadd dword [rcx], r15d
lea edx, [r15 - 1]
cmp edx, 0xffffffff
jne 0x1801e8107
call fcn.1800a0c6c
movzx eax, dil
jmp 0x1801e8175
lea rax, str.file_not_found
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x58]
call fcn.18001a440
mov rax, qword [rbx]
mov rcx, qword [rbp + 0x58]
mov qword [rbx], rcx
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x1801e814c
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1801e814c
call fcn.1800a0c6c
nop
mov rax, qword [r12]
mov qword [rbp + 0x128], rax
lea rcx, [rax - 0x10]
cmp rcx, r14
je 0x1801e8173
lock xadd dword [rcx], r15d
lea eax, [r15 - 1]
cmp eax, 0xffffffff
jne 0x1801e8173
call fcn.1800a0c6c
xor al, al
mov rbx, qword [rsp + 0x288]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret