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

Disassembly:
jmp 0x1400266c0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov qword [rsp + 0x1b0], 0xfffffffffffffffe
lea rcx, [rsp + 0x78]
call fcn.1400037e7
nop
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x258]
call fcn.140002b08
lea r8, [0x1402171c4]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
cmp qword [rsp + 0x40], 0
jne 0x14002674e
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x78]
call fcn.140004179
nop
mov rcx, qword [rsp + 0x258]
call fcn.1400053e9
mov eax, dword [rsp + 0x60]
jmp 0x140026f3d
lea rcx, [rsp + 0x1d0]
call fcn.14017a490
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1d0]
call fcn.14017a920
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400267b5
mov dword [rsp + 0x5c], 1
lea rcx, [rsp + 0x1d0]
call fcn.14000309e
nop
lea rcx, [rsp + 0x78]
call fcn.140004179
nop
mov rcx, qword [rsp + 0x258]
call fcn.1400053e9
mov eax, dword [rsp + 0x5c]
jmp 0x140026f3d
lea rdx, [0x1402171d0]
lea rcx, [rsp + 0x1d0]
call fcn.14000420a
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140003d4b
lea rcx, [rsp + 0x28]
call fcn.1400054a7
test rax, rax
jne 0x140026827
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_fclose]
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x1d0]
call fcn.14000309e
nop
lea rcx, [rsp + 0x78]
call fcn.140004179
nop
mov rcx, qword [rsp + 0x258]
call fcn.1400053e9
mov eax, dword [rsp + 0x68]
jmp 0x140026f3d
lea r8, [0x1402171e8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0x70]
call fcn.1400054a7
test rax, rax
je 0x1400268c6
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x70]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
test rax, rax
je 0x1400268c6
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x70]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
mov rcx, rax
call fcn.140005164
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400268c6
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rcx, qword [rsp + 0x268]
add rcx, 8
mov rdx, rax
call fcn.140004624
lea r8, [0x1402171f8]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0xa8]
call fcn.1400054a7
test rax, rax
je 0x14002694f
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0xa8]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
mov rcx, rax
call fcn.140005164
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
je 0x14002694f
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rcx, qword [rsp + 0x268]
add rcx, 0x10
mov rdx, rax
call fcn.140004624
lea r8, [0x140217200]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0xf8]
call fcn.1400054a7
test rax, rax
je 0x1400269f0
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0xf8]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x1400269f0
mov rcx, qword [rsp + 0xb8]
call fcn.140005164
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x1400269f0
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rcx, qword [rsp + 0x268]
add rcx, 0x18
mov rdx, rax
call fcn.140004624
lea r8, [0x140217210]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0xc8]
call fcn.1400054a7
test rax, rax
je 0x140026a91
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0xc8]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x140026a91
mov rcx, qword [rsp + 0x108]
call fcn.140005164
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x140026a91
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rcx, qword [rsp + 0x268]
add rcx, 0x20
mov rdx, rax
call fcn.140004624
lea r8, [0x140217220]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0xa0]
call fcn.1400054a7
test rax, rax
je 0x140026b32
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call fcn.14017b060
mov rcx, rax
call fcn.140003035
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x140026b32
mov rcx, qword [rsp + 0x98]
call fcn.140005164
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x140026b32
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rcx, qword [rsp + 0x268]
add rcx, 0x38
mov rdx, rax
call fcn.140004624
cmp dword [rsp + 0x260], 0
je 0x140026f00
mov rdx, qword [rsp + 0x258]
lea rcx, [rsp + 0x38]
call fcn.140001a7d
nop
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x258]
call fcn.14000370b
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jl 0x140026bc1
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x258]
call fcn.140001edd
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.140001451
nop
lea rcx, [rsp + 0x158]
call fcn.1400053e9
mov r8d, 1
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x38]
call fcn.1400037c9
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x150], rax
lea rdx, [0x140217194]
mov rcx, qword [rsp + 0x150]
call fcn.140003724
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x140]
call fcn.1400053e9
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140026c30
lea rdx, [0x1402171a4]
lea rcx, [rsp + 0x38]
call fcn.140005461
lea r8, [0x140217230]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.14017b0e0
lea rcx, [rsp + 0xd0]
call fcn.1400054a7
test rax, rax
jne 0x140026ca8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_fclose]
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x38]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x1d0]
call fcn.14000309e
nop
lea rcx, [rsp + 0x78]
call fcn.140004179
nop
mov rcx, qword [rsp + 0x258]
call fcn.1400053e9
mov eax, dword [rsp + 0x58]
jmp 0x140026f3d
lea r8, [0x140217248]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.14017b0e0
lea rcx, [rsp + 0x30]
call fcn.1400054a7
test rax, rax
je 0x140026ef6
lea rcx, [rsp + 0x30]
call fcn.1400054a7
lea rdx, [0x140217254]
mov rcx, rax
call fcn.140178d10
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x30]
call fcn.1400054a7
lea rdx, [0x140217268]
mov rcx, rax
call fcn.140178d10
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x30]
call fcn.1400054a7
lea rdx, [0x140217278]
mov rcx, rax
call fcn.140178d10
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0xe0], 0
je 0x140026eae
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002b67
nop
lea rcx, [rsp + 0x168]
call fcn.140002478
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x168]
call fcn.140001451
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x138]
call fcn.1400054fc
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x170]
call fcn.140001451
nop
lea rcx, [rsp + 0x138]
call fcn.1400053e9
cmp qword [rsp + 0xf0], 0
je 0x140026e05
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x78]
call fcn.140004b6a
mov rdx, rax
lea rcx, [rsp + 0x178]
call fcn.140004624
mov dword [rsp + 0x180], 0
cmp qword [rsp + 0x100], 0
je 0x140026e3e
lea rdx, [0x1402171cc]
mov rcx, qword [rsp + 0x100]
call sub.MSVCR120D.dll_strcmp
test eax, eax
jne 0x140026e3e
mov dword [rsp + 0x184], 1
lea rcx, [rsp + 0x170]
call fcn.140002b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xffffffff
je 0x140026e96
mov eax, dword [rsp + 0x4c]
and eax, 0x10
test eax, eax
jne 0x140026e96
mov rax, qword [rsp + 0x268]
add rax, 0xf8
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400057a4
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.140004791
nop
lea rcx, [rsp + 0x168]
call fcn.140002ef0
nop
lea rcx, [rsp + 0x50]
call fcn.1400053e9
lea rcx, [rsp + 0x30]
call fcn.1400054a7
lea rdx, [0x140217288]
mov rcx, rax
call fcn.140005880
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.140003d4b
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.140002360
jmp 0x140026cc1
lea rcx, [rsp + 0x38]
call fcn.1400053e9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_fclose]
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x1d0]
call fcn.14000309e
nop
lea rcx, [rsp + 0x78]
call fcn.140004179
nop
mov rcx, qword [rsp + 0x258]
call fcn.1400053e9
mov eax, dword [rsp + 0x64]
add rsp, 0x248
ret