Function at 0x18002b270
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 + 0x20]
cmp qword [rdi + 0x10], r15
je 0x18002b2fe
cmp qword [rdi + 0x18], 8
jb 0x18002b2c9
mov rcx, qword [rdi]
jmp 0x18002b2cc
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x18002b2fe
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 0x18002b529
cmp byte [r14 + 0x160], r15b
je 0x18002b3d3
cmp qword [r14 + 0x150], r15
je 0x18002b3d3
call fcn.1800285c0
test eax, eax
je 0x18002b507
lea rcx, [rbp - 0x59]
call fcn.180029cd0
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 0x18002b37b
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 0x18002b39c
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 0x18002b3bd
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
jmp 0x18002b4e6
mov qword [rbp - 0x71], 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.18002a700
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 0x18002b439
cmp qword [rdi + 0x18], 8
jb 0x18002b41d
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 0x18002b449
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 0x18002b46a
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 0x18002b48b
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 + 0x30], 0
jne 0x18002b507
lea r8, [0x1800f74b0]
lea rdx, [rbp - 0x59]
call fcn.18002c320
mov rbx, rax
cmp rdi, rax
je 0x18002b4e6
cmp qword [rdi + 0x18], 8
jb 0x18002b4ca
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 0x18002b4f6
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