Function at 0x180086250
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x180168908]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x58], rdx
mov r9, r8
mov r8d, 0x1a
lea rdx, [rbp - 0x48]
call fcn.180087010
nop
xor r14d, r14d
cmp qword [rbp - 0x38], r14
je 0x1800862bc
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180086345
mov r9, rsi
mov r8d, 1
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.180087010
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x180086305
lea rcx, [rbp - 0x48]
call fcn.1800198f0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180086345
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180086340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086525
call fcn.1800a4c5c
cmp qword [rbp - 0x38], r14
jne 0x1800863b6
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
xor r8d, r8d
lea rdx, [0x18010e038]
mov rcx, rdi
call fcn.180019da0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800864fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800864f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008651f
jmp 0x1800864f7
call fcn.180009090
mov rcx, rax
test rax, rax
je 0x18008652b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
call fcn.180009090
mov rcx, rax
test rax, rax
je 0x180086536
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x18008643c
cmp rbx, 0x10000
jae 0x180086425
movzx edx, bx
lea rcx, [rbp - 0x60]
call fcn.180012580
jmp 0x18008644f
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180086430
jmp 0x18008643f
mov eax, r14d
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.180009210
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
call fcn.18002ab00
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18008647a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rbx, qword [rbp - 0x58]
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x180086491
mov rdx, rbx
mov rcx, rdi
call fcn.180019da0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1800864c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800864fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800864f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086519
call fcn.1800a4c5c
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800a5130
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800d79f8
int3
call fcn.1800d79f8
nop
call fcn.1800d79f8
nop
mov ecx, 0x80004005
call fcn.180008c20
nop
mov ecx, 0x80004005
call fcn.180008c20
int3