Function at 0x1400f1e40
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x1401bb548]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x28], r9
mov r14, r8
mov r13, rdx
mov r15, rcx
mov r12, qword [rbp + 0x240]
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x20], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov rsi, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x1400f1ea8
mov r14, qword [r8]
cmp rsi, 8
jae 0x1400f1ebe
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x30], xmm0
mov ebx, 7
jmp 0x1400f1efc
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.1400a40a0
mov qword [rsp + 0x30], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140174800
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1400f1f58
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x5c
je 0x1400f1f4f
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x2f
je 0x1400f1f4f
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x3a
jne 0x1400f1f58
lea rdx, [0x140075eb0]
jmp 0x1400f1f5f
lea rdx, [0x140075ea8]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400f1f70
lea rcx, [rsp + 0x30]
call fcn.1400ba590
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [r13], rax
cmp rax, rbx
jne 0x1400f2024
mov qword [r13], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400f1fcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400f1fcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1400ee340
mov dword [r15], edi
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400f2155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f2019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f2181
call fcn.140172530
nop
jmp 0x1400f2155
lea rax, [rbp - 0x64]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400f2030
lea rdx, [rbp - 0x64]
mov rcx, qword [rsp + 0x28]
call fcn.1400d9ea0
mov eax, dword [rsp + 0x70]
mov rsi, qword [rsp + 0x20]
bt eax, 0xa
jae 0x1400f2063
mov dword [r12], edi
mov dword [rsi], edi
jmp 0x1400f210a
and eax, 0x10
or eax, 0x20
shr eax, 4
mov dword [r12], eax
mov dword [rsi], eax
movdqa xmm0, xmmword [0x140074690]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
lea rax, [rbp - 0x64]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400f2090
mov r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x50]
call fcn.1400d9ea0
nop
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400f2dc0
mov dword [r12 + 4], eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400f2102
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f20fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f2187
call fcn.140172530
nop
mov eax, dword [r12 + 4]
mov dword [rsi + 4], eax
mov dword [r15], edi
call fcn.1400ee340
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400f2155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f214f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f217b
call fcn.140172530
nop
mov rax, r15
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140172c20
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14010d210
nop
call fcn.14010d210
nop
call fcn.14010d210
int3