Function at 0x18002aec0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x59], rdx
xor r14d, r14d
mov dword [rbp - 0x69], r14d
cmp qword [rcx + 0x10], r14
je 0x18002af43
cmp qword [rcx + 0x18], 8
jb 0x18002af11
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x18002af43
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
mov word [rsi], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1800165a0
jmp 0x18002b23d
cmp byte [rdi + 0x160], r14b
je 0x18002b0e7
cmp qword [rdi + 0x150], r14
je 0x18002b0e7
call fcn.1800285c0
test eax, eax
je 0x18002b018
lea rcx, [rbp - 0x49]
call fcn.180029690
mov rbx, rax
lea rcx, [rbp - 9]
call fcn.180029370
nop
lea r8, [rdi + 0x140]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1800193e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.180018ea0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800137e0
nop
cmp qword [rbp + 0x2f], 8
jb 0x18002afc0
mov rcx, qword [rbp + 0x17]
call fcn.1800b5700
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], r14
mov word [rbp + 0x17], r14w
cmp qword [rbp - 0x11], 8
jb 0x18002afe1
mov rcx, qword [rbp - 0x29]
call fcn.1800b5700
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
cmp qword [rbp + 0xf], 8
jb 0x18002b002
mov rcx, qword [rbp - 9]
call fcn.1800b5700
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
jmp 0x18002b1fa
lea rcx, [rbp + 0x17]
call fcn.180029830
mov rbx, rax
lea rcx, [rbp - 0x29]
call fcn.1800294f0
nop
lea r8, [rdi + 0x140]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1800193e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.180018ea0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800137e0
nop
cmp qword [rbp - 0x31], 8
jb 0x18002b06e
mov rcx, qword [rbp - 0x49]
call fcn.1800b5700
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], r14
mov word [rbp - 0x49], r14w
cmp qword [rbp + 0xf], 8
jb 0x18002b08f
mov rcx, qword [rbp - 9]
call fcn.1800b5700
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
cmp qword [rbp - 0x11], 8
jb 0x18002b0b0
mov rcx, qword [rbp - 0x29]
call fcn.1800b5700
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
cmp qword [rbp + 0x2f], 8
jb 0x18002b0d1
mov rcx, qword [rbp + 0x17]
call fcn.1800b5700
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], r14
mov word [rbp + 0x17], r14w
jmp 0x18002b21b
mov qword [rbp - 0x61], 0xffffffff80000001
lea rcx, [rbp - 0x29]
call fcn.180029e50
mov rbx, rax
lea rcx, [rbp - 9]
call fcn.180028dd0
nop
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x49]
call fcn.18002c170
mov rbx, rax
cmp rdi, rax
je 0x18002b14d
cmp qword [rdi + 0x18], 8
jb 0x18002b131
mov rcx, qword [rdi]
call fcn.1800b5700
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
mov rdx, rbx
mov rcx, rdi
call fcn.180016260
nop
cmp qword [rbp - 0x31], 8
jb 0x18002b15d
mov rcx, qword [rbp - 0x49]
call fcn.1800b5700
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], r14
mov word [rbp - 0x49], r14w
cmp qword [rbp + 0xf], 8
jb 0x18002b17e
mov rcx, qword [rbp - 9]
call fcn.1800b5700
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
cmp qword [rbp - 0x11], 8
jb 0x18002b19f
mov rcx, qword [rbp - 0x29]
call fcn.1800b5700
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
cmp qword [rdi + 0x10], 0
jne 0x18002b21b
lea r8, [0x1800f74a0]
lea rdx, [rbp - 0x49]
call fcn.18002c320
mov rbx, rax
cmp rdi, rax
je 0x18002b1fa
cmp qword [rdi + 0x18], 8
jb 0x18002b1de
mov rcx, qword [rdi]
call fcn.1800b5700
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
mov rdx, rbx
mov rcx, rdi
call fcn.180016260
nop
cmp qword [rbp - 0x31], 8
jb 0x18002b20a
mov rcx, qword [rbp - 0x49]
call fcn.1800b5700
mov word [rbp - 0x49], r14w
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], 7
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
mov word [rsi], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1800165a0
mov dword [rbp - 0x69], 1
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800b6c40
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret