Function at 0x14010f930
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 qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x20], r9
mov rsi, r8
mov r13, rdx
mov rdi, rcx
mov r15, qword [rbp + 0x240]
mov r12, qword [rbp + 0x248]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14010f99c
mov rsi, qword [r8]
cmp r14, 8
jae 0x14010f9b5
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 7
jmp 0x14010f9f8
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.1400b9c50
mov qword [rsp + 0x30], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14010fa59
lea rax, [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + rcx*2 - 2], 0x5c
je 0x14010fa50
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + rcx*2 - 2], 0x2f
je 0x14010fa50
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, rdx
cmp word [rax + rcx*2 - 2], 0x3a
jne 0x14010fa59
lea rdx, [0x1402b9490]
jmp 0x14010fa60
lea rdx, [0x1402b9488]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14010fa70
lea rcx, [rsp + 0x30]
call fcn.14010c620
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 0x14010fb35
xor esi, esi
mov qword [r13], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14010fad2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14010fad2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14010fad4
mov eax, esi
mov dword [rdi], eax
test eax, eax
setne al
mov byte [rdi + 4], al
lea rax, [0x1403a7b48]
mov qword [rdi + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14010fc4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010fc48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010fc48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp - 0x64]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14010fb40
lea rdx, [rbp - 0x64]
mov rcx, qword [rsp + 0x20]
call fcn.1400bc420
mov eax, dword [rsp + 0x70]
bt eax, 0xa
jae 0x14010fb71
xor esi, esi
mov dword [r15], esi
mov dword [r12], esi
jmp 0x14010fbf7
test al, 0x10
je 0x14010fb86
mov dword [r15], 3
mov dword [r12], 3
jmp 0x14010fb95
mov dword [r15], 2
mov dword [r12], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1402b1880]
movdqu xmmword [rsp + 0x60], xmm1
xor esi, esi
mov word [rsp + 0x50], si
lea rax, [rbp - 0x64]
inc rbx
cmp word [rax + rbx*2], si
jne 0x14010fbb7
mov r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x50]
call fcn.1400bc420
nop
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140110e40
mov dword [r15 + 4], eax
lea rcx, [rsp + 0x50]
call fcn.1400b6a50
mov eax, dword [r15 + 4]
mov dword [r12 + 4], eax
mov dword [rdi], esi
mov byte [rdi + 4], 0
lea rax, [0x1403a7b48]
mov qword [rdi + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14010fc4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010fc48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010fc48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
mov rax, rdi
mov word [rsp + 0x30], si
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14010a310
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret