Function at 0x1401f2cd0
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, 0xb8
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov rcx, qword [r8]
mov qword [rbp - 0x31], rcx
movsxd rax, dword [r8 + 0x10]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x1f], rax
cmp rcx, rax
je 0x1401f304a
lea rsi, [0x1402944ac]
nop word [rax + rax]
xor edi, edi
mov eax, dword [rdx + 0x10]
test eax, eax
jle 0x1401f2d84
xor esi, esi
cmp edi, eax
jae 0x1401f2d38
mov rax, qword [rdx]
mov rbx, qword [rsi + rax]
jmp 0x1401f2d3a
xor ebx, ebx
mov rax, qword [rbx]
mov rdx, rcx
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test al, al
je 0x1401f2d68
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp + 0x7f]
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp + 0x67]
call fcn.1401f3070
test al, al
jne 0x1401f3029
inc edi
add rsi, 8
mov rdx, qword [rbp + 0x6f]
mov eax, dword [rdx + 0x10]
cmp edi, eax
mov rcx, qword [rbp - 0x31]
jl 0x1401f2d2d
lea rsi, [0x1402944ac]
mov rdx, rcx
lea rcx, [rbp + 0x77]
call fcn.1401810f0
nop
mov rbx, qword [rbp + 0x77]
cmp byte [rbx], 0
jne 0x1401f2da3
lea rdi, [0x14028fdf4]
jmp 0x1401f2e03
mov qword [rbp - 9], rbx
lea rcx, [rbp - 9]
call fcn.140034240
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1401f2db4
add rdi, 4
mov ecx, 0xfffffffc
and rdi, rcx
mov qword [rbp - 1], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x2f]
call fcn.14003e200
mov rbx, qword [rax]
mov qword [rbp + 0x77], rbx
movsxd rdi, edi
add rdi, rbx
mov qword [rbp + 0xf], rdi
mov qword [rbp + 7], rbx
lea rdx, [rbp + 7]
lea rcx, [rbp + 0xf]
call fcn.140048370
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x1401f2e1d
cmp eax, 0xffffffff
je 0x1401f2e1d
mov eax, 1
jmp 0x1401f2e1f
xor eax, eax
test al, al
je 0x1401f3009
mov qword [rbp - 0x49], 0
mov dword [rbp - 0x41], 0
mov dword [rbp - 0x39], 0
mov qword [rbp - 0x21], 0
mov dword [rbp - 0x19], 0
mov dword [rbp - 0x11], 0
mov qword [rbp + 0x17], rsi
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.1400461b0
nop
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x77]
call fcn.1401807c0
nop
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
lea r8, [0x1402901c8]
cmp rcx, r8
je 0x1401f2ea7
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401f2ea7
call fcn.1400bd658
lea r8, [0x1402901c8]
mov rbx, qword [rbp - 0x21]
movsxd rcx, dword [rbp - 0x11]
lea rsi, [rbx + rcx*8]
cmp rbx, rsi
je 0x1401f2f64
mov rcx, qword [rbp - 0x49]
mov edx, dword [rbp - 0x39]
inc edx
cmp edx, dword [rbp - 0x41]
jle 0x1401f2f1d
mov eax, edx
test edx, edx
jns 0x1401f2ed3
lea eax, [rdx + 1]
sar eax, 1
lea edi, [rdx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [rbp - 0x41], edi
je 0x1401f2f1d
test edi, edi
jle 0x1401f2f0f
movsxd rdx, edi
test rcx, rcx
jne 0x1401f2efd
lea rcx, [rdx*8]
call fcn.1400c1e7c
jmp 0x1401f2f0a
lea rdx, [rdx*8]
call fcn.1400c1bc8
mov rcx, rax
jmp 0x1401f2f16
call fcn.1400c1bd0
xor ecx, ecx
mov qword [rbp - 0x49], rcx
mov dword [rbp - 0x41], edi
movsxd rax, dword [rbp - 0x39]
inc dword [rbp - 0x39]
lea rdx, [rcx + rax*8]
lea r8, [0x1402901c8]
test rdx, rdx
je 0x1401f2f50
mov rax, qword [rbx]
mov qword [rdx], rax
lea rcx, [rax - 0x10]
cmp rcx, r8
je 0x1401f2f4c
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, qword [rbp - 0x49]
add rbx, 8
cmp rbx, rsi
jne 0x1401f2ec0
mov ecx, dword [rbp - 0x11]
mov rbx, qword [rbp - 0x21]
test ecx, ecx
jle 0x1401f2fa1
mov edi, ecx
nop word [rax + rax]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
cmp rcx, r8
je 0x1401f2f93
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401f2f93
call fcn.1400bd658
lea r8, [0x1402901c8]
add rbx, 8
sub rdi, 1
jne 0x1401f2f70
mov rbx, qword [rbp - 0x21]
mov rcx, rbx
call fcn.1400c1bd0
mov r9, qword [rbp + 0x7f]
lea r8, [rbp - 0x49]
mov rdx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
call fcn.1401f2cd0
nop
xor ebx, ebx
cmp dword [rbp - 0x39], ebx
jle 0x1401f2ffc
xor edi, edi
lea rsi, [0x1402901c8]
nop
mov rax, qword [rbp - 0x49]
mov rcx, qword [rdi + rax]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1401f2ff1
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401f2ff1
call fcn.1400bd658
inc ebx
add rdi, 8
cmp ebx, dword [rbp - 0x39]
jl 0x1401f2fd0
mov rcx, qword [rbp - 0x49]
call fcn.1400c1bd0
mov rbx, qword [rbp + 0x77]
lea rcx, [rbx - 0x10]
lea rax, [0x1402901c8]
cmp rcx, rax
je 0x1401f3029
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401f3029
call fcn.1400bd658
mov rcx, qword [rbp - 0x31]
add rcx, 8
mov qword [rbp - 0x31], rcx
cmp rcx, qword [rbp + 0x1f]
mov rdx, qword [rbp + 0x6f]
lea rsi, [0x1402944ac]
jne 0x1401f2d20
mov rax, qword [rbp + 0x67]
mov rcx, qword [rax + 0x68]
test rcx, rcx
je 0x1401f305d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add rsp, 0xb8
pop rdi
pop rsi
pop rbx
pop rbp
ret