Function at 0x14002b8d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
movzx r12d, r8b
movzx r13d, dx
mov rsi, rcx
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.1400109c0
nop
lea rcx, [rbp - 0x19]
call fcn.140015800
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ebx, eax
lea rcx, [rbp - 0x19]
call fcn.140010a90
mov rdx, rsi
test ebx, ebx
je 0x14002bad0
lea rcx, [rbp - 0x19]
call fcn.1400230c0
nop
lea rcx, [rbp - 1]
call fcn.140015800
mov rcx, rax
mov edx, r13d
call fcn.14017f09c
test eax, eax
sete dil
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x7f]
call fcn.14002c4b0
nop
xor r15d, r15d
mov rax, qword [rbp + 0x7f]
test rax, rax
jne 0x14002b98e
xor dil, dil
jmp 0x14002baa9
mov r14, r15
mov rcx, qword [rax + 0x20]
sub rcx, qword [rax + 0x18]
sar rcx, 3
test rcx, rcx
je 0x14002baa9
nop word [rax + rax]
mov rbx, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
sub rcx, rbx
sar rcx, 3
cmp r14, rcx
jae 0x14002b9e2
mov rbx, qword [rbx + r14*8]
mov qword [rbp - 0x29], rbx
test rbx, rbx
je 0x14002b9dd
mov rcx, rbx
call fcn.140010430
mov rax, qword [rbp + 0x7f]
mov rcx, rbx
jmp 0x14002b9ec
mov rbx, r15
mov qword [rbp - 0x29], rbx
mov rcx, r15
test rcx, rcx
jne 0x14002b9f6
jmp 0x14002ba91
cmp byte [rbx + 0x50], 0
je 0x14002ba54
lea rsi, [rbx + 0x20]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14002ba0d
mov rdx, qword [rsi]
lea rcx, [rbp - 0x19]
call fcn.1400236e0
test dil, dil
je 0x14002ba38
lea rcx, [rbp - 1]
call fcn.140015800
mov rcx, rax
mov edx, r13d
call fcn.14017f09c
test eax, eax
jne 0x14002ba38
mov dil, 1
jmp 0x14002ba3b
xor dil, dil
test r12b, r12b
je 0x14002ba80
test dil, dil
je 0x14002ba7d
cmp qword [rsi + 0x18], 0x10
jb 0x14002ba4f
mov rsi, qword [rsi]
mov rcx, rsi
jmp 0x14002ba67
test dil, dil
je 0x14002ba7d
lea rcx, [rbx + 0x20]
cmp qword [rcx + 0x18], 0x10
jb 0x14002ba67
mov rcx, qword [rcx]
movzx r8d, r12b
movzx edx, r13w
call fcn.14002b8d0
test al, al
je 0x14002ba7d
mov dil, 1
jmp 0x14002ba80
xor dil, dil
mov eax, dword [rbx + 0x10]
mov rcx, qword [rbp - 0x29]
call fcn.140010440
nop
mov rax, qword [rbp + 0x7f]
inc r14
mov rcx, qword [rax + 0x20]
sub rcx, qword [rax + 0x18]
sar rcx, 3
cmp r14, rcx
jb 0x14002b9b0
test rax, rax
je 0x14002baba
mov ecx, dword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
call fcn.140010440
mov qword [rbp + 0x7f], r15
lea rcx, [rbp - 0x19]
call fcn.140023130
movzx eax, dil
jmp 0x14002bb75
lea rcx, [rbp - 0x19]
call fcn.1400109c0
nop
mov rbx, qword [rbp - 0x19]
call fcn.140023440
lea rdx, [rax + 0x18]
lea rcx, [rbp - 0x19]
call qword [rbx + 0x10]
xor bl, bl
test al, al
jne 0x14002bb32
xor r15d, r15d
mov qword [rbp - 0x29], r15
mov dword [rbp + 0x7f], r15d
lea r8, [rbp + 0x7f]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1400158e0
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14002bb32
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setg bl
lea edx, [r15 + 2]
mov rcx, qword [rbp - 0x29]
call fcn.140145620
nop
lea rcx, [rbp - 0x19]
call fcn.140010a90
test bl, bl
je 0x14002bb73
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.1400230c0
nop
lea rcx, [rbp - 1]
call fcn.140015800
mov rcx, rax
mov edx, r13d
call fcn.14017f09c
test eax, eax
sete bl
lea rcx, [rbp - 0x19]
call fcn.140023130
movzx eax, bl
jmp 0x14002bb75
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret