Function at 0x1400cbac0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x148], rax
lea rdx, [0x140172168]
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_280]
call fcn.140033bc0
nop
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0x160]
add rax, 0x50
mov rdx, qword [rsp + 0x168]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x180]
call fcn.1400c6a90
nop
lea rcx, [rsp + 0xb8]
call fcn.140030030
nop
mov edx, 0x104
lea rcx, [rsp + 0xb8]
call fcn.140030800
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], Ordinal_265
mov rax, qword [rsp + 0x160]
add rax, 8
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x90], rcx
mov rcx, rax
mov rax, qword [rsp + 0x90]
call qword [rax + 0x78]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xe0]
call fcn.140030730
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call fcn.140032a00
mov edx, 0xffffffff
lea rcx, [rsp + 0xb8]
call fcn.1400308e0
lea rcx, [rsp + 0xb8]
call fcn.140030730
mov rcx, rax
call fcn.140031c50
movzx eax, al
test eax, eax
jne 0x1400cbc19
lea rcx, [rsp + 0xb8]
call fcn.140030730
mov rcx, rax
call fcn.140031d00
mov rax, qword [rsp + 0x160]
add rax, 0x58
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rax, qword [rsp + 0x160]
add rax, 0x58
lea rdx, [0x14017155c]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x180]
call fcn.1400c6850
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140030730
mov rcx, qword [rsp + 0x160]
add rcx, 0x58
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
nop
lea rcx, [rsp + 0x100]
call fcn.140030070
mov rax, qword [rsp + 0x160]
add rax, 0x58
lea rdx, [0x1401721c0]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov ecx, 0x88
call sub.mfc120u.dll_Ordinal_1484
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400cbcf1
lea rdx, [0x140172240]
mov rcx, qword [rsp + 0x60]
call fcn.1400ddb90
mov qword [rsp + 0x50], rax
jmp 0x1400cbcfa
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x38]
call fcn.1400e00a0
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x160]
add rax, 0x58
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
call fcn.1400e00d0
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400dfec0
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x40], 0
jne 0x1400cbe20
mov ecx, 0x30
call sub.mfc120u.dll_Ordinal_1484
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400cbdf4
mov rax, qword [rsp + 0x160]
add rax, 8
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x78], rcx
mov rcx, rax
mov rax, qword [rsp + 0x78]
call qword [rax + 0x68]
mov r8, rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.1400ddd40
mov qword [rsp + 0x68], rax
jmp 0x1400cbdfd
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x40], rcx
jmp 0x1400cbe47
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 0x40]
call fcn.1400d9f30
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 0x40]
call fcn.1400e0030
mov rax, qword [rsp + 0x160]
add rax, 0x58
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400cbec2
mov rax, qword [rsp + 0x160]
add rax, 0x58
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x178]
mov r8, qword [rsp + 0x170]
mov rdx, rax
mov rcx, qword [rsp + 0x160]
call fcn.1400d0530
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 0x40]
call fcn.1400d9ea0
jmp 0x1400cbf24
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 0x40]
call fcn.1400d9780
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400cbf24
mov rax, qword [rsp + 0x160]
add rax, 0x58
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x178]
mov r8, qword [rsp + 0x170]
mov rdx, rax
mov rcx, qword [rsp + 0x160]
call fcn.1400d0530
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xb8]
call fcn.140030070
nop
lea rcx, [rsp + 0xe0]
call fcn.140030070
nop
jmp 0x1400cbf42
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_280]
call fcn.140033c20
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x158
ret