Function at 0x1800c2760
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 [0x180222e50]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x198], 0
je 0x1800c27b2
mov rax, qword [rsp + 0x198]
mov dword [rax], 0
cmp qword [rsp + 0x1a0], 0
je 0x1800c27cb
mov rax, qword [rsp + 0x1a0]
mov dword [rax], 0
cmp qword [rsp + 0x1a8], 0
je 0x1800c27e4
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 0
lea rcx, [rsp + 0x78]
call fcn.180028f50
nop
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x50]
call fcn.1800bf5d0
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.1800bf8d0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800c2846
jmp 0x1800c295b
mov ecx, 0x118
call fcn.1800fb374
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1800c2878
jmp 0x1800c295b
mov r8d, 0x118
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1800fb1e0
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.1800fb420
mov rax, qword [rsp + 0x80]
add rax, 0x98
mov r8d, 0x3f
mov rdx, qword [rsp + 0x180]
mov rcx, rax
call fcn.1800fb420
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.1800bb1a0
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.1800c4a80
xor eax, eax
test eax, eax
jne 0x1800c281b
cmp dword [rsp + 0x68], 0
je 0x1800c2ff3
xor r9d, r9d
mov r8, qword [rsp + 0x178]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.1800c1d00
nop
mov rax, qword [rsp + 0x88]
cmp dword [rax - 8], 0
jne 0x1800c29a2
mov dword [rsp + 0x140], 1
jmp 0x1800c29ad
mov dword [rsp + 0x140], 0
cmp dword [rsp + 0x140], 0
jne 0x1800c2f9e
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.18000ef00
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 0x1800c2ae0
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 0x1800c2a80
cmp qword [rsp + 0x198], 0
je 0x1800c2a65
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp qword [rsp + 0x1a0], 0
je 0x1800c2a80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800c2ae0
lea rcx, [rsp + 0xac]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xac]
call fcn.1800e76c0
mov rax, qword [0x1801cb9e0]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 0
jmp 0x1800c2b0c
mov eax, dword [rsp + 0xb0]
inc eax
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x1a
jge 0x1800c2bce
movsxd rax, dword [rsp + 0xb0]
imul rax, rax, 0xa0
lea rcx, [0x18023e700]
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.18000d200
mov r9, qword [rsp + 0x110]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xb8]
mov rcx, rax
call fcn.180016350
nop
movsxd rax, dword [rsp + 0xb0]
imul rax, rax, 0xa0
lea rcx, [0x18023e700]
add rcx, rax
mov rax, rcx
mov r9d, 1
mov r8d, 0x47
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1800dfdf0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800e8250
jmp 0x1800c2afc
lea rcx, [rsp + 0xa0]
call fcn.1800e8250
cmp dword [rsp + 0x68], 0
je 0x1800c2f9c
mov eax, dword [rsp + 0x188]
and eax, 0x200
test eax, eax
je 0x1800c2f9c
xor r8d, r8d
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x88]
call fcn.18000f590
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.18000f020
nop
mov eax, dword [rsp + 0x190]
and eax, 0x2000
test eax, eax
je 0x1800c2c6b
mov dword [rsp + 0x144], 1
jmp 0x1800c2c76
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.1800c1dd0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1800c2ee9
cmp qword [rsp + 0x1a0], 0
je 0x1800c2cfc
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800c2d5f
lea rcx, [rsp + 0xdc]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xdc]
call fcn.1800e76c0
cmp dword [rsp + 0xd0], 0x3f1
je 0x1800c2da0
cmp dword [rsp + 0xd0], 0x3f7
je 0x1800c2da0
cmp dword [rsp + 0xd0], 0x3f8
je 0x1800c2da0
cmp dword [rsp + 0xd0], 0x3f9
je 0x1800c2da0
mov dword [rsp + 0x148], 0
jmp 0x1800c2dab
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 0x1800c2ee9
cmp dword [rsp + 0xd8], 0
je 0x1800c2ee9
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.18000f200
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800c2ee9
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.1800c1dd0
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x1a8], 0
je 0x1800c2e89
mov rax, qword [rsp + 0x1a8]
mov dword [rax], 1
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800c2ee9
lea rcx, [rsp + 0xe0]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xe0]
call fcn.1800e76c0
cmp dword [rsp + 0x68], 0
jne 0x1800c2f09
cmp qword [rsp + 0x198], 0
je 0x1800c2f09
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000e
lea rcx, [0x18023d830]
call fcn.1800d5710
test eax, eax
je 0x1800c2f8f
lea rcx, [rsp + 0xe4]
call fcn.1800e7690
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, [0x18023d838]
call fcn.1800dbb80
nop
lea rcx, [rsp + 0xe4]
call fcn.1800e76c0
nop
lea rcx, [rsp + 0xc8]
call fcn.1800e8250
jmp 0x1800c2fbf
mov dword [rsp + 0x68], 0
cmp qword [rsp + 0x198], 0
je 0x1800c2fbf
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x8000000d
cmp dword [rsp + 0x68], 0
jne 0x1800c2fe4
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1800c3090
nop
lea rcx, [rsp + 0x88]
call fcn.1800e8250
jmp 0x1800c3047
cmp qword [rsp + 0x198], 0
je 0x1800c300c
mov rax, qword [rsp + 0x198]
mov dword [rax], 0x80000003
cmp qword [rsp + 0x1a0], 0
je 0x1800c3027
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1a0]
mov dword [rcx], eax
cmp qword [rsp + 0x70], 0
je 0x1800c3047
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800bfb00
mov qword [rsp + 0x70], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0x50]
call fcn.1800bf6b0
nop
lea rcx, [rsp + 0x78]
call fcn.180028fa0
mov eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800fbf40
add rsp, 0x168
ret