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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x188
mov qword [rbp + 0x18], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
mov r13, rcx
lea rdx, [rbp - 0x80]
call fcn.180205c80
nop
xor ebx, ebx
mov r12d, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x40], ebx
lea rax, [0x1802c64b4]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xe8]
call fcn.18001a440
nop
lea rcx, [r13 + 0xc428]
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x48]
call fcn.1800e5690
nop
mov rcx, qword [rbp + 0xe8]
add rcx, 0xfffffffffffffff0
lea rdi, [0x1802bccb0]
or r14, 0xffffffffffffffff
cmp rcx, rdi
je 0x180205316
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, r14d
jne 0x180205316
call fcn.1800a0c6c
mov r15d, ebx
cmp dword [rsp + 0x58], ebx
jle 0x180205846
lea rax, [0x1802d32e8]
mov qword [rbp], rax
mov esi, 0xfffffffc
movss xmm8, dword [0x180393068]
movss xmm9, dword [0x1803930c0]
movss xmm7, dword [0x1803936ec]
nop dword [rax]
mov r8d, r15d
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.18004e290
nop
lea r8, [rbp]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.1800e6340
nop
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x180205396
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180205396
call fcn.1800a0c6c
mov rbx, qword [rbp + 0xe0]
cmp byte [rbx], 0
je 0x18020541e
mov qword [rbp - 0x28], rbx
lea rcx, [rbp - 0x28]
call fcn.18001b380
mov rdi, r14
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1802053b2
add rdi, 4
and rdi, rsi
mov qword [rbp - 0x68], rbx
lea r8, [rax + 3]
add r8, rdi
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x28]
call fcn.180012500
mov rax, qword [rax]
mov qword [rbp + 0xe0], rax
movsxd rbx, edi
add rbx, rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.18001c460
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, qword [rbp + 0xe0]
cmp eax, 0xffffffff
je 0x18020541e
mov eax, 1
xor r13d, r13d
jmp 0x180205424
xor r13d, r13d
mov eax, r13d
test al, al
je 0x18020580e
mov ecx, 0x28
call fcn.1800a103c
mov rsi, rax
test rax, rax
je 0x18020545a
lea rax, [0x1802bccc0]
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r13
mov dword [rsi + 0x18], r13d
mov dword [rsi + 0x20], r13d
jmp 0x18020545d
mov rsi, r13
mov r8d, r15d
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x48]
call fcn.18004e290
mov rcx, qword [rsi + 8]
mov rdx, qword [rax]
mov qword [rsi + 8], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff0
lea rdi, [0x1802bccb0]
cmp rcx, rdi
je 0x1802054a3
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802054a3
call fcn.1800a0c6c
mov r8d, r15d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x48]
call fcn.18004e290
nop
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.1800ec330
mov rcx, qword [rsi]
mov rdx, qword [rax]
mov qword [rsi], rdx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x48]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1802054ee
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802054ee
call fcn.1800a0c6c
nop
mov rcx, qword [rbp - 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18020550e
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18020550e
call fcn.1800a0c6c
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x70], r13d
lea rax, [0x1802c64c4]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x78]
call fcn.18001a440
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 8]
call fcn.1800e5690
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
lea rbx, [0x1802bccb0]
cmp rcx, rbx
je 0x18020557e
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18020557e
call fcn.1800a0c6c
mov edi, r13d
cmp dword [rsp + 0x70], 0
jle 0x1802056cc
lea rax, str.Scale
mov qword [rbp - 0x10], rax
nop word [rax + rax]
mov r8d, edi
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.18004e290
nop
lea rdx, [rbp + 0xd8]
mov rcx, rax
call fcn.1800ec330
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, rbx
je 0x1802055e2
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802055e2
call fcn.1800a0c6c
mov rbx, qword [rbp + 0xd8]
mov qword [rbp - 8], rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.18001aec0
test eax, eax
js 0x18020569a
mov r8d, 6
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.1800ea310
mov rcx, rbx
mov rbx, qword [rax]
mov qword [rbp + 0xd8], rbx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x70]
add rcx, 0xfffffffffffffff0
lea r13, [0x1802bccb0]
cmp rcx, r13
je 0x180205656
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18020564f
call fcn.1800a0c6c
mov rbx, qword [rbp + 0xd8]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x60]
call fcn.180019f50
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
mulss xmm6, xmm8
comiss xmm6, xmm9
jb 0x18020569a
comiss xmm6, xmm7
ja 0x18020569a
mov r8d, edi
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.18004e290
mov r8, rax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.18008af80
nop
lea rcx, [rbx - 0x10]
lea rbx, [0x1802bccb0]
cmp rcx, rbx
je 0x1802056bd
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802056bd
call fcn.1800a0c6c
inc edi
cmp edi, dword [rsp + 0x70]
jl 0x1802055a0
xor r13d, r13d
cmp dword [rsi + 0x20], 0
jle 0x1802057a1
mov edi, dword [rsp + 0x40]
inc edi
mov ecx, dword [rsp + 0x38]
cmp edi, ecx
jle 0x180205741
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea ebx, [rdi + 8]
add ebx, eax
and ebx, 0xfffffff8
cmp ecx, ebx
je 0x180205741
test ebx, ebx
jle 0x18020572e
movsxd rdx, ebx
cmp qword [rsp + 0x30], 0
jne 0x180205715
lea rcx, [rdx*8]
call fcn.1800a0a4c
jmp 0x180205727
lea rdx, [rdx*8]
mov rcx, qword [rsp + 0x30]
call fcn.1800a0f0c
mov qword [rsp + 0x30], rax
jmp 0x18020573d
mov rcx, qword [rsp + 0x30]
call fcn.1800a09c8
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], ebx
movsxd rcx, dword [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x18020575b
mov qword [rdx], rsi
mov rax, qword [rsi]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp - 0x80]
cmp rcx, rax
je 0x180205784
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rcx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.18001b990
test eax, eax
jne 0x1802057b2
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x18020579c
mov rcx, rax
mov rax, qword [rsp + 0x30]
mov r12, qword [rax + rcx*8 - 8]
jmp 0x1802057b2
mov r12, r13
jmp 0x1802057b2
mov rcx, rsi
call fcn.180088850
mov rcx, rsi
call fcn.1800a0ca0
nop
mov eax, dword [rsp + 0x70]
test eax, eax
jle 0x1802057f8
mov rbx, qword [rsp + 0x60]
mov edi, eax
lea r13, [0x1802bccb0]
nop dword [rax + rax]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x1802057ef
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802057ef
call fcn.1800a0c6c
add rbx, 8
dec rdi
jne 0x1802057d0
mov rcx, qword [rsp + 0x60]
call fcn.1800a09c8
mov rbx, qword [rbp + 0xe0]
mov esi, 0xfffffffc
lea rcx, [rbx - 0x10]
lea rdi, [0x1802bccb0]
cmp rcx, rdi
je 0x180205831
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180205831
call fcn.1800a0c6c
inc r15d
cmp r15d, dword [rsp + 0x58]
jl 0x180205350
mov r13, qword [rbp + 0xd0]
mov qword [r13 + 0xc430], r12
lea rsi, [r13 + 0xc3e0]
mov qword [rbp + 0xd0], rsi
cmp dword [rsi + 0x10], 0
jle 0x18020594e
nop word [rax + rax]
mov eax, dword [rsi + 0x10]
dec eax
mov dword [rsi + 0x10], eax
movsxd rcx, eax
mov rax, qword [rsi]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je 0x180205944
cmp dword [rbx + 0x20], 0
jle 0x1802058f4
lea rsi, [0x1802bccb0]
nop dword [rax + rax]
mov eax, dword [rbx + 0x20]
dec eax
mov dword [rbx + 0x20], eax
movsxd rcx, eax
mov rax, qword [rbx + 0x10]
mov rdi, qword [rax + rcx*8]
test rdi, rdi
je 0x1802058e0
mov rcx, qword [rdi + 8]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1802058d8
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1802058d8
call fcn.1800a0c6c
mov rcx, rdi
call fcn.1800a0ca0
cmp dword [rbx + 0x20], 0
jg 0x1802058a0
mov rsi, qword [rbp + 0xd0]
lea rdi, [0x1802bccb0]
mov rcx, qword [rbx + 0x10]
call fcn.1800a09c8
mov rcx, qword [rbx + 8]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18020591d
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18020591d
call fcn.1800a0c6c
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18020593c
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18020593c
call fcn.1800a0c6c
mov rcx, rbx
call fcn.1800a0ca0
cmp dword [rsi + 0x10], 0
jg 0x180205870
cmp dword [rsi + 8], 0
je 0x180205966
mov rcx, qword [rsi]
call fcn.1800a09c8
xor eax, eax
mov qword [rsi], rax
mov dword [rsi + 8], eax
jmp 0x180205968
xor eax, eax
mov dword [rsi + 0x10], eax
mov r8d, dword [rsp + 0x40]
add r8d, eax
cmp r8d, dword [rsi + 8]
jle 0x180205992
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edx, [r8 + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, rsi
call fcn.180007ec0
mov r9d, dword [rsp + 0x40]
dec r9d
js 0x1802059bb
mov r8, qword [rsp + 0x30]
mov rdx, qword [r8]
movsxd rcx, dword [rsi + 0x10]
mov rax, qword [rsi]
mov qword [rax + rcx*8], rdx
lea r8, [r8 + 8]
inc dword [rsi + 0x10]
dec r9d
jns 0x1802059a1
mov rcx, qword [rsp + 0x30]
call fcn.1800a09c8
nop
mov eax, dword [rsp + 0x58]
test eax, eax
jle 0x180205a0f
mov rbx, qword [rsp + 0x48]
mov edi, eax
nop word [rax + rax]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x180205a06
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180205a06
call fcn.1800a0c6c
add rbx, 8
dec rdi
jne 0x1802059e0
mov rcx, qword [rsp + 0x48]
call fcn.1800a09c8
nop
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x180205a41
lock xadd dword [rcx], r14d
lea eax, [r14 - 1]
cmp eax, 0xffffffff
jne 0x180205a41
call fcn.1800a0c6c
lea r11, [rsp + 0x188]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret