Function at 0x18002b920
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 + 0x80]
cmp qword [rdi + 0x10], r15
je 0x18002b9b1
cmp qword [rdi + 0x18], 8
jb 0x18002b97c
mov rcx, qword [rdi]
jmp 0x18002b97f
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x18002b9b1
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 0x18002bcae
cmp byte [r14 + 0x160], r15b
je 0x18002bb55
cmp qword [r14 + 0x150], r15
je 0x18002bb55
call fcn.1800285c0
test eax, eax
je 0x18002ba86
lea rcx, [rbp - 0x59]
call fcn.18002a2b0
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 0x18002ba2e
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 0x18002ba4f
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 0x18002ba70
mov rcx, qword [rbp - 0x19]
call fcn.1800b5700
mov qword [rbp - 1], 7
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
jmp 0x18002bc6b
lea rcx, [rbp + 7]
call fcn.18002a2b0
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 0x18002badc
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 0x18002bafd
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 0x18002bb1e
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 0x18002bb3f
mov rcx, qword [rbp + 7]
call fcn.1800b5700
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r15
mov word [rbp + 7], r15w
jmp 0x18002bc8c
mov qword [rbp - 0x71], 0xffffffff80000001
lea rcx, [rbp - 0x39]
call fcn.18002a3d0
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 0x18002bbbb
cmp qword [rdi + 0x18], 8
jb 0x18002bb9f
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 0x18002bbcb
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 0x18002bbec
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 0x18002bc0d
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 + 0x90], 0
jne 0x18002bc8c
lea r8, [0x1800f7480]
lea rdx, [rbp - 0x59]
call fcn.18002c320
mov rbx, rax
cmp rdi, rax
je 0x18002bc6b
cmp qword [rdi + 0x18], 8
jb 0x18002bc4f
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 0x18002bc7b
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