Function at 0x1800095e0
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18001f090]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r9
mov r13, r8
mov r12, rdx
mov rdi, rcx
mov rbp, qword [rsp + 0x2d8]
xor r14d, r14d
mov word [rsp + 0x50], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.18000b450
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [r14 + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.18000ab94
mov rcx, rax
lea rdx, str.MountCore.dll
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x18000968f
mov eax, 0x80004005
jmp 0x180009854
lea rdx, str.QueryInterface
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1800096b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x180009854
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x20]
lea rcx, [0x180019890]
call rax
test eax, eax
je 0x1800096f2
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1800096df
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x180009854
mov rax, qword [rdi + 0x68]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx]
movzx edx, word [rax]
call qword [r8 + 0x18]
test eax, eax
jne 0x18000972d
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000971a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x80004005
jmp 0x180009854
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000973e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, qword [rdi + 0x68]
cmp word [rdx], 0x5c
jne 0x180009762
mov dword [r12], 1
mov dword [rdi + 0x70], 2
jmp 0x1800097c2
mov word [rsp + 0x38], r14w
xor eax, eax
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov word [rsp + 0x4a], ax
lea r8d, [rax + 4]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800097be
mov dword [r12], 1
mov dword [rdi + 0x70], 2
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800097c2
mov eax, 0x80004005
jmp 0x180009854
mov dword [r12], r14d
mov rax, qword [rdi + 0x68]
movzx ecx, word [rax]
mov word [r13], cx
mov rcx, qword [rdi + 0x48]
mov dword [rsp + 0x20], 1
mov rax, qword [rcx]
call qword [rax + 0x40]
test rax, rax
jne 0x1800097ec
mov eax, 0x80070057
jmp 0x180009854
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180009880
test eax, eax
jne 0x180009854
mov eax, dword [rsp + 0x20]
cmp dword [rdi + 0x70], 2
jne 0x180009813
cmp eax, 3
je 0x180009813
mov eax, 0x80004005
jmp 0x180009854
sub eax, 3
je 0x180009848
sub eax, 1
je 0x180009837
cmp eax, 1
je 0x180009829
mov eax, 1
jmp 0x180009854
mov dword [rsi], 7
mov dword [rbp], r14d
xor eax, eax
jmp 0x180009854
mov dword [rsi], 2
mov dword [rbp], 1
xor eax, eax
jmp 0x180009854
mov dword [rsi], 8
mov dword [rbp], r14d
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18000a310
add rsp, 0x270
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret