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

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x9d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800c9088]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x1800cc7a8], ebx
jne 0x18005d4e0
lea rdx, [0x1800cc2b0]
lea rcx, [rsp + 0x38]
call fcn.180061038
nop
xor eax, eax
lock cmpxchg dword [0x1800cc7a8], ebx
jne 0x18005d4ca
mov r14d, 0x20a
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x180]
call fcn.1800485d0
mov word [rsp + 0x180], bx
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x390]
call fcn.1800485d0
mov edi, 0x104
mov r8d, edi
lea rdx, [rsp + 0x390]
lea rcx, [0x180000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x18005d205
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18005d2a5
lea rcx, [rsp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x18005d496
lea rcx, [rsp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x18005d496
lea r8, [rsp + 0x390]
mov edx, 0x105
lea rcx, [rsp + 0x5a0]
call fcn.1800506fc
test eax, eax
jne 0x18005d496
lea rdx, str.isolate.ini
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x18005d496
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18005d205
lea r8, [rsp + 0x5a0]
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.1800506fc
test eax, eax
jne 0x18005d496
mov eax, ebx
test eax, eax
jne 0x18005d496
cmp word [rsp + 0x180], bx
je 0x18005d374
mov word [rsp + 0x60], bx
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x60]
lea rdx, [0x1800a4c08]
lea rcx, str.silo
call fcn.1800345ac
cmp rax, 0x27
je 0x18005d381
lea rcx, [rsp + 0x60]
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bx
jne 0x18005d301
cmp rax, 0x26
jne 0x18005d343
cmp word [rsp + 0x60], 0x7b
jne 0x18005d343
cmp word [rsp + 0xaa], 0x7d
jne 0x18005d343
lea edi, [rax - 0x25]
cmp rdi, 0x18
ja 0x18005d356
mov eax, 0x1084200
bt rax, rdi
jae 0x18005d356
mov eax, 0x2d
cmp ax, word [rsp + rdi*2 + 0x60]
je 0x18005d364
mov eax, ebx
mov word [rsp + 0x60], bx
neg ax
sbb eax, eax
not eax
and eax, 0xd
jmp 0x18005d37d
movzx ecx, word [rsp + rdi*2 + 0x60]
call fcn.18004d764
test eax, eax
je 0x18005d343
inc rdi
cmp rdi, 0x24
jb 0x18005d326
movzx eax, word [rsp + 0x60]
jmp 0x18005d34a
mov eax, 0x57
or rsi, 0xffffffffffffffff
test eax, eax
je 0x18005d39e
lea rax, [0x1800aa428]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.180060ff4
xor al, al
jmp 0x18005d4e2
lea rax, [rsp + 0x60]
inc rsi
cmp word [rax + rsi*2], bx
jne 0x18005d3a3
mov r8d, esi
lea rdx, [rsp + 0x60]
lea rcx, [0x1800cc2e8]
call fcn.180002bc4
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0xb0]
call fcn.1800485d0
lea r9, [rsp + 0x180]
lea rdx, [rsp + 0xb0]
call fcn.180035684
test eax, eax
je 0x18005d40b
lea rax, [0x1800aa428]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.180060ff4
xor al, al
jmp 0x18005d4e2
mov r9, qword [0x1800cc2e8]
lea r8, [rsp + 0xb0]
lea rdx, [0x1800a8ba8]
lea rcx, [0x1800cc2f0]
call fcn.180001700
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x7b0]
call fcn.1800485d0
xor eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rsp + 0x30]
lea rdx, [0x1800a9c4c]
lea rcx, [0x1800a9c50]
call fcn.1800345ac
cmp rax, 1
jne 0x18005d47e
cmp word [rsp + 0x30], 0x31
je 0x18005d483
mov ebx, 0x200
mov dword [0x1800cca68], ebx
mov eax, 1
xchg dword [0x1800cc7a8], eax
jmp 0x18005d4ca
lea rax, [0x1800aa428]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.180060ff4
xor al, al
jmp 0x18005d4e2
lea rax, [0x1800aa428]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.180060ff4
mov al, 1
mov rcx, qword [rsp + 0x9c0]
xor rcx, rsp
call fcn.180045d30
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret