Function at 0x180204de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x108
mov qword [rbp - 0x38], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rdi, rdx
mov r14, rcx
mov rax, qword [rdx + 8]
mov qword [rbp + 0x68], rax
lea rcx, [rax - 0x10]
lea r15, [0x1802bccb0]
cmp rcx, r15
je 0x180204e35
mov eax, 1
lock xadd dword [rcx], eax
xor r12d, r12d
or rsi, 0xffffffffffffffff
cmp dword [r14 + 0xc3c0], r12d
jle 0x1802051d8
xor r13d, r13d
xorps xmm7, xmm7
nop
mov rax, qword [r14 + 0xc3b0]
mov r15, qword [r13 + rax]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1801f4a90
nop
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x68]
call fcn.1800e6340
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x180204eaa
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180204eaa
call fcn.1800a0c6c
mov rbx, qword [rbp + 0x50]
cmp byte [rbx], 0
je 0x180204f30
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x70]
call fcn.18001b380
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], 0
jne 0x180204ec3
add rdi, 4
mov ecx, 0xfffffffc
and rdi, rcx
mov qword [rsp + 0x50], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.180012500
mov rax, qword [rax]
mov qword [rbp + 0x50], rax
movsxd rbx, edi
add rbx, rax
mov qword [rsp + 0x60], rbx
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.18001c460
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, qword [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180204fbb
mov rdi, qword [rbp + 0x58]
movss xmm0, dword [r14 + 0xc458]
ucomiss xmm0, xmm7
je 0x180204fbb
movss xmm6, dword [rdi]
divss xmm6, dword [r15 + 0x38]
movd xmm0, dword [r15 + 0x48]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
call fcn.1800250d0
mov ebx, eax
movd xmm0, dword [r15 + 0x4c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
call fcn.1800250d0
mov r8d, eax
mov edx, ebx
mov rcx, r15
call fcn.1801f4df0
cmp byte [r14 + 0xc471], 0
jne 0x1802050d7
mov rax, qword [rbp + 0x50]
mov qword [rbp - 0x60], rax
lea rdx, [rax - 0x10]
lea rax, [0x1802bccb0]
cmp rdx, rax
je 0x180204faa
mov eax, 1
lock xadd dword [rdx], eax
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.1801f5280
jmp 0x1802050d7
cmp byte [rbx], 0
je 0x180205183
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x70]
call fcn.18001b380
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], 0
jne 0x180204fd6
add rdi, 4
mov ecx, 0xfffffffc
and rdi, rcx
mov qword [rbp - 0x48], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180012500
mov rax, qword [rax]
mov qword [rbp + 0x50], rax
movsxd rbx, edi
add rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.18001c460
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18020517f
mov qword [rbp + 0x60], 0
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rax - 0x10]
lea rdi, [0x1802bccb0]
cmp rcx, rdi
je 0x180205063
mov eax, 1
lock xadd dword [rcx], eax
lea rcx, [r14 + 0xc478]
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x60]
call fcn.1801eaaf0
mov rbx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x50]
test rbx, rbx
je 0x180205137
mov qword [rsp + 0x48], rax
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1802050a4
mov eax, 1
lock xadd dword [rcx], eax
mov rbx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x58]
movss xmm3, dword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x60]
mov rcx, r15
call fcn.1801f5040
cmp eax, 2
je 0x180205116
lock dec dword [rbx + 8]
jne 0x1802050d7
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff0
lea r15, [0x1802bccb0]
cmp rcx, r15
je 0x1802050fd
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802050fd
call fcn.1800a0c6c
inc r12d
add r13, 8
cmp r12d, dword [r14 + 0xc3c0]
jl 0x180204e50
jmp 0x1802051d8
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x58], rax
lea rax, str.Height_is_not_a_valid_multitude_of_frames
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
jmp 0x180205150
mov qword [rsp + 0x78], rax
lea rax, str.Error_loading_image_file:
mov qword [rbp - 0x78], rax
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x78]
mov dword [rsp + 0x20], 2
mov r9b, 1
mov rcx, r14
call fcn.1802041b0
nop
test rbx, rbx
je 0x1802051ae
lock dec dword [rbx + 8]
jne 0x1802051ae
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1802051ae
mov rbx, qword [rbp + 0x50]
mov qword [rbp - 0x68], rbx
lea rax, [0x1802d3380]
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x20], 2
mov r9b, 1
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1802041b0
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff0
lea r15, [0x1802bccb0]
cmp rcx, r15
je 0x1802051d4
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802051d4
call fcn.1800a0c6c
xor bl, bl
jmp 0x1802051e3
mov eax, dword [rdi]
mov dword [r14 + 0xc458], eax
mov bl, 1
mov rax, qword [rbp + 0x68]
lea rcx, [rax - 0x10]
cmp rcx, r15
je 0x180205201
lock xadd dword [rcx], esi
lea edx, [rsi - 1]
cmp edx, 0xffffffff
jne 0x180205201
call fcn.1800a0c6c
movzx eax, bl
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xe0]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret