Function at 0x1800c1ee0
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 0x1800c1f32
mov rax, qword [rsp + 0x198]
mov dword [rax], 0
cmp qword [rsp + 0x1a0], 0
je 0x1800c1f4b
mov rax, qword [rsp + 0x1a0]
mov dword [rax], 0
cmp qword [rsp + 0x1a8], 0
je 0x1800c1f64
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 0
lea rcx, [rsp + 0x78]
call fcn.1800287a0
nop
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x50]
call fcn.1800bece0
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.1800befe0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800c1fc6
jmp 0x1800c20db
mov ecx, 0x118
call fcn.1800f8d24
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1800c1ff8
jmp 0x1800c20db
mov r8d, 0x118
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1800f8b90
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.1800f8dd0
mov rax, qword [rsp + 0x80]
add rax, 0x98
mov r8d, 0x3f
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.1800f8dd0
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.1800ba8b0
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.1800c4200
xor eax, eax
test eax, eax
jne 0x1800c1f9b
cmp dword [rsp + 0x68], 0
je 0x1800c2773
xor r9d, r9d
mov r8, qword [rsp + 0x178]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.1800c1480
nop
mov rax, qword [rsp + 0x88]
cmp dword [rax - 8], 0
jne 0x1800c2122
mov dword [rsp + 0x140], 1
jmp 0x1800c212d
mov dword [rsp + 0x140], 0
cmp dword [rsp + 0x140], 0
jne 0x1800c271e
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 0x1800c2260
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 0x1800c2200
cmp qword [rsp + 0x198], 0
je 0x1800c21e5
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp qword [rsp + 0x1a0], 0
je 0x1800c2200
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
lea rcx, [0x1802386e0]
call fcn.1800d4dd0
test eax, eax
je 0x1800c2260
lea rcx, [rsp + 0xac]
call fcn.1800e5040
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.1800db240
nop
lea rcx, [rsp + 0xac]
call fcn.1800e5070
mov rax, qword [0x1801c85a0]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 0
jmp 0x1800c228c
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x1a
jge 0x1800c234e
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.1800161b0
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.1800df020
nop
lea rcx, [rsp + 0xb8]
call fcn.1800e5c00
jmp 0x1800c227c
lea rcx, [rsp + 0xa0]
call fcn.1800e5c00
cmp dword [rsp + 0x68], 0
je 0x1800c271c
mov eax, dword [rsp + 0x188]
and eax, 0x200
test eax, eax
je 0x1800c271c
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 0x1800c23eb
mov dword [rsp + 0x144], 1
jmp 0x1800c23f6
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.1800c1550
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1800c2669
cmp qword [rsp + 0x1a0], 0
je 0x1800c247c
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
lea rcx, [0x1802386e0]
call fcn.1800d4dd0
test eax, eax
je 0x1800c24df
lea rcx, [rsp + 0xdc]
call fcn.1800e5040
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.1800db240
nop
lea rcx, [rsp + 0xdc]
call fcn.1800e5070
cmp dword [rsp + 0xd0], 0x3f1
je 0x1800c2520
cmp dword [rsp + 0xd0], 0x3f7
je 0x1800c2520
cmp dword [rsp + 0xd0], 0x3f8
je 0x1800c2520
cmp dword [rsp + 0xd0], 0x3f9
je 0x1800c2520
mov dword [rsp + 0x148], 0
jmp 0x1800c252b
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 0x1800c2669
cmp dword [rsp + 0xd8], 0
je 0x1800c2669
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 0x1800c2669
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.1800c1550
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x1a8], 0
je 0x1800c2609
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 1
lea rcx, [0x1802386e0]
call fcn.1800d4dd0
test eax, eax
je 0x1800c2669
lea rcx, [rsp + 0xe0]
call fcn.1800e5040
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.1800db240
nop
lea rcx, [rsp + 0xe0]
call fcn.1800e5070
cmp dword [rsp + 0x68], 0
jne 0x1800c2689
cmp qword [rsp + 0x198], 0
je 0x1800c2689
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000e
lea rcx, [0x1802386e0]
call fcn.1800d4dd0
test eax, eax
je 0x1800c270f
lea rcx, [rsp + 0xe4]
call fcn.1800e5040
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.1800db240
nop
lea rcx, [rsp + 0xe4]
call fcn.1800e5070
nop
lea rcx, [rsp + 0xc8]
call fcn.1800e5c00
jmp 0x1800c273f
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x198], 0
je 0x1800c273f
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp dword [rsp + 0x68], 0
jne 0x1800c2764
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c2810
nop
lea rcx, [rsp + 0x88]
call fcn.1800e5c00
jmp 0x1800c27c7
cmp qword [rsp + 0x198], 0
je 0x1800c278c
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x80000003
cmp qword [rsp + 0x1a0], 0
je 0x1800c27a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
cmp qword [rsp + 0x70], 0
je 0x1800c27c7
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800bf210
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0x50]
call fcn.1800bedc0
nop
lea rcx, [rsp + 0x78]
call fcn.1800287f0
mov eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800f98f0
add rsp, 0x168
ret