Function at 0x18002b560
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x69], rdx
xor r15d, r15d
mov dword [rbp - 0x79], r15d
lea rdi, [rcx + 0x40]
cmp qword [rdi + 0x10], r15
je 0x18002b5ee
cmp qword [rdi + 0x18], 8
jb 0x18002b5b9
mov rcx, qword [rdi]
jmp 0x18002b5bc
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x18002b5ee
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
mov word [rsi], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1800165a0
jmp 0x18002b8e8
cmp byte [r14 + 0x160], r15b
je 0x18002b792
cmp qword [r14 + 0x150], r15
je 0x18002b792
call fcn.1800285c0
test eax, eax
je 0x18002b6c3
lea rcx, [rbp - 0x59]
call fcn.1800299e0
mov rbx, rax
lea rcx, [rbp - 0x19]
call fcn.180029370
nop
lea r8, [r14 + 0x140]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1800193e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.180018ea0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800137e0
nop
cmp qword [rbp + 0x1f], 8
jb 0x18002b66b
mov rcx, qword [rbp + 7]
call fcn.1800b5700
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r15
mov word [rbp + 7], r15w
cmp qword [rbp - 0x21], 8
jb 0x18002b68c
mov rcx, qword [rbp - 0x39]
call fcn.1800b5700
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
cmp qword [rbp - 1], 8
jb 0x18002b6ad
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
jmp 0x18002b8a5
lea rcx, [rbp + 7]
call fcn.180029b50
mov rbx, rax
lea rcx, [rbp - 0x39]
call fcn.1800294f0
nop
lea r8, [r14 + 0x140]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1800193e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.180018ea0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800137e0
nop
cmp qword [rbp - 0x41], 8
jb 0x18002b719
mov rcx, qword [rbp - 0x59]
call fcn.1800b5700
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
cmp qword [rbp - 1], 8
jb 0x18002b73a
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
cmp qword [rbp - 0x21], 8
jb 0x18002b75b
mov rcx, qword [rbp - 0x39]
call fcn.1800b5700
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
cmp qword [rbp + 0x1f], 8
jb 0x18002b77c
mov rcx, qword [rbp + 7]
call fcn.1800b5700
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r15
mov word [rbp + 7], r15w
jmp 0x18002b8c6
mov qword [rbp - 0x71], 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.180029fe0
mov rbx, rax
lea rcx, [rbp - 0x19]
call fcn.180028dd0
nop
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x59]
call fcn.18002c170
mov rbx, rax
cmp rdi, rax
je 0x18002b7f8
cmp qword [rdi + 0x18], 8
jb 0x18002b7dc
mov rcx, qword [rdi]
call fcn.1800b5700
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
mov rdx, rbx
mov rcx, rdi
call fcn.180016260
nop
cmp qword [rbp - 0x41], 8
jb 0x18002b808
mov rcx, qword [rbp - 0x59]
call fcn.1800b5700
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
cmp qword [rbp - 1], 8
jb 0x18002b829
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
cmp qword [rbp - 0x21], 8
jb 0x18002b84a
mov rcx, qword [rbp - 0x39]
call fcn.1800b5700
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
cmp qword [r14 + 0x50], 0
jne 0x18002b8c6
lea r8, [0x1800f7490]
lea rdx, [rbp - 0x59]
call fcn.18002c320
mov rbx, rax
cmp rdi, rax
je 0x18002b8a5
cmp qword [rdi + 0x18], 8
jb 0x18002b889
mov rcx, qword [rdi]
call fcn.1800b5700
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
mov rdx, rbx
mov rcx, rdi
call fcn.180016260
nop
cmp qword [rbp - 0x41], 8
jb 0x18002b8b5
mov rcx, qword [rbp - 0x59]
call fcn.1800b5700
mov word [rbp - 0x59], r15w
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 7
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r15
mov word [rsi], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1800165a0
mov dword [rbp - 0x79], 1
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800b6c40
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret