Function at 0x14022a1d0
Capabilities:
Get file attributes

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14022a1d0
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov r14, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rdx, [rbp - 0x41]
add rcx, 0x2b8
call fcn.1401da750
nop
mov rax, qword [rax]
mov qword [rbp + 0x7f], rax
lea edx, [r12 + 0x5c]
lea rcx, [rbp + 0x7f]
call fcn.14001ad10
test eax, eax
setns bl
mov rcx, qword [rbp - 0x41]
add rcx, 0xfffffffffffffff0
lea r13, [0x1402be068]
lea esi, [r12 - 1]
cmp rcx, r13
je 0x14022a24e
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a24e
call fcn.14010a370
test bl, bl
je 0x14022a4bc
lea rdx, [rbp - 0x31]
lea rcx, [r14 + 0x2b8]
call fcn.1401da750
nop
mov rax, qword [rax]
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x67]
lea rcx, [r14 + 0xf8]
call fcn.14015df20
nop
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a29f
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a29f
call fcn.14010a370
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 9]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x14022a331
cmp eax, 0xffffffff
je 0x14022a331
lea rdx, [rbp + 0x67]
mov rcx, r14
call fcn.14022b290
lea rcx, [r14 + 0x100]
call fcn.140019dd0
cmp dword [r14 + 0x108], 0
je 0x14022a2f4
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14 + 0x100], r12
mov dword [r14 + 0x108], r12d
test dword [r14 + 0xf0], 0x100
jne 0x14022a4b6
lea rax, [r13 + 0x10]
mov qword [rbp + 0x77], rax
mov r8b, 1
lea rdx, [rbp + 0x77]
lea rcx, [r14 + 0x2b8]
call fcn.1401df800
nop
mov rcx, qword [rbp + 0x77]
jmp 0x14022a49d
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x67]
call fcn.14015e8e0
mov r8, rax
lea rax, [0x1402be078]
mov qword [rbp + 0x6f], rax
mov ebx, 4
mov dword [rbp - 0x49], ebx
mov rcx, qword [r8]
lea rdx, [rcx - 0x10]
lea edi, [rbx - 3]
cmp rdx, r13
je 0x14022a36c
mov eax, edi
lock xadd dword [rdx], eax
mov rcx, qword [r8]
mov qword [rbp - 1], rcx
xchg qword [rbp + 0x6f], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a38c
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a38c
call fcn.14010a370
and ebx, 0xfffffffb
mov dword [rbp - 0x49], ebx
mov dword [rbp - 0x49], edi
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a3b1
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a3b1
call fcn.14010a370
lea rdx, [rbp + 0x6f]
mov rcx, r14
call fcn.14022b290
mov eax, edi
and eax, 0xfffffffe
mov dword [rbp - 0x49], eax
mov rcx, qword [rbp + 0x6f]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a3e1
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a3e1
call fcn.14010a370
lea rbx, [r14 + 0x100]
mov rcx, rbx
call fcn.140019dd0
cmp dword [rbx + 8], 0
je 0x14022a402
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r12
mov dword [rbx + 8], r12d
mov ecx, dword [rbx + 0xc]
lea r8d, [rcx + 1]
test r8d, r8d
jle 0x14022a42e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edx, [r8 + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, rbx
call fcn.14001aa20
mov ecx, dword [rbx + 0xc]
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
movsxd rcx, ecx
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
mov qword [rbp + 7], rdx
mov rax, qword [rbp + 0x67]
mov qword [rdx], rax
mov rax, qword [rbp + 0x67]
add rax, 0xfffffffffffffff0
cmp rax, r13
je 0x14022a45a
lock xadd dword [rax], edi
mov edx, 0x5c
lea rcx, [rbp + 0x67]
call fcn.14014f7c0
lea r8d, [rax + 1]
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x67]
call fcn.14014d910
mov ebx, 8
mov dword [rbp - 0x49], ebx
mov r8b, 1
mov rdx, rax
lea rcx, [r14 + 0x2b8]
call fcn.1401df800
and ebx, 0xfffffff7
mov dword [rbp - 0x49], ebx
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a4b6
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022a4b6
call fcn.14010a370
nop
mov rcx, qword [rbp + 0x67]
jmp 0x14022a4e8
mov rax, qword [r14 + 0xb0]
mov rbx, qword [rax + 0x18]
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14022ba00
nop
mov rdx, rax
lea rcx, [r14 + 0xb0]
call rbx
nop
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022a4fe
lock xadd dword [rcx], esi
test esi, esi
jne 0x14022a4fe
call fcn.14010a370
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret