Function at 0x1800136d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x18004f010]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x1a8]
call fcn.180003400
nop
lea rcx, [rsp + 0x188]
call fcn.180003400
nop
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x220]
call fcn.1800132b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1e8]
call fcn.180011d20
nop
lea rcx, [rsp + 0xc8]
call fcn.180003350
lea rcx, [rsp + 0x1e8]
call fcn.180012280
mov byte [rsp + 0x24], al
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x220]
call fcn.1800132b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x1a8]
call fcn.180016cb0
nop
lea rcx, [rsp + 0xe8]
call fcn.180003350
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1800137da
lea rdx, [0x180041234]
lea rcx, [rsp + 0x1a8]
call fcn.180016c70
mov rax, qword [rsp + 0x220]
cmp dword [rax + 0xa0], 1
jne 0x180013826
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x220]
call fcn.180013190
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
jmp 0x18001385f
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x220]
call fcn.180013300
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x1a8]
call fcn.180016cb0
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x18001389a
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x108]
call fcn.180003350
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1800138b7
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x128]
call fcn.180003350
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x188]
call fcn.180016d90
cmp dword [rsp + 0x28], 0
je 0x180013947
lea rdx, [0x180041244]
lea rcx, [rsp + 0x188]
call fcn.180016c70
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18000e820
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x188]
call fcn.180016cb0
nop
lea rcx, [rsp + 0x148]
call fcn.180003350
lea rdx, [0x180041274]
lea rcx, [rsp + 0x188]
call fcn.180016c70
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x188]
call fcn.180016c70
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x188]
call fcn.180003300
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800138b7
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1a8]
call fcn.180016d90
lea rdx, [0x1800427d8]
lea rcx, [rsp + 0x1c8]
call fcn.180004700
nop
lea rdx, [0x1800427f8]
lea rcx, [rsp + 0x1c8]
call fcn.180016c70
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x220]
call fcn.180013510
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.180016cb0
mov qword [rsp + 0xb0], rax
lea rdx, [0x18004128c]
mov rcx, qword [rsp + 0xb0]
call fcn.180016c70
nop
lea rcx, [rsp + 0x168]
call fcn.180003350
lea rdx, [0x180042808]
lea rcx, [rsp + 0x1c8]
call fcn.180016c70
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0xb8]
call fcn.180016cb0
mov qword [rsp + 0xc0], rax
lea rdx, [0x1800412a4]
mov rcx, qword [rsp + 0xc0]
call fcn.180016c70
lea rcx, [rsp + 0x1c8]
call fcn.180002680
mov rdx, rax
mov rcx, qword [rsp + 0x228]
call fcn.180003380
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x1c8]
call fcn.180003350
nop
lea rcx, [rsp + 0x1e8]
call fcn.180003350
nop
lea rcx, [rsp + 0x188]
call fcn.180003350
nop
lea rcx, [rsp + 0x1a8]
call fcn.180003350
mov rax, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.18001d650
add rsp, 0x218
ret