Function at 0x14009dc20
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 [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x14009dc59
mov rdx, qword [rdx]
xor r15d, r15d
mov qword [rbp + 7], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r15w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14009dc80
lea rcx, [rbp + 7]
call fcn.140008ee0
nop
cmp byte [rsi + 0x10], 0
je 0x14009dcd6
lea r8, [0x14018ada0]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140024500
nop
cmp rbx, rax
je 0x14009dccd
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009dcc1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008ee0
nop
lea rcx, [rbp - 0x49]
call fcn.140008e70
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140024500
nop
cmp rbx, rax
je 0x14009dd06
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009dcfa
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008ee0
nop
lea rcx, [rbp - 0x49]
call fcn.140008e70
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14009dd1c
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14009dd80
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140024500
nop
cmp rbx, rax
je 0x14009dd58
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009dd4c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008ee0
nop
lea rcx, [rbp - 0x49]
call fcn.140008e70
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14009dd6e
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14009dd80
xor bl, bl
jmp 0x14009de72
mov qword [rbp - 0x29], r15
movdqa xmm0, xmmword [0x140167e40]
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 0x14009ddc2
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14009ddb5
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140008ee0
nop
mov rbx, qword [rsi]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14009de45
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x29]
call fcn.1400220d0
test eax, eax
je 0x14009dea1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14009de18
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14009de13
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14009de13
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14009de00
mov rbx, rax
jmp 0x14009de3f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14009de3f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14009de30
cmp byte [rbx + 0x19], 0
je 0x14009ddd0
lea rcx, [rbp - 0x29]
call fcn.140026510
mov qword [rbp - 9], rax
mov dword [rbp - 1], r14d
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.14009e430
mov bl, 1
lea rcx, [rbp - 0x29]
call fcn.140008e70
nop
lea rcx, [rbp + 7]
call fcn.140008e70
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x14009de68