Function at 0x14000f4d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x630
mov qword [rax - 0x538], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140036950]
xor rax, rsp
mov qword [rsp + 0x620], rax
mov qword [rsp + 0x58], rdx
mov r13d, ecx
mov ecx, 0x38
call fcn.140025c50
mov rbx, rax
mov qword [rsp + 0x60], rax
mov edi, 1
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
lea rax, [0x1400293b8]
mov qword [rbx], rax
lea r14, [rbx + 0x10]
xor esi, esi
mov qword [r14 + 8], rsi
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x20], rsi
mov qword [r14], rsi
mov qword [r14 + 0x10], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rbx
mov ecx, 0xa0
call fcn.140025c50
mov r15, rax
mov qword [rsp + 0x60], rax
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
lea rax, [0x140029398]
mov qword [r15], rax
lea rdi, [r15 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000f068
nop
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
mov r8, qword [rsp + 0x58]
mov edx, r13d
lea rcx, [rdi + 8]
call fcn.140023938
test al, al
jne 0x14000f627
mov esi, dword [r14]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [r15 + 8], eax
add eax, edi
jne 0x14000f5eb
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [r15 + 0xc], eax
add eax, edi
jne 0x14000f5eb
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
nop
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000f620
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x14000f620
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
mov rcx, rbx
call qword [case.0x140025f9e.0]
mov eax, esi
jmp 0x14000feef
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea edx, [r9 + 3]
lea r8d, [r9 + 0xa]
mov rcx, r14
call fcn.140004428
cmp byte [rdi], sil
je 0x14000f708
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
lea rcx, str.Usage:__S______Switch__:__Value__n_n
call fcn.140025b34
lea rcx, str.Where_Switch_is_one_of_the_following:__n
call fcn.140025b34
mov rsi, qword [rdi + 0x10]
mov rdi, qword [rdi + 8]
jmp 0x14000f689
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, str.______S:__S_n
call fcn.140025b34
add rdi, 0x48
cmp rdi, rsi
jne 0x14000f672
mov esi, dword [r14]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [r15 + 8], eax
add eax, edi
jne 0x14000f6cc
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [r15 + 0xc], eax
add eax, edi
jne 0x14000f6cc
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
nop
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000f701
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x14000f701
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
mov rcx, rbx
call qword [case.0x140025f9e.0]
mov eax, esi
jmp 0x14000feef
mov r12, qword [rdi + 0x38]
mov r15, qword [rdi + 0x30]
mov rax, r12
sub rax, r15
sar rax, 5
test rax, rax
jne 0x14000f7e4
lea rdx, [rsp + 0x410]
mov ecx, 0x104
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x1b8]
call fcn.14001350c
nop
mov rax, qword [rdi + 0x38]
cmp qword [rdi + 0x40], rax
je 0x14000f773
lea rdx, [rsp + 0x1b8]
mov rcx, rax
call fcn.140013580
add qword [rdi + 0x38], 0x20
jmp 0x14000f788
lea r8, [rsp + 0x1b8]
mov rdx, rax
lea rcx, [rdi + 0x30]
call fcn.14001b698
nop
lea rcx, [rsp + 0x1b8]
call fcn.1400238c8
mov rax, qword [rdi + 0x50]
sub rax, qword [rdi + 0x48]
sar rax, 5
test rax, rax
jne 0x14000fbed
mov edx, 0x104
lea rcx, [rsp + 0x200]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
lea r8, str.WinMetadata
lea rcx, [rsp + 0x200]
call fcn.1400012d0
test eax, eax
js 0x14000ff22
jmp 0x14000f90f
cmp r15, r12
je 0x14000f795
mov rdx, r15
lea rcx, [rsp + 0x158]
call fcn.140013580
nop
lea rcx, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae rcx, qword [rsp + 0x158]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000f8f9
lea r8, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae r8, qword [rsp + 0x158]
mov edx, 0x7d1
mov rcx, r14
call fcn.1400042a4
mov r14d, dword [r14]
lea rcx, [rsp + 0x158]
call fcn.1400238c8
nop
mov rcx, qword [rsp + 0x48]
or edi, 0xffffffff
test rcx, rcx
je 0x14000f8ab
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000f8ab
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000f8ab
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000f8f1
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000f8f1
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x14000f8f1
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140025f9e.0]
mov eax, r14d
jmp 0x14000feef
lea rcx, [rsp + 0x158]
call fcn.1400238c8
add r15, 0x20
jmp 0x14000f7e4
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x1d8]
call fcn.14001350c
nop
mov rax, qword [rdi + 0x50]
cmp qword [rdi + 0x58], rax
je 0x14000f946
lea rdx, [rsp + 0x1d8]
mov rcx, rax
call fcn.140013580
add qword [rdi + 0x50], 0x20
jmp 0x14000f95b
lea r8, [rsp + 0x1d8]
mov rdx, rax
lea rcx, [rdi + 0x48]
call fcn.14001b698
nop
lea rcx, [rsp + 0x1d8]
call fcn.1400238c8
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r15d, 0x50
mov ecx, r15d
call fcn.140025c50
mov qword [rsp + 0x60], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
lea r13d, [r15 - 0x4f]
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rbx, [rdi + 0x48]
lea rdx, [rdi + 0x30]
lea rax, fcn.14000cf60
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000f9ec
lock add dword [rcx + 8], r13d
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x88], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x98]
call fcn.140012a20
nop
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.140012a20
nop
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov rcx, r15
call fcn.140025c50
mov qword [rsp + 0x128], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rsi
mov ebx, 0x58
mov ecx, ebx
call fcn.140025c50
mov qword [rsp + 0x130], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rsi
mov ecx, ebx
call fcn.140025c50
mov qword [rsp + 0x138], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0xe8], rax
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x98]
call fcn.14000cc00
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xb0]
call fcn.14000cc00
nop
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rsi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000fb22
lock add dword [rcx + 8], r13d
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rdi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rsi
mov qword [rsp + 0x110], rsi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000fb63
lock add dword [rcx + 8], r13d
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0xf8]
mov qword [rsp + 0x108], r14
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x110], rbx
mov r15b, sil
mov r12, qword [rdi + 0x30]
mov rdi, qword [rdi + 0x38]
cmp r12, rdi
je 0x14000fd51
mov rdx, r12
lea rcx, [rsp + 0x198]
call fcn.140013580
nop
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x70]
test al, 0x10
je 0x14000fd24
call fcn.140010048
test al, al
je 0x14000fd33
mov r15b, r13b
jmp 0x14000fd33
mov rbx, qword [rdi + 0x30]
mov r15, qword [rdi + 0x38]
cmp rbx, r15
je 0x14000f968
mov rdx, rbx
lea rcx, [rsp + 0x178]
call fcn.140013580
nop
lea rcx, [rsp + 0x178]
cmp qword [rsp + 0x190], 8
cmovae rcx, qword [rsp + 0x178]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000fd0e
lea r8, [rsp + 0x178]
cmp qword [rsp + 0x190], 8
cmovae r8, qword [rsp + 0x178]
mov edx, 0x7d1
mov rcx, r14
call fcn.1400042a4
mov r14d, dword [r14]
lea rcx, [rsp + 0x178]
call fcn.1400238c8
nop
mov rcx, qword [rsp + 0x48]
or edi, 0xffffffff
test rcx, rcx
je 0x14000fcc0
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000fcc0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000fcc0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000fd06
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000fd06
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x14000fd06
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140025f9e.0]
mov eax, r14d
jmp 0x14000feef
lea rcx, [rsp + 0x178]
call fcn.1400238c8
add rbx, 0x20
jmp 0x14000fbf5
call fcn.140011924
movzx r15d, r15b
test al, al
cmovne r15d, r13d
lea rcx, [rsp + 0x198]
call fcn.1400238c8
add r12, 0x20
mov rbx, qword [rsp + 0x110]
jmp 0x14000fb83
test r15b, r15b
je 0x14000fd68
lea rcx, [rsp + 0x70]
call fcn.1400124cc
mov rbx, qword [rsp + 0x110]
or edi, 0xffffffff
test rbx, rbx
je 0x14000fdaa
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000fda5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000fda5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x14000fdf1
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000fdec
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000fdec
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
mov r14, qword [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14000f428
mov rcx, qword [rsp + 0x70]
mov r15, qword [rcx + 8]
cmp byte [r15 + 0x19], sil
jne 0x14000fe47
mov r8, qword [r15 + 0x10]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14001ec14
mov rbx, r15
mov r15, qword [r15]
lea rcx, [rbx + 0x20]
call fcn.1400238c8
mov edx, 0x50
mov rcx, rbx
call fcn.14002527c
cmp byte [r15 + 0x19], sil
je 0x14000fe0d
mov rcx, qword [rsp + 0x70]
mov edx, 0x50
call fcn.14002527c
nop
jmp 0x14000fe5c
mov r14d, dword [r14]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000fea6
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000fea6
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000fea6
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140025f9e.0]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000feec
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000feec
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140025f9e.0]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x14000feec
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140025f9e.0]
mov eax, r14d
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.140024de0
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400237bc
lea rdx, [0x140034468]
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3