Function at 0x14011aaec
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x510
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov qword [rsp + 0x58], rdx
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r13d, r13d
mov edi, r13d
lea esi, [r13 + 1]
lea rcx, [0x1400447c8]
call fcn.140129990
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0x1e0], r13
xor edx, edx
mov r8d, 0x220
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x78], r13d
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], r13d
mov qword [rbp - 0x70], r13
mov eax, r13d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rax
mov r12d, r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
xor r14d, r14d
mov word [rbp + 0x1f0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1f2]
call sub.msvcrt.dll_memset
lea r14, [0x1400449a0]
xor eax, eax
test rbx, rbx
jne 0x14011ac23
mov esi, eax
lea edi, [rbx + 0x57]
lea rbx, [0x140154018]
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2ec
test byte [rcx + 0x1c], 8
je 0x14011b2ec
lea edx, [rax + 0x11]
lea rax, [0x1400447b8]
mov r9d, edi
mov r8, r14
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14011834c
jmp 0x14011b2ec
call fcn.14012c898
call fcn.1401296fc
xor ebx, ebx
test eax, eax
jne 0x14011ac7f
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
lea rbx, [0x140154018]
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x12
lea rax, [0x140043d40]
mov r8, r14
mov rcx, qword [0x140154018]
jmp 0x14011ac10
lea rcx, [rsp + 0x38]
call fcn.14012cd78
test eax, eax
jne 0x14011ace7
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
lea rbx, [0x140154018]
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011acdd
test byte [rax + 0x1c], 8
je 0x14011acdd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x13
lea rax, [0x140043d40]
mov qword [rsp + 0x20], rax
mov r8, r14
mov rcx, qword [0x140154018]
mov rcx, qword [rcx + 0x10]
call fcn.14011834c
mov r13, qword [rsp + 0x38]
jmp 0x14011b2ec
mov r13, qword [rsp + 0x38]
or r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp word [r13 + rax*2], bx
jne 0x14011acf3
cmp rax, 2
ja 0x14011ad47
mov esi, ebx
mov r9d, reloc.VssTrace.DLL_Ordinal_11
mov edi, r9d
lea rbx, [0x140154018]
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2ec
test byte [rcx + 0x1c], 8
je 0x14011b2ec
lea edx, [r9 + 9]
lea rax, [0x140044838]
lea r8, [0x1400449a0]
jmp 0x14011ac10
mov rax, r14
inc rax
cmp word [r13 + rax*2], bx
jne 0x14011ad4a
cmp word [r13 + rax*2 - 2], 0x5c
jne 0x14011ad72
mov rax, r14
inc rax
cmp word [r13 + rax*2], bx
jne 0x14011ad61
mov word [r13 + rax*2 - 2], bx
mov eax, 0x3f
mov word [r13 + 2], ax
lea rbx, [0x140154018]
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011adab
test byte [rcx + 0x1c], 2
je 0x14011adab
lea edx, [rax - 0x2a]
mov r9, r13
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.140118288
mov rdx, r13
mov rcx, r15
call fcn.140129a6c
xor ecx, ecx
test eax, eax
jne 0x14011ae01
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x16
lea rax, [0x1400447f0]
lea r8, [0x1400449a0]
jmp 0x14011ac76
lea rcx, [rsp + 0x40]
call fcn.14012cf3c
mov r12, qword [rsp + 0x40]
xor ecx, ecx
test eax, eax
jne 0x14011ae87
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r15d, eax
call fcn.140125da0
cmp eax, 2
je 0x14011af73
xor r14d, r14d
mov esi, r14d
mov r12d, 0x80042416
mov ecx, r12d
call fcn.140129a10
mov edi, eax
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011ae7d
test byte [rcx + 0x1c], 8
je 0x14011ae7d
lea edx, [r14 + 0x17]
mov dword [rsp + 0x28], r15d
lea rax, [0x140044898]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.14011b7f8
mov r12, qword [rsp + 0x40]
jmp 0x14011b2ef
mov rax, r14
inc rax
cmp word [r12 + rax*2], cx
jne 0x14011ae8a
cmp rax, 2
ja 0x14011aec8
mov esi, ecx
mov r9d, reloc.VssTrace.DLL_Ordinal_11
mov edi, r9d
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2ec
test byte [rcx + 0x1c], 8
je 0x14011b2ec
lea edx, [r9 + 0xd]
jmp 0x14011ad34
mov rax, r14
inc rax
cmp word [r12 + rax*2], cx
jne 0x14011aecb
cmp word [r12 + rax*2 - 2], 0x5c
jne 0x14011aef1
mov rax, r14
inc rax
cmp word [r12 + rax*2], cx
jne 0x14011aee1
mov word [r12 + rax*2 - 2], cx
mov eax, 0x3f
mov word [r12 + 2], ax
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011af24
test byte [rcx + 0x1c], 2
je 0x14011af24
lea edx, [rax - 0x26]
mov r9, r12
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.140118288
mov rdx, r12
mov rcx, r15
call fcn.140129a6c
xor ecx, ecx
test eax, eax
jne 0x14011af73
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x1a
lea rax, [0x140044850]
jmp 0x14011adf5
lea rcx, [rbp + 0x1f0]
call fcn.14012b888
mov r15d, eax
xor edx, edx
test eax, eax
je 0x14011b09d
cmp word [rbp + 0x1f0], dx
je 0x14011b09d
lea rax, [rbp + 0x1f0]
inc r14
cmp word [rax + r14*2], dx
jne 0x14011afa0
cmp r14d, 2
ja 0x14011afde
mov esi, edx
mov r9d, reloc.VssTrace.DLL_Ordinal_11
mov edi, r9d
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2ec
test byte [rcx + 0x1c], 8
je 0x14011b2ec
lea edx, [r9 + 0x10]
jmp 0x14011ad34
lea ecx, [r14 - 1]
add rcx, rcx
cmp word [rbp + rcx + 0x1f0], 0x5c
jne 0x14011b009
cmp rcx, 0x208
jae 0x14011b003
mov word [rbp + rcx + 0x1f0], dx
jmp 0x14011b009
call fcn.14005e088
int3
mov eax, 0x3f
mov word [rbp + 0x1f2], ax
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b041
test byte [rcx + 0x1c], 2
je 0x14011b041
lea edx, [rax - 0x23]
lea r9, [rbp + 0x1f0]
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.140118288
lea rdx, [rbp + 0x1f0]
mov r14, qword [rsp + 0x58]
mov rcx, r14
call fcn.140129a6c
xor ecx, ecx
test eax, eax
jne 0x14011b135
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x1d
lea rax, [0x1400448e0]
jmp 0x14011adf5
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b0d4
test byte [rax + 0x1c], 2
je 0x14011b0d4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x1e
lea r8, [0x1400449a0]
mov rcx, qword [0x140154018]
mov rcx, qword [rcx + 0x10]
call fcn.14011b7bc
test r15d, r15d
jne 0x14011b130
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r9d, [r15 + 0xe]
cmp eax, r9d
jne 0x14011b130
xor r14d, r14d
mov esi, r14d
mov edi, r9d
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2ef
test byte [rcx + 0x1c], 8
je 0x14011b2ef
lea edx, [r15 + 0x1f]
lea rax, [0x1400448c0]
mov qword [rsp + 0x20], rax
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.14011834c
jmp 0x14011b2ef
mov r14, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x60]
mov dword [rsp + 0x20], r15d
mov r9, qword [rsp + 0x68]
mov r8, r14
lea rcx, [rbp - 0x60]
call fcn.140129044
xor ecx, ecx
test eax, eax
jne 0x14011b194
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x20
mov r9d, eax
lea rax, [0x140043d40]
jmp 0x14011adf5
lea rcx, [rsp + 0x48]
call fcn.14013125c
xor ecx, ecx
test eax, eax
jne 0x14011b1d5
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x21
jmp 0x14011b185
mov dword [rsp + 0x20], r15d
mov r9, qword [rsp + 0x68]
mov r8, qword [r14]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.14011bff0
xor ecx, ecx
test eax, eax
jne 0x14011b234
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b2ec
test byte [rax + 0x1c], 8
je 0x14011b2ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x22
lea rax, [0x140044930]
jmp 0x14011adf5
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.14011b3d0
xor ecx, ecx
test eax, eax
jne 0x14011b2a9
mov esi, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
mov rax, qword [0x140154018]
cmp rax, rbx
je 0x14011b29f
test byte [rax + 0x1c], 8
je 0x14011b29f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x23
lea rax, [0x140043d40]
mov qword [rsp + 0x20], rax
lea r8, [0x1400449a0]
mov rcx, qword [0x140154018]
mov rcx, qword [rcx + 0x10]
call fcn.14011834c
mov rcx, qword [rsp + 0x50]
xor r14d, r14d
jmp 0x14011b2f4
call fcn.14012b768
xor r14d, r14d
test eax, eax
jne 0x14011b2da
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b2da
test byte [rcx + 0x1c], 4
je 0x14011b2da
lea edx, [rax + 0x24]
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.140118174
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rcx, r14
jmp 0x14011b2f4
xor r14d, r14d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov edx, edi
call fcn.14012c9b8
test eax, eax
jne 0x14011b33f
mov rcx, qword [0x140154018]
cmp rcx, rbx
je 0x14011b33f
test byte [rcx + 0x1c], 8
je 0x14011b33f
lea edx, [rax + 0x25]
mov r9d, edi
lea r8, [0x1400449a0]
mov rcx, qword [rcx + 0x10]
call fcn.14011b7bc
lea rcx, [0x1400447c8]
call fcn.1401299d0
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
nop
lea rcx, [rsp + 0x78]
call fcn.14011b888
nop
cmp qword [rsp + 0x48], r14
je 0x14011b371
lea rcx, [rsp + 0x48]
call fcn.14011a07c
nop
lea rcx, [rbp - 0x60]
call fcn.140124ec8
mov eax, esi
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14005dc70
mov rbx, qword [rsp + 0x560]
add rsp, 0x510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret