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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0xc0]
add rax, 0x38
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x70]
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.14002dea0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
add rax, 0x28
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14002dea0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x58], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x78], 0
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
add rax, 0x30
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14002e29d
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x88], ecx
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x88], rax
mov eax, 0x28
mov rcx, qword [rsp + 0x88]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400825b4
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x90], rcx
mov dword [rsp + 0x20], 0
jmp 0x14002e12b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x14002e29d
cmp dword [rsp + 0x20], 0
jl 0x14002e14e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x20], eax
jl 0x14002e15d
mov edx, 1
mov ecx, 0xc000008c
call fcn.14001dbd0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.14001f7c0
nop
mov rax, qword [rsp + 0x28]
mov eax, dword [rax - 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa0], rax
mov dx, 0x5c
mov rcx, qword [rsp + 0xa0]
call sub.VCRUNTIME140.dll_wcsrchr
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14002e1ca
mov dword [rsp + 0x30], 0xffffffff
jmp 0x14002e1e1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
dec eax
mov r8d, eax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14002c6b0
nop
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e283
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 0x90]
mov qword [rsp + 0x38], rax
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x38]
mov dword [rax + 8], 0xffffffff
lea rcx, [rsp + 0x28]
call fcn.14002dea0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x58]
call fcn.14002dea0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x18], rax
lea rcx, [rsp + 0x58]
call fcn.1400202f0
nop
lea rcx, [rsp + 0x28]
call fcn.1400202f0
jmp 0x14002e121
add rsp, 0xb0
pop rdi
ret