Function at 0x18009de90
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rsi, rcx
mov r14, rdx
lea rcx, [rbp - 0x20]
call fcn.18008a730
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18008ab80
lea rdx, [0x180103d58]
lea rcx, [rbp]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.18008a600
cmp qword [rbp - 0x48], 0x10
lea r8, [rbp - 0x60]
mov r9, qword [rbp - 0x50]
mov rcx, rax
cmovae r8, qword [rbp - 0x60]
call fcn.1800a9670
xor r15d, r15d
mov rdx, r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
cmp qword [r14 + 0x18], 0x10
jb 0x18009df2a
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800a7730
lea rdx, [0x180103f38]
lea rcx, [rbp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18008a600
mov rcx, qword [rsp + 0x38]
mov rdx, rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r9
cmp r8, rax
jbe 0x18009dfb5
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x18009dfb5
cmp rcx, 0x10
lea r8, [rsp + 0x20]
mov rcx, rdx
cmovae r8, qword [rsp + 0x20]
call fcn.1800a9670
jmp 0x18009dfc9
cmp qword [rdx + 0x18], 0x10
jb 0x18009dfbf
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.1800a7730
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov byte [rax], r15b
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov rdx, qword [rsp + 0x38]
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x80], xmm0
cmp rdx, 0x10
jb 0x18009e024
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e01f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4c4
call fcn.1800afef0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
cmp rdx, 0x10
jb 0x18009e074
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e06f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4c4
call fcn.1800afef0
mov rdx, qword [rbp - 0x28]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
cmp rdx, 0x10
jb 0x18009e0c2
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e0bd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4c4
call fcn.1800afef0
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], r15b
cmp rdx, 0x10
jb 0x18009e10d
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e108
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4c4
call fcn.1800afef0
lea rdx, [rbp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x18009e140
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800a7f50
cmp qword [rbp - 0x48], 0x10
lea rdx, [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rbp - 0x60]
call fcn.1800a7730
cmp qword [rbp - 0x68], 0x10
lea rdx, [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rbp - 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
call fcn.1800a7730
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009e20c
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e207
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4b8
call fcn.1800afef0
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
cmp rdx, 0x10
jb 0x18009e25c
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e257
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4b8
call fcn.1800afef0
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x18009e269
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18009e353
test al, 0x10
je 0x18009e353
mov qword [rsp + 0x560], rbx
lea rdx, [0x180103c58]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x568], rdi
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp]
call fcn.18008a600
lea rdx, [rsp + 0x60]
mov rdi, rax
lea rcx, [rbp - 0x20]
call fcn.1800a79d0
mov rdx, rsi
lea rcx, [rbp - 0x40]
mov rbx, rax
call fcn.1800a79d0
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.18008c9d0
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
lea rdx, [0x1800f1da0]
cmovae rcx, qword [rsp + 0x60]
call fcn.1800b7fc8
mov rdi, qword [rsp + 0x568]
test rax, rax
je 0x18009e34b
mov rcx, rax
call fcn.1800b8058
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.1800a79d0
lea rdx, [rsp + 0x60]
mov rbx, rax
lea rcx, [rbp]
call fcn.1800a79d0
mov rcx, rax
mov rdx, rbx
call fcn.18008cd90
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
call fcn.1800b82e4
mov rbx, qword [rsp + 0x560]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18009e390
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e38b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4be
call fcn.1800afef0
mov rdx, qword [rbp - 0x68]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r15b
cmp rdx, 0x10
jb 0x18009e3de
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e3d9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4be
call fcn.1800afef0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18009e419
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009e414
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009e4be
call fcn.1800afef0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18009e44f
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x18009e44a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009e4be
mov rcx, r8
call fcn.1800afef0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18009e494
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x18009e48f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009e4be
mov rcx, r8
call fcn.1800afef0
mov rsi, qword [rsp + 0x570]
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
add rsp, 0x540
pop r15
pop r14
pop rbp
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3