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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbp, rdx
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x88], rbx
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [0x1000849d0]
call fcn.1000328c4
lea rcx, [0x1000849d0]
call fcn.100032d64
test al, al
je 0x10002f0ad
mov r8, qword [0x1000849d0]
lea rdx, [0x10000a880]
lea ecx, [rbx + 3]
call fcn.10001e4c4
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f087
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f0a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x10002f356
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10002f2f9
shr eax, 4
mov r14d, 1
and al, r14b
je 0x10002f2f9
lea rdx, [0x10000a394]
mov rcx, qword [0x1000849d0]
call qword [sym.imp.msvcrt.dll__wfopen]
mov r12, rax
test rax, rax
jne 0x10002f138
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f112
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f131
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x10002f356
mov rbp, qword [rbp]
or edi, 0xffffffff
test rbp, rbp
je 0x10002f281
xor eax, eax
test rbp, rbp
setne al
test eax, eax
je 0x10002f276
mov rsi, qword [rbp + 0x10]
mov rbp, qword [rbp]
test rbx, rbx
je 0x10002f1a9
mov rcx, rbx
test rsi, rsi
je 0x10002f172
lock add dword [rsi + 8], r14d
mov rbx, rsi
mov qword [rsp + 0x88], rbx
test rcx, rcx
je 0x10002f1be
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x10002f19f
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
mov rbx, qword [rsp + 0x88]
jmp 0x10002f1be
mov rbx, qword [rsp + 0x88]
jmp 0x10002f1be
test rsi, rsi
je 0x10002f1b3
lock add dword [rsi + 8], r14d
mov rbx, rsi
mov qword [rsp + 0x88], rbx
mov rax, qword [rsi + 0x48]
cmp dword [rax - 0x10], 0
jne 0x10002f24e
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x10002f261
xor eax, eax
test rsi, rsi
setne al
test eax, eax
je 0x10002f26b
mov rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
test rbx, rbx
je 0x10002f1fa
lock add dword [rbx + 8], r14d
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx + 0x18]
cmp dword [rax - 0x10], 0
je 0x10002f220
mov r8, rax
lea rdx, [0x10000a3b0]
mov rcx, r12
call qword [sym.imp.msvcrt.dll_fwprintf]
nop
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x10002f236
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
and qword [rsp + 0x80], 0
test rsi, rsi
jne 0x10002f1d9
mov rbx, qword [rsp + 0x88]
jmp 0x10002f261
mov r8, rax
lea rdx, [0x10000a950]
mov rcx, r12
call qword [sym.imp.msvcrt.dll_fwprintf]
test rbp, rbp
je 0x10002f281
jmp 0x10002f148
mov ecx, 0x80004005
call fcn.1000201f8
int3
mov ecx, 0x80004005
call fcn.1000201f8
int3
mov rcx, r12
call qword [sym.imp.msvcrt.dll_fclose]
nop
test rbx, rbx
je 0x10002f2b4
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x10002f2ab
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
and qword [rsp + 0x88], 0
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f2d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x10002f2f4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r14d
jmp 0x10002f356
mov r8, qword [0x1000849d0]
lea rdx, [0x10000a910]
mov ecx, 3
call fcn.10001e4c4
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f335
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x10002f354
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret