Function at 0x1400cbf80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea rdx, str.DWS_GCXML
lea rcx, [rsp + 0x138]
call fcn.140033bc0
nop
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0x180]
add rax, 0x50
mov rdx, qword [rsp + 0x188]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400c6a90
nop
lea rcx, [rsp + 0xd8]
call fcn.140030030
nop
mov edx, 0x104
lea rcx, [rsp + 0xd8]
call fcn.140030800
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], Ordinal_265
mov rax, qword [rsp + 0x180]
add rax, 8
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xa0], rcx
mov rcx, rax
mov rax, qword [rsp + 0xa0]
call qword [rax + 0x78]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x100]
call fcn.140030730
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call fcn.140032a00
mov edx, 0xffffffff
lea rcx, [rsp + 0xd8]
call fcn.1400308e0
lea rcx, [rsp + 0xd8]
call fcn.140030730
mov rcx, rax
call fcn.140031c50
movzx eax, al
test eax, eax
jne 0x1400cc0d9
lea rcx, [rsp + 0xd8]
call fcn.140030730
mov rcx, rax
call fcn.140031d00
mov rax, qword [rsp + 0x180]
add rax, 0x58
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rax, qword [rsp + 0x180]
add rax, 0x58
lea rdx, [0x14017157c]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400c6850
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140030730
mov rcx, qword [rsp + 0x180]
add rcx, 0x58
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
nop
lea rcx, [rsp + 0x120]
call fcn.140030070
mov rax, qword [rsp + 0x180]
add rax, 0x58
lea rdx, str.CategoryXML.xml
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov ecx, 0x88
call sub.mfc120u.dll_Ordinal_1484
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400cc1b7
lea rdx, [0x140172390]
mov rcx, qword [rsp + 0x68]
call fcn.1400ddb90
mov qword [rsp + 0x58], rax
jmp 0x1400cc1c0
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x38]
call fcn.1400e00a0
lea rax, [rsp + reloc.mfc120u.dll_Ordinal_280]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x180]
add rax, 0x58
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
call fcn.1400e00d0
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400dfec0
mov rax, qword [rsp + 0x180]
cmp qword [rax + 0x40], 0
jne 0x1400cc2e6
mov ecx, 0x30
call sub.mfc120u.dll_Ordinal_1484
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400cc2ba
mov rax, qword [rsp + 0x180]
add rax, 8
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xf0], rcx
mov rcx, rax
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x68]
mov r8, rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400ddd40
mov qword [rsp + 0x70], rax
jmp 0x1400cc2c3
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x40], rcx
jmp 0x1400cc30d
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 0x40]
call fcn.1400d9f30
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 0x40]
call fcn.1400e0030
movzx eax, byte [rsp + 0x190]
test eax, eax
je 0x1400cc3ac
mov rax, qword [rsp + 0x180]
add rax, 0x50
xor r8d, r8d
lea rdx, [0x140172468]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x180]
add rax, 0x50
mov r9d, 8
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0xa8]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_8334]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x180]
add rax, 0x60
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, qword [rsp + 0x180]
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 0x1400cc435
mov rax, qword [rsp + 0x180]
add rax, 0x58
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x198]
movzx r8d, byte [rsp + 0x190]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.1400d09c0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 0x40]
call fcn.1400d9ea0
jmp 0x1400cc4a5
mov rax, qword [rsp + 0x180]
mov rcx, qword [rax + 0x40]
call fcn.1400d9780
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400cc4a5
mov rax, qword [rsp + 0x180]
add rax, 0x58
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x198]
movzx r8d, byte [rsp + 0x190]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.1400d09c0
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd8]
call fcn.140030070
nop
lea rcx, [rsp + 0x100]
call fcn.140030070
nop
jmp 0x1400cc4c3
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x138]
call fcn.140033c20
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x178
ret