Function at 0x14008d110
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x14008d149
mov rdx, qword [rdx]
xor r15d, r15d
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14008d164
lea rcx, [rbp + 7]
call fcn.1400088b0
nop
cmp byte [rsi + 0x10], 0
je 0x14008d1ba
lea r8, [0x140177c70]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140025150
nop
cmp rbx, rax
je 0x14008d1b1
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008d1a5
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400088b0
nop
lea rcx, [rbp - 0x49]
call fcn.140008840
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140025150
nop
cmp rbx, rax
je 0x14008d1ea
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008d1de
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400088b0
nop
lea rcx, [rbp - 0x49]
call fcn.140008840
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008d200
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14008d264
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140025150
nop
cmp rbx, rax
je 0x14008d23c
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008d230
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400088b0
nop
lea rcx, [rbp - 0x49]
call fcn.140008840
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008d252
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14008d264
xor bl, bl
jmp 0x14008d352
movdqa xmm0, xmmword [0x1401562c0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r15w
mov qword [rbp - 9], r15
mov dword [rbp - 1], r15d
lea rax, [rbp - 0x29]
cmp rax, rbx
je 0x14008d2a2
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14008d295
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400088b0
nop
mov rbx, qword [rsi]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14008d325
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x29]
call fcn.140022bf0
test eax, eax
je 0x14008d381
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14008d2f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14008d2f3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14008d2f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14008d2e0
mov rbx, rax
jmp 0x14008d31f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14008d31f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14008d310
cmp byte [rbx + 0x19], 0
je 0x14008d2b0
lea rcx, [rbp - 0x29]
call fcn.140026d90
mov qword [rbp - 9], rax
mov dword [rbp - 1], r14d
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.14008e6a0
mov bl, 1
lea rcx, [rbp - 0x29]
call fcn.140008840
nop
lea rcx, [rbp + 7]
call fcn.140008840
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400e9d60
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x14008d348