Function at 0x1800ef9f0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov rcx, qword [r8]
mov qword [rbp - 0x41], rcx
movsxd rax, dword [r8 + 0x10]
lea rax, [rcx + rax*8]
mov qword [rbp - 0x11], rax
cmp rcx, rax
je 0x1800efda1
lea rsi, [0x1802c0ecc]
nop word [rax + rax]
xor edi, edi
mov eax, dword [rdx + 0x10]
test eax, eax
jle 0x1800efaa4
xor esi, esi
cmp edi, eax
jae 0x1800efa58
mov rax, qword [rdx]
mov rbx, qword [rsi + rax]
jmp 0x1800efa5a
xor ebx, ebx
mov rax, qword [rbx]
mov rdx, rcx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test al, al
je 0x1800efa88
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x7f]
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp + 0x67]
call fcn.1800efdd0
test al, al
jne 0x1800efd80
inc edi
add rsi, 8
mov rdx, qword [rbp + 0x6f]
mov eax, dword [rdx + 0x10]
cmp edi, eax
mov rcx, qword [rbp - 0x41]
jl 0x1800efa4d
lea rsi, [0x1802c0ecc]
mov rdx, rcx
lea rcx, [rbp + 0x77]
call fcn.1800e7430
nop
mov rbx, qword [rbp + 0x77]
cmp byte [rbx], 0
jne 0x1800efac3
lea rdi, [0x1802bcf68]
jmp 0x1800efb23
mov qword [rbp + 7], rbx
lea rcx, [rbp + 7]
call fcn.18001b380
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1800efad4
add rdi, 4
mov ecx, 0xfffffffc
and rdi, rcx
mov qword [rbp + 0x17], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x27]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rbp + 0x77], rbx
movsxd rdi, edi
add rdi, rbx
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rbx
lea rdx, [rbp - 1]
lea rcx, [rbp - 9]
call fcn.18001c460
mov qword [rbp - 0x19], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1800efb40
cmp eax, 0xffffffff
je 0x1800efb40
mov eax, 1
jmp 0x1800efb42
xor eax, eax
test al, al
je 0x1800efd5d
mov qword [rbp - 0x59], 0
mov dword [rbp - 0x51], 0
mov dword [rbp - 0x49], 0
mov qword [rbp - 0x31], 0
mov dword [rbp - 0x29], 0
mov dword [rbp - 0x21], 0
mov qword [rbp + 0xf], rsi
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x39]
call fcn.18001a440
nop
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r8d, 3
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x77]
call fcn.1800e5690
nop
mov rcx, qword [rbp - 0x39]
add rcx, 0xfffffffffffffff0
lea rdx, [0x1802bccb0]
cmp rcx, rdx
je 0x1800efbd7
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800efbd3
call fcn.1800a0c6c
lea rdx, [0x1802bccb0]
mov rbx, qword [rbp + 0x77]
mov rdi, qword [rbp - 0x31]
movsxd rcx, dword [rbp - 0x21]
lea rsi, [rdi + rcx*8]
cmp rdi, rsi
je 0x1800efca5
mov rcx, qword [rbp - 0x59]
mov r8d, dword [rbp - 0x49]
inc r8d
mov r9d, dword [rbp - 0x51]
cmp r8d, r9d
jle 0x1800efc51
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea ebx, [r8 + 8]
add ebx, eax
and ebx, 0xfffffff8
cmp r9d, ebx
je 0x1800efc51
test ebx, ebx
jle 0x1800efc43
movsxd rdx, ebx
test rcx, rcx
jne 0x1800efc31
lea rcx, [rdx*8]
call fcn.1800a0a4c
jmp 0x1800efc3e
lea rdx, [rdx*8]
call fcn.1800a0f0c
mov rcx, rax
jmp 0x1800efc4a
call fcn.1800a09c8
xor ecx, ecx
mov qword [rbp - 0x59], rcx
mov dword [rbp - 0x51], ebx
movsxd rax, dword [rbp - 0x49]
inc dword [rbp - 0x49]
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x1800efc86
mov rax, qword [rdi]
mov qword [rdx], rax
lea rcx, [rax - 0x10]
lea rdx, [0x1802bccb0]
cmp rcx, rdx
je 0x1800efc80
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, qword [rbp - 0x59]
jmp 0x1800efc8d
lea rdx, [0x1802bccb0]
add rdi, 8
cmp rdi, rsi
jne 0x1800efbf0
mov rbx, qword [rbp + 0x77]
mov ecx, dword [rbp - 0x21]
mov rdi, qword [rbp - 0x31]
test ecx, ecx
jle 0x1800efce7
mov ebx, ecx
nop dword [rax + rax]
mov rcx, qword [rdi]
add rcx, 0xfffffffffffffff0
cmp rcx, rdx
je 0x1800efcd6
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800efcd6
call fcn.1800a0c6c
lea rdx, [0x1802bccb0]
add rdi, 8
dec rbx
jne 0x1800efcb0
mov rbx, qword [rbp + 0x77]
mov rdi, qword [rbp - 0x31]
mov rcx, rdi
call fcn.1800a09c8
mov r9, qword [rbp + 0x7f]
lea r8, [rbp - 0x59]
mov rdx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
call fcn.1800ef9f0
nop
xor edi, edi
cmp dword [rbp - 0x49], edi
jle 0x1800efd53
xor ebx, ebx
lea rsi, [0x1802bccb0]
nop word [rax + rax]
mov rax, qword [rbp - 0x59]
mov rcx, qword [rbx + rax]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800efd44
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800efd44
call fcn.1800a0c6c
inc edi
add rbx, 8
cmp edi, dword [rbp - 0x49]
jl 0x1800efd20
mov rbx, qword [rbp + 0x77]
mov rcx, qword [rbp - 0x59]
call fcn.1800a09c8
nop
lea rcx, [rbx - 0x10]
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x1800efd80
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800efd80
call fcn.1800a0c6c
mov rcx, qword [rbp - 0x41]
add rcx, 8
mov qword [rbp - 0x41], rcx
cmp rcx, qword [rbp - 0x11]
mov rdx, qword [rbp + 0x6f]
lea rsi, [0x1802c0ecc]
jne 0x1800efa40
mov rax, qword [rbp + 0x67]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x1800efdb4
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret