Function at 0x14009d070
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 [0x140189090]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x14009d0a9
mov rdx, qword [rdx]
xor r15d, r15d
mov qword [rbp + 7], r15
movdqa xmm0, xmmword [0x140166ab0]
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 0x14009d0d0
lea rcx, [rbp + 7]
call fcn.140009050
nop
cmp byte [rsi + 0x10], 0
je 0x14009d126
lea r8, [0x140189da0]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140024c30
nop
cmp rbx, rax
je 0x14009d11d
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009d111
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140009050
nop
lea rcx, [rbp - 0x49]
call fcn.140008fe0
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140024c30
nop
cmp rbx, rax
je 0x14009d156
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009d14a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140009050
nop
lea rcx, [rbp - 0x49]
call fcn.140008fe0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14009d16c
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14009d1d0
lea r8, [rsi + 0x18]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140024c30
nop
cmp rbx, rax
je 0x14009d1a8
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009d19c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140009050
nop
lea rcx, [rbp - 0x49]
call fcn.140008fe0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14009d1be
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14009d1d0
xor bl, bl
jmp 0x14009d2c2
mov qword [rbp - 0x29], r15
movdqa xmm0, xmmword [0x140166ab0]
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 0x14009d212
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14009d205
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140009050
nop
mov rbx, qword [rsi]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14009d295
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x29]
call fcn.140022810
test eax, eax
je 0x14009d2f1
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14009d268
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14009d263
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14009d263
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14009d250
mov rbx, rax
jmp 0x14009d28f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14009d28f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14009d280
cmp byte [rbx + 0x19], 0
je 0x14009d220
lea rcx, [rbp - 0x29]
call fcn.140026890
mov qword [rbp - 9], rax
mov dword [rbp - 1], r14d
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.14009d880
mov bl, 1
lea rcx, [rbp - 0x29]
call fcn.140008fe0
nop
lea rcx, [rbp + 7]
call fcn.140008fe0
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x14009d2b8