Function at 0x1401075e0
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 - 0x1f8]
sub rsp, 0x2f8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, r9
mov qword [rsp + 0x38], r9
mov r13, rdx
mov r15, rcx
mov r12, qword [rbp + 0x260]
mov rbx, qword [rbp + 0x268]
mov qword [rsp + 0x30], rbx
mov rdx, r8
lea rcx, [rsp + 0x48]
call fcn.1400123b0
nop
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
test r10, r10
je 0x1401076a4
lea rax, [rsp + 0x48]
cmp rcx, 8
cmovae rax, r8
cmp word [rax + r10*2 - 2], 0x5c
je 0x14010769b
lea rax, [rsp + 0x48]
cmp rcx, 8
cmovae rax, r8
cmp word [rax + r10*2 - 2], 0x2f
je 0x14010769b
lea rax, [rsp + 0x48]
cmp rcx, 8
cmovae rax, r8
cmp word [rax + r10*2 - 2], 0x3a
jne 0x1401076a4
lea r9, [0x14013afb4]
jmp 0x1401076ab
lea r9, [0x14013afac]
mov rsi, 0xffffffffffffffff
mov rdx, rsi
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x1401076b5
mov rax, rcx
sub rax, r10
xor r14d, r14d
cmp rdx, rax
ja 0x140107705
lea rdi, [r10 + rdx]
mov qword [rsp + 0x58], rdi
lea rbx, [rsp + 0x48]
cmp rcx, 8
cmovae rbx, r8
lea r8, [rdx + rdx]
lea rcx, [rbx + r10*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r14w
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jmp 0x14010771a
xor eax, eax
mov qword [rsp + 0x20], rdx
movzx r8d, al
lea rcx, [rsp + 0x48]
call fcn.140106870
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [r13], rax
cmp rax, rsi
jne 0x1401077b8
mov qword [r13], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140107761
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140107761
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
call fcn.1400e5a00
mov dword [r15], r14d
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401077b3
lea rdx, [rdx*2 + 2]
mov r8, qword [rsp + 0x48]
mov rcx, r8
cmp rdx, 0x1000
jb 0x1401077aa
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140107896
mov rcx, r8
call fcn.1400ace14
nop
jmp 0x1401078a3
lea rax, [rbp - 0x44]
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x1401077c0
lea rdx, [rbp - 0x44]
mov rcx, rdi
call fcn.140004a60
mov eax, dword [rbp - 0x70]
bt eax, 0xa
jae 0x1401077e8
mov dword [r12], r14d
mov dword [rbx], r14d
jmp 0x140107851
and eax, 0x10
or eax, 0x20
shr eax, 4
mov dword [r12], eax
mov dword [rbx], eax
movdqa xmm0, xmmword [0x140147820]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rax, [rbp - 0x44]
nop
inc rsi
cmp word [rax + rsi*2], r14w
jne 0x140107810
mov r8, rsi
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x68]
call fcn.140004a60
nop
mov edx, dword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1401087e0
mov dword [r12 + 4], eax
lea rcx, [rsp + 0x68]
call fcn.1400049f0
nop
mov eax, dword [r12 + 4]
mov dword [rbx + 4], eax
mov dword [r15], r14d
call fcn.1400e5a00
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401078a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010789d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010789d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ace14
nop
mov rax, r15
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret