Function at 0x14006ab40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r12, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
cmp r8, 7
jbe 0x14006ac06
mov rdi, r8
mov rbx, rdx
mov eax, dword [rdx]
cmp rax, r8
jne 0x14006ac06
movzx r13d, word [rbx + 6]
xor ebp, ebp
test r13w, r13w
cmovne rbp, rbx
test rbp, rbp
je 0x14006abba
movzx r15d, word [rbp + 4]
cmp r15d, 0x10
jb 0x14006ac06
cmp dword [rbp], r15d
jb 0x14006ac06
test r15b, 7
jne 0x14006ac06
lea r8, [r15 - 0x10]
sub rdi, r15
add r15, rbx
jmp 0x14006abc5
add rdi, 0xfffffffffffffff8
lea r15, [rbx + 8]
xor r8d, r8d
lea rcx, [rbp + 8]
lea rdx, [rbx + 4]
test rbp, rbp
mov qword [rsp + 0x40], rcx
cmove rcx, rdx
cmp r8, 0x103
ja 0x14006ac06
mov rsi, r8
shr rsi, 2
movzx eax, word [rcx]
mov rcx, rax
mov qword [rsp + 0x30], rax
cmp eax, esi
ja 0x14006ac06
cmp r9d, 1
jne 0x14006ac35
cmp word [rsp + 0x30], 0
je 0x14006ac35
mov qword [r12], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140257200
mov rax, r12
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, byte [0x140320d58]
cmp r8, 3
mov qword [rsp + 0x38], rdx
ja 0x14006ad28
lea rax, [rdi + 0x10]
cmp rax, 0xf0
ja 0x14006ad28
and cl, 1
je 0x14006ad28
xor r14d, r14d
test r13w, r13w
setne r14b
lea rax, [rdi + r14*8]
add rax, 8
cmp rax, 0xf0
ja 0x14006ad28
mov ecx, 0x100
mov qword [rsp + 0x28], rax
call fcn.140255d40
lea rcx, fcn.140024040
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rax + 0x14], xmm0
movups xmmword [rax + 0x24], xmm0
movups xmmword [rax + 0x34], xmm0
movups xmmword [rax + 0x44], xmm0
movups xmmword [rax + 0x54], xmm0
movups xmmword [rax + 0x64], xmm0
movups xmmword [rax + 0x74], xmm0
movups xmmword [rax + 0x84], xmm0
movups xmmword [rax + 0x94], xmm0
movups xmmword [rax + 0xa4], xmm0
movups xmmword [rax + 0xb4], xmm0
movups xmmword [rax + 0xc4], xmm0
movups xmmword [rax + 0xd4], xmm0
movups xmmword [rax + 0xe4], xmm0
movups xmmword [rax + 0xf0], xmm0
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
mov word [rax + 0x16], r13w
test r13w, r13w
je 0x14006ad19
lea rdx, [r14*8 + 8]
lea rcx, [rax + 0x14]
mov word [rcx], dx
mov qword [rsp + 0x28], rax
test rax, rax
mov rax, qword [rsp + 0x38]
jne 0x14006ad53
mov ecx, 0x48
call fcn.140255d40
mov word [rsp + 0x20], r13w
mov qword [rsp + 0x28], rax
mov rcx, rax
mov rdx, rdi
mov r8, rdi
mov r9, rsi
call fcn.14006a730
mov rax, qword [rsp + 0x38]
test rdi, rdi
mov r13, qword [rsp + 0x28]
je 0x14006ad78
mov rcx, r13
call fcn.14006b070
mov rcx, rax
mov rdx, r15
mov r8, rdi
call fcn.140258c70
mov rax, qword [rsp + 0x38]
test rbp, rbp
je 0x14006adf7
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
call qword [case.0x140112150.0]
cmp word [rax + 4], 0x10
mov rbp, qword [rsp + 0x30]
je 0x14006add8
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
call qword [case.0x140112150.0]
lea rdi, [rax + 0x10]
add rbx, 0x10
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
call qword [case.0x140112150.0]
movzx r8d, word [rax + 4]
add r8, 0xfffffffffffffff0
mov rcx, rdi
mov rdx, rbx
call fcn.140258c70
mov rax, qword [rsp + 0x40]
movzx edi, word [rax]
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
call qword [case.0x140112150.0]
mov word [rax + 8], di
jmp 0x14006ae14
movzx edi, word [rax]
mov rax, qword [r13]
mov rax, qword [rax + 0x18]
mov rcx, r13
call qword [case.0x140112150.0]
mov word [rax + 4], di
mov rbp, qword [rsp + 0x30]
test rbp, rbp
je 0x14006af8e
lea rax, [rbp*8]
lea rdi, [rax + rax*4]
mov rcx, rdi
call fcn.140255d40
mov rsi, rax
lea rbp, [rax + rdi]
xor ebx, ebx
nop word [rax + rax]
lea rcx, [rsi + rbx]
call fcn.1400935a0
add rbx, 0x28
cmp rdi, rbx
jne 0x14006ae40
cmp word [rsp + 0x30], 0
je 0x14006b006
mov qword [rsp + 0x38], rbp
xor r15d, r15d
mov qword [rsp + 0x40], rsi
mov rbx, rsi
mov rbp, qword [rsp + 0x30]
jmp 0x14006ae8f
call fcn.1400937b0
mov r13, qword [rsp + 0x28]
inc r15
add rbx, 0x28
cmp rbp, r15
je 0x14006affc
mov rax, qword [r13 + 0x40]
movsxd r13, dword [rax + r15*4]
mov rcx, r13
call fcn.140093b20
test al, al
jne 0x14006af94
mov r8, qword [rsp + 0x120]
test r8, r8
je 0x14006aef0
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, r13
call fcn.140093b30
lea rsi, [rsp + 0x88]
mov rcx, rsi
mov rdx, r14
call fcn.1400935d0
cmp r15, rbp
jae 0x14006b034
mov rcx, rbx
mov rdx, rsi
call fcn.1400936f0
mov rcx, rsi
jmp 0x14006ae75
mov qword [rsp + 0x70], 0
test r13d, r13d
je 0x14006af48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rax, qword [rsp + 0x70]
inc rax
cmp rax, 2
jb 0x14006af2c
call fcn.1400f5de0
mov rcx, qword [rsp + 0x70]
call fcn.140112bc0
mov qword [rsp + 0x70], 0
lea rax, [r13 + 1]
cmp rax, 2
jb 0x14006af40
mov qword [rsp + 0x70], r13
call fcn.1400f5de0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbp, [rsp + 0x78]
mov rcx, rbp
lea rdx, [rsp + 0x70]
call fcn.140136f3e
lea r14, [rsp + 0x88]
mov rcx, r14
mov rdx, rbp
call fcn.1400935d0
mov rbp, qword [rsp + 0x30]
cmp r15, rbp
jae 0x14006b034
mov rcx, rbx
mov rdx, r14
call fcn.1400936f0
mov rcx, r14
jmp 0x14006ae75
xor ebp, ebp
xor esi, esi
jmp 0x14006b006
mov qword [r12], 0
mov rsi, qword [rsp + 0x40]
test rsi, rsi
mov rbp, qword [rsp + 0x28]
je 0x14006afd9
neg rdi
mov rax, qword [rsp + 0x30]
lea rax, [rax + rax*4]
lea rbx, [rsi + rax*8]
add rbx, 0xffffffffffffffd8
mov rcx, rbx
call fcn.1400937b0
add rbx, 0xffffffffffffffd8
add rdi, 0x28
jne 0x14006afbf
mov rcx, rsi
call fcn.140255d7c
test rbp, rbp
je 0x14006ac0e
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
mov edx, 1
call qword [case.0x140112150.0]
jmp 0x14006ac0e
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov rax, qword [r13]
mov rax, qword [rax + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r13
call qword [case.0x140112150.0]
mov qword [r12], r13
jmp 0x14006ac0e
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5b1
call fcn.14004f520
int3