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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x1400390f8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebx, 0x104
mov byte [r11 - 0x58], 1
mov r13, rdx
mov qword [r11 - 0x50], rbx
mov r15, rcx
or r12, 0xffffffffffffffff
xor edi, edi
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov qword [r11 - 0x60], rdi
xor edx, edx
xor r14b, r14b
mov esi, r12d
call sub.msvcrt.dll_memset
cmp byte [rsp + 0x230], dil
lea rcx, [rsp + 0x20]
mov eax, 0x7fe7
cmovne ebx, eax
mov edx, ebx
call fcn.1400104d0
test eax, eax
js 0x14001c2f6
mov ebp, edi
mov eax, ebp
cmp rax, 0x7fe6
jae 0x140010a20
lea rdi, [rax + rax]
mov rax, qword [r15 + 0x70]
movzx ebx, word [rdi + rax]
xor al, al
cmp bx, 0x22
je 0x140010b1e
test bx, bx
je 0x140010a20
test r14b, r14b
jne 0x1400109e9
test al, al
jne 0x1400109e9
movzx edx, bx
lea rcx, str._______t_
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x140010a20
cmp esi, 0xffffffff
jne 0x140010a07
movzx edx, bx
lea rcx, [0x140030378]
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x140010bdf
mov rax, qword [rsp + 0x228]
test rax, rax
je 0x14001c301
mov word [rdi + rax], bx
inc ebp
jmp 0x1400109a4
test ebp, ebp
je 0x140010ad5
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14001c30b
xor edi, edi
mov eax, ebp
mov word [rcx + rax*2], di
cmp esi, 0xffffffff
jne 0x140010bf3
mov rsi, qword [rsp + 0x228]
test rsi, rsi
je 0x14001c315
mov ebx, edi
lea rdi, [0x14002ec00]
mov rdx, qword [rdi - 0x10]
test rdx, rdx
je 0x140010a7a
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140010a8a
inc ebx
add rdi, 0x20
cmp ebx, 0x2a
jle 0x140010a64
mov ebx, r12d
jmp 0x140010a9a
movzx eax, word [rdi]
test al, 4
jne 0x14001c31f
mov word [r13], ax
mov dword [0x140039130], ebx
cmp ebx, 0xffffffff
je 0x140010b38
xor r13d, r13d
cmp ebx, 0x14
je 0x140010b11
mov rcx, qword [r15 + 0x70]
mov rax, r12
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140010ac0
cmp ebp, eax
jne 0x14001c346
mov r12d, ebx
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov eax, r12d
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400173b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [r15 + 0x80], 1
jmp 0x140010ab1
test r14b, r14b
sete cl
test r14b, r14b
movzx r14d, cl
je 0x140010c25
mov al, 1
jmp 0x1400109cb
mov rdx, qword [rsp + 0x228]
test rdx, rdx
je 0x14001c331
mov r8, r13
mov ecx, 0x2d
call fcn.140016a88
cmp eax, 0x2d
je 0x14001c33b
xor sil, sil
xor r13d, r13d
mov ebp, r13d
nop dword [rax + rax]
mov rax, qword [r15 + 0x70]
mov ecx, ebp
movzx edi, word [rax + rcx*2]
test di, di
je 0x140010ab1
xor al, al
cmp di, 0x22
je 0x140010bcd
test sil, sil
je 0x140010b94
inc ebp
jmp 0x140010b70
test al, al
jne 0x140010b90
movzx ecx, di
call qword [sym.imp.msvcrt.dll_iswspace]
test eax, eax
jne 0x140010ab1
movzx edx, di
lea rcx, [0x1400302f0]
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x140010ab1
cmp di, 0x2f
jne 0x140010b90
jmp 0x140010ab1
test sil, sil
sete cl
test sil, sil
movzx esi, cl
je 0x140010c2c
mov al, 1
jmp 0x140010b8b
cmp byte [0x1400502b9], 0
je 0x140010a20
mov esi, ebp
jmp 0x140010a07
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x140010c3d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140010c33
mov rcx, qword [rsp + 0x228]
mov ebp, esi
test rcx, rcx
je 0x140010c44
mov eax, esi
mov word [rcx + rax*2], di
jmp 0x140010a4a
xor al, al
jmp 0x1400109cb
xor al, al
jmp 0x140010b8b
test al, 0x10
je 0x140010a4a
jmp 0x140010c0b
lea rcx, [rsp + 0x20]
jmp 0x140010c00
lea rcx, [rsp + 0x20]
jmp 0x140010c1a
mov r12d, 0xfffffffe
jmp 0x140010ad5
lea rax, [rsp + 0x20]
jmp 0x140010a18
lea rcx, [rsp + 0x20]
jmp 0x140010a39
lea rsi, [rsp + 0x20]
jmp 0x140010a5b
cmp byte [0x1400502b9], 0
jne 0x140010a95
jmp 0x140010a7a
lea rdx, [rsp + 0x20]
jmp 0x140010b49
mov r12d, 0x2d
jmp 0x140010ad5
lea edi, [rax + 1]
mov rax, qword [r15 + 0x78]
test rax, rax
je 0x14001c360
inc r12
cmp word [rax + r12*2], 0
jne 0x14001c352
add edi, r12d
lea ecx, [rdi + rdi]
call fcn.14000fdec
mov r8, qword [r15 + 0x70]
mov rsi, rax
mov ecx, ebp
movsxd rdi, edi
mov rdx, rdi
lea r14, [rcx + rcx]
mov rcx, rax
add r8, r14
call fcn.140011620
mov r8, qword [r15 + 0x78]
test r8, r8
je 0x14001c39a
mov rdx, rdi
mov rcx, rsi
call fcn.140011540
mov rax, qword [r15 + 0x70]
mov qword [r15 + 0x78], rsi
mov word [r14 + rax], r13w
jmp 0x140010ad2