Function at 0x140005250
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401ce758], eax
jle 0x1400052f1
lea rcx, [0x1401ce758]
call fcn.14007bd10
cmp dword [0x1401ce758], 0xffffffff
jne 0x1400052f1
mov qword [0x1401ce760], r15
mov qword [0x1401ce770], r15
mov qword [0x1401ce778], 7
lea rcx, [0x1401657b0]
call fcn.14007c170
lea rcx, [0x1401ce758]
call fcn.14007bcb0
mov qword [0x1401ce770], r15
lea rax, [0x1401ce760]
cmp qword [0x1401ce778], 8
cmovae rax, qword [0x1401ce760]
mov word [rax], r15w
cmp qword [0x1401ce770], r14
jne 0x140005575
call fcn.140004f10
mov rbx, rax
cmp qword [rax + 0x10], r14
je 0x14000538b
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000533b
mov rdx, qword [rax]
mov qword [rsp + 0x48], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140005350
lea rcx, [rsp + 0x48]
call fcn.140006890
mov r14d, 1
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000538b
movzx esi, r14b
jmp 0x14000538e
xor sil, sil
test r14b, 1
je 0x1400053d6
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400053d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055a7
call fcn.14007c190
test sil, sil
je 0x14000556e
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
mov qword [rsp + 0x40], r15
cmp qword [rbx + 0x18], 8
jb 0x140005407
mov rbx, qword [rbx]
lea r8, str.r__ccsUTF_8
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14008ffc8
mov r8, qword [rsp + 0x40]
test r8, r8
setne bl
test r8, r8
je 0x140005472
mov edx, 0x400
lea rcx, [rsp + 0x70]
call fcn.140090394
test rax, rax
je 0x140005468
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140006480
mov r8, qword [rsp + 0x40]
mov edx, 0x400
lea rcx, [rsp + 0x70]
call fcn.140090394
test rax, rax
jne 0x140005440
mov rcx, qword [rsp + 0x40]
call fcn.140090150
test bl, bl
je 0x140005530
mov rax, qword [rsp + 0x58]
cmp rax, 0x26
jb 0x14000551c
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8d, 0x26
cmovb r8, rax
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140006890
mov rdx, qword [0x1401ce778]
cmp rdx, 8
jb 0x140005502
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x1401ce760]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055ad
call fcn.14007c190
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [0x1401ce760], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [0x1401ce770], xmm1
jmp 0x140005530
lea rdx, [0x14018bd54]
lea rcx, [0x1401ce760]
call fcn.140006390
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14000556e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005569
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055a1
call fcn.14007c190
lea rax, [0x1401ce760]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140082b90
int3
call fcn.140082b90
nop
call fcn.140082b90
nop
int3