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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov rax, qword [0x1800c9088]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor r14d, r14d
mov rdi, r9
mov rsi, rdx
test rdx, rdx
je 0x1800359b8
mov word [rdx], r14w
lea rcx, [rbp + 0x360]
mov r12d, 0x20a
xor edx, edx
mov r8d, r12d
call fcn.1800485d0
mov r13d, 0x104
test rdi, rdi
jne 0x1800357eb
mov r8d, r12d
mov word [rbp + 0x360], r14w
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1800485d0
mov r8d, r13d
lea rdx, [rsp + 0x40]
lea rcx, [0x180000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x18003572d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800357ba
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1800357b5
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x1800357b5
lea r8, [rsp + 0x40]
mov edx, 0x105
lea rcx, [rbp + 0x150]
call fcn.1800506fc
test eax, eax
jne 0x1800357ab
lea rdx, str.isolate.ini
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1800357ab
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18003572d
lea r8, [rbp + 0x150]
mov rdx, r13
lea rcx, [rbp + 0x360]
call fcn.1800506fc
test eax, eax
je 0x1800357e4
jmp 0x180035812
mov eax, 0x54f
jmp 0x1800359bd
mov eax, 2
cmp eax, 2
jne 0x1800357dc
lea r9d, [rax + 0x1a]
mov rcx, rsi
lea r8, str.SoftwareSymantecIsolation
lea edx, [rax + 0x62]
call fcn.180050bb0
xor eax, eax
jmp 0x1800359bd
test eax, eax
jne 0x1800359bd
lea rdi, [rbp + 0x360]
mov r9d, 0x64
mov qword [rsp + 0x20], rdi
mov r8, rsi
lea rdx, str.SoftwareSymantecIsolation
lea rcx, str.reghive
call fcn.1800345ac
cmp rax, 0x63
jne 0x18003581c
mov eax, 0x7a
jmp 0x1800359bd
mov r8, r12
lea rcx, [rbp + 0x570]
xor edx, edx
mov ebx, r14d
call fcn.1800485d0
test rdi, rdi
jne 0x18003591e
mov r8, r12
mov word [rbp + 0x570], r14w
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1800485d0
mov r8d, r13d
lea rdx, [rsp + 0x40]
lea rcx, [0x180000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x180035874
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180035903
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1800358fe
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x1800358fe
lea r8, [rsp + 0x40]
mov edx, 0x105
lea rcx, [rbp + 0x150]
call fcn.1800506fc
test eax, eax
jne 0x1800358f7
lea rdx, str.isolate.ini
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1800358f7
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180035874
lea r8, [rbp + 0x150]
mov rdx, r13
lea rcx, [rbp + 0x570]
call fcn.1800506fc
test eax, eax
je 0x180035917
mov eax, 0x7a
jmp 0x180035960
mov eax, 0x54f
jmp 0x180035960
mov eax, 2
cmp eax, 2
jne 0x18003590f
mov ebx, 0x200
jmp 0x180035964
test eax, eax
jne 0x1800359bd
lea rdi, [rbp + 0x570]
xor eax, eax
mov dword [rsp + 0x30], eax
test rdi, rdi
je 0x180035958
lea r9d, [rax + 2]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x30]
lea rdx, [0x1800a9c4c]
lea rcx, [0x1800a9c50]
call fcn.1800345ac
cmp rax, 1
jne 0x180035958
cmp word [rsp + 0x30], 0x31
je 0x18003595d
mov ebx, 0x200
mov eax, r14d
test eax, eax
jne 0x1800359bd
lea rax, [rsp + 0x38]
or ebx, 0x20019
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18003599b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800359a9
cmp eax, 5
je 0x1800359a9
cmp eax, 2
je 0x1800359a9
mov word [rsi], r14w
movzx eax, word [rsi]
neg ax
sbb eax, eax
not eax
and eax, 0xd
jmp 0x1800359bd
mov eax, 0x57
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.180045d30
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret