Function at 0x1402240e0
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.14016aa10
mov qword [rsp + 0x50], rdi
mov rcx, qword [r15 + 0x20]
mov qword [r15 + 0x20], rdi
mov qword [rsp + 0x50], rcx
lea esi, [rdi - 1]
test rcx, rcx
je 0x140224156
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140224156
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
mov rcx, qword [r15 + 0x28]
sub rcx, 0x10
lea rax, [0x1402be068]
cmp rcx, rax
je 0x140224179
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140224179
call fcn.14010a370
lea rax, [0x1402be078]
mov qword [r15 + 0x28], rax
lea rcx, [r15 - 0xb0]
mov edx, dword [rcx + 0x2c]
mov eax, dword [rcx + 0x28]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], edx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
mov r8b, 1
lea rdx, [rbp + 0x30]
call fcn.140242a40
lea rdx, [r15 + 0x18]
lea rcx, [rbp - 0x10]
call fcn.14015c110
nop
mov rax, qword [rbp + 0x10]
cmp byte [rax], 0
jne 0x140224566
mov rax, qword [r15 + 0x18]
cmp byte [rax], 0
je 0x140224566
lea rdx, [r15 + 0x18]
lea rcx, [rbp + 0x20]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x140224566
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax + 0xa8]
mov r12, rax
call fcn.140026330
mov rdi, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140224566
nop
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x10]
lea rdx, [rbp - 0x10]
call r8
movzx ebx, al
mov rcx, qword [rbp - 0x10]
mov r8, qword [rcx + 0xb0]
mov rdx, r12
lea rcx, [rbp - 0x10]
call r8
test bl, bl
jne 0x14022425b
add rdi, 8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140224220
jmp 0x140224566
mov rdi, qword [rdi]
test rdi, rdi
je 0x140224566
mov rax, qword [rdi]
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rax]
mov qword [r15 + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1402242a8
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1402242a8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x140224566
mov r12d, dword [rax + 0x14]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
mov edx, 0x5c
lea rcx, [r15 + 0x18]
call fcn.14014f7c0
lea r8d, [rax + 1]
lea rdx, [rbp - 0x38]
lea rcx, [r15 + 0x18]
call fcn.14014d910
mov dword [rsp + 0x30], 1
mov rdx, rax
lea rcx, [r15 + 0x28]
call fcn.14014ff80
mov rbx, rax
lea rax, [0x1402c3fad]
mov qword [rsp + 0x60], rax
lea rax, [0x1402c3fac]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140150100
mov rdx, qword [rdi]
mov r8, qword [rdx + 8]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call r8
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014ff80
mov rbx, rax
lea rax, [0x1402c4005]
mov qword [rsp + 0x70], rax
lea rax, [0x1402c4004]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140150100
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.1401515f0
lea rcx, [rbp + 0x50]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140150100
lea rax, [0x1402c3f97]
mov qword [rbp - 0x70], rax
lea rax, [0x1402c3f94]
mov qword [rbp - 0x68], rax
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140150100
mov edi, dword [rsp + 0x38]
mov edx, edi
lea rcx, [rbp + 0x60]
call fcn.1401515f0
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x60], rax
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140150100
lea rax, [0x1402c4158]
mov qword [rbp - 0x58], rax
lea rax, str._pixels_n
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140150100
lea rcx, [r15 + 0x18]
call fcn.140136a80
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14015dc20
nop
mov rdx, rax
mov rcx, rbx
call fcn.14014ff80
nop
mov rcx, qword [rbp - 0x48]
add rcx, 0xfffffffffffffff0
lea rbx, [0x1402be068]
cmp rcx, rbx
je 0x140224451
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140224451
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rbx
je 0x14022446d
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022446d
call fcn.14010a370
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, rbx
je 0x140224495
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140224495
call fcn.14010a370
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [r15 - 0x88]
mulss xmm0, dword [0x1403a8a30]
cvtps2pd xmm1, xmm0
movsd xmm2, qword [0x1403a8d30]
addsd xmm1, xmm2
movsd qword [rbp - 0x30], xmm1
mov eax, dword [r15 - 0x84]
add eax, 0xffffffcc
xorps xmm4, xmm4
cvtsi2sd xmm4, edi
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
divsd xmm1, xmm4
xorps xmm5, xmm5
cvtsi2sd xmm5, r12d
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rbp - 0x30]
divsd xmm0, xmm5
movsd xmm3, qword [0x1403a8b18]
comisd xmm3, xmm0
jbe 0x140224501
minsd xmm1, xmm0
jmp 0x140224505
minsd xmm1, xmm3
movaps xmm0, xmm1
mulsd xmm0, xmm5
addsd xmm0, xmm2
movsd qword [rbp - 0x20], xmm0
mulsd xmm1, xmm4
addsd xmm1, xmm2
movsd qword [rbp - 0x28], xmm1
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbp - 0x20]
lea rdx, [rbp - 0x18]
lea rcx, [r15 + 0x20]
call fcn.1401af980
nop
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rax]
mov qword [r15 + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140224566
lock xadd dword [rcx + 8], esi
lea eax, [rsi - 1]
test eax, eax
jne 0x140224566
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rcx, [rbp - 0x10]
call fcn.140136da0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret