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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov rax, qword [0x18021dd90]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x198], 0
je 0x1800c1a12
mov rax, qword [rsp + 0x198]
mov dword [rax], 0
cmp qword [rsp + 0x1a0], 0
je 0x1800c1a2b
mov rax, qword [rsp + 0x1a0]
mov dword [rax], 0
cmp qword [rsp + 0x1a8], 0
je 0x1800c1a44
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 0
lea rcx, [rsp + 0x78]
call fcn.180028750
nop
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x50]
call fcn.1800be7c0
nop
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0
mov r8d, dword [rsp + 0x190]
mov edx, dword [rsp + 0x188]
lea rcx, [rsp + 0x50]
call fcn.1800beac0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800c1aa6
jmp 0x1800c1bbb
mov ecx, 0x118
call fcn.1800f87f4
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1800c1ad8
jmp 0x1800c1bbb
mov r8d, 0x118
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1800f8660
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov r8d, 0x3f
mov rdx, qword [rsp + 0x178]
mov rcx, rax
call fcn.1800f88a0
mov rax, qword [rsp + 0x80]
add rax, 0x98
mov r8d, 0x3f
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.1800f88a0
mov rax, qword [rsp + 0x170]
add rax, 0x60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x170]
add rax, 0x48
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, rax
call fcn.1800ba3a0
mov rax, qword [rsp + 0x170]
add rax, 0x60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x68], 1
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c3cd0
xor eax, eax
test eax, eax
jne 0x1800c1a7b
cmp dword [rsp + 0x68], 0
je 0x1800c2253
xor r9d, r9d
mov r8, qword [rsp + 0x178]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.1800c0f60
nop
mov rax, qword [rsp + 0x88]
cmp dword [rax - 8], 0
jne 0x1800c1c02
mov dword [rsp + 0x140], 1
jmp 0x1800c1c0d
mov dword [rsp + 0x140], 0
cmp dword [rsp + 0x140], 0
jne 0x1800c21fe
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf8], rax
mov r9, qword [rsp + 0x180]
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xa0]
call fcn.18000ee10
nop
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0xffffffff
jne 0x1800c1d40
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.180001830
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1800c1ce0
cmp qword [rsp + 0x198], 0
je 0x1800c1cc5
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp qword [rsp + 0x1a0], 0
je 0x1800c1ce0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800c1d40
lea rcx, [rsp + 0xac]
call fcn.1800e4b10
nop
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, str.CTSandboxMgr::CreateSandboxInstance_MySHCreateDirectory___s__bRet__lu_
lea r8, str.InitReg
mov edx, 8
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xac]
call fcn.1800e4b40
mov rax, qword [0x1801c8440]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 0
jmp 0x1800c1d6c
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x1a
jge 0x1800c1e2e
movsxd rax, dword [rsp + 0xb0]
imul rax, rax, 0xa0
lea rcx, [0x1802395a0]
mov edx, dword [rsp + 0xb0]
mov dword [rcx + rax + 0x18], edx
mov eax, dword [rsp + 0xb0]
add eax, 0x41
mov word [rsp + 0x98], ax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x110], rax
call fcn.18000d110
mov r9, qword [rsp + 0x110]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xb8]
mov rcx, rax
call fcn.180016160
nop
movsxd rax, dword [rsp + 0xb0]
imul rax, rax, 0xa0
lea rcx, [0x1802395a0]
add rcx, rax
mov rax, rcx
mov r9d, 1
mov r8d, 0x47
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1800deaf0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800e56d0
jmp 0x1800c1d5c
lea rcx, [rsp + 0xa0]
call fcn.1800e56d0
cmp dword [rsp + 0x68], 0
je 0x1800c21fc
mov eax, dword [rsp + 0x188]
and eax, 0x200
test eax, eax
je 0x1800c21fc
xor r8d, r8d
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x88]
call fcn.18000f4a0
mov dword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x118], rax
xor r9d, r9d
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0xc8]
call fcn.18000ef30
nop
mov eax, dword [rsp + 0x190]
and eax, 0x2000
test eax, eax
je 0x1800c1ecb
mov dword [rsp + 0x144], 1
jmp 0x1800c1ed6
mov dword [rsp + 0x144], 0
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x120]
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c1030
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1800c2149
cmp qword [rsp + 0x1a0], 0
je 0x1800c1f5c
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800c1fbf
lea rcx, [rsp + 0xdc]
call fcn.1800e4b10
nop
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, str.CTSandboxMgr::CreateSandboxInstance___s__InitSandboxRegistry_fail_x1_err__lu_
lea r8, str.InitReg
mov edx, 8
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xdc]
call fcn.1800e4b40
cmp dword [rsp + 0xd0], 0x3f1
je 0x1800c2000
cmp dword [rsp + 0xd0], 0x3f7
je 0x1800c2000
cmp dword [rsp + 0xd0], 0x3f8
je 0x1800c2000
cmp dword [rsp + 0xd0], 0x3f9
je 0x1800c2000
mov dword [rsp + 0x148], 0
jmp 0x1800c200b
mov dword [rsp + 0x148], 1
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x190]
and eax, 0x4000
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x1800c2149
cmp dword [rsp + 0xd8], 0
je 0x1800c2149
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x128], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x128]
call fcn.18000f110
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800c2149
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x130]
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c1030
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x1a8], 0
je 0x1800c20e9
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 1
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800c2149
lea rcx, [rsp + 0xe0]
call fcn.1800e4b10
nop
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, str.CTSandboxMgr::CreateSandboxInstance_rebuild___s__InitSandboxRegistry_ret__lu_
lea r8, str.InitReg
mov edx, 8
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xe0]
call fcn.1800e4b40
cmp dword [rsp + 0x68], 0
jne 0x1800c2169
cmp qword [rsp + 0x198], 0
je 0x1800c2169
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000e
lea rcx, [0x1802386e0]
call fcn.1800d48a0
test eax, eax
je 0x1800c21ef
lea rcx, [rsp + 0xe4]
call fcn.1800e4b10
nop
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x20], rax
lea r9, str.CTSandboxMgr::CreateSandboxInstance_InitSandboxRegistry_Class__s__Instance__s__RegFile__s__bRegUseIndex__lu__bRet__lu_
lea r8, str.InitReg
mov edx, 8
lea rcx, [0x1802386e8]
call fcn.1800dad10
nop
lea rcx, [rsp + 0xe4]
call fcn.1800e4b40
nop
lea rcx, [rsp + 0xc8]
call fcn.1800e56d0
jmp 0x1800c221f
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x198], 0
je 0x1800c221f
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp dword [rsp + 0x68], 0
jne 0x1800c2244
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c22f0
nop
lea rcx, [rsp + 0x88]
call fcn.1800e56d0
jmp 0x1800c22a7
cmp qword [rsp + 0x198], 0
je 0x1800c226c
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x80000003
cmp qword [rsp + 0x1a0], 0
je 0x1800c2287
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
cmp qword [rsp + 0x70], 0
je 0x1800c22a7
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800becf0
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0x50]
call fcn.1800be8a0
nop
lea rcx, [rsp + 0x78]
call fcn.1800287a0
mov eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800f93c0
add rsp, 0x168
ret