Function at 0x14000de5c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rdx, [0x140058cb0]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000dea5
lea rcx, [rsp + 0x40]
call fcn.14000afc4
nop
lea rcx, [rsp + 0x40]
mov esi, 0xf
cmp qword [rsp + 0x58], rsi
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov r15d, 0x1000
cmp eax, 0xffffffff
je 0x14000e33f
cmp eax, 0x10
je 0x14000e33f
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
xor r8d, r8d
lea rdx, [0x14004a139]
lea rcx, [rsp + 0x20]
call fcn.14000afc4
nop
mov ecx, dword [0x140058ca0]
sub ecx, 1
je 0x14000e217
sub ecx, 1
je 0x14000e166
sub ecx, 1
je 0x14000e0b5
sub ecx, 1
je 0x14000e004
cmp ecx, 1
jne 0x14000e2c1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14000777c
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], rsi
cmova rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rdi, rcx
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], rsi
cmova r9, qword [rsp + 0x60]
sub rdi, r9
cmp rdi, qword [rsp + 0x38]
ja 0x14000dfb4
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], rsi
cmova rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000dfc2
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b390
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, rsi
jbe 0x14000e2c1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x14000e2bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e2bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.14000750c
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], rsi
cmova rcx, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x70]
add rdi, rcx
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], rsi
cmova r9, qword [rbp - 0x80]
sub rdi, r9
cmp rdi, qword [rsp + 0x38]
ja 0x14000e067
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], rsi
cmova rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000e075
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b390
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, rsi
jbe 0x14000e2c1
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x14000e2bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e2bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400072b4
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], rsi
cmova rcx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x50]
add rdi, rcx
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], rsi
cmova r9, qword [rbp - 0x60]
sub rdi, r9
cmp rdi, qword [rsp + 0x38]
ja 0x14000e118
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], rsi
cmova rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000e126
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b390
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, rsi
jbe 0x14000e2c1
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x14000e2bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e2bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140007060
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], rsi
cmova rcx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x30]
add rdi, rcx
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], rsi
cmova r9, qword [rbp - 0x40]
sub rdi, r9
cmp rdi, qword [rsp + 0x38]
ja 0x14000e1c9
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], rsi
cmova rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000e1d7
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b390
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, rsi
jbe 0x14000e2c1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x14000e2bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e2bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140006da8
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], rsi
cmova rcx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x10]
add rdi, rcx
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], rsi
cmova r9, qword [rbp - 0x20]
sub rdi, r9
cmp rdi, qword [rsp + 0x38]
ja 0x14000e27a
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], rsi
cmova rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000e288
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000b390
nop
mov rdx, qword [rbp - 8]
cmp rdx, rsi
jbe 0x14000e2c1
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, r15
jb 0x14000e2bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e2bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040ea8
mov r8, r15
xor edx, edx
lea rcx, [0x140056b00]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, rsi
cmova rdx, rbx
mov r8, qword [rsp + 0x30]
lea rcx, [0x140056b00]
call sub.VCRUNTIME140.dll_memcpy
nop
cmp rdi, rsi
jbe 0x14000e32f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, r15
jb 0x14000e327
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e327
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140040ea8
and qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, rsi
jbe 0x14000e37a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x14000e375
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e375
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040ea8
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140040cd0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret