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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
lea rcx, [rbp - 0x20]
call fcn.18008a730
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.18008ab80
lea rdx, [0x180103b98]
lea rcx, [rbp - 0x20]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18008a600
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.18008d110
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rax, rdx
sub rax, r9
cmp r8, rax
jbe 0x18009d924
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x18009d924
cmp rdx, 0x10
jb 0x18009d917
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800a9670
jmp 0x18009d936
cmp qword [rbx + 0x18], 0x10
jb 0x18009d92e
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800a7730
movups xmm0, xmmword [rax]
xor esi, esi
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov byte [rax], sil
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009d993
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d98e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de75
call fcn.1800afef0
mov rdx, qword [rbp - 0x48]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rdx, 0x10
jb 0x18009d9e1
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d9dc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de75
call fcn.1800afef0
lea rdx, [0x180103d98]
lea rcx, [rbp]
call fcn.1800a79d0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18008a600
cmp qword [rbp - 0x28], 0x10
lea r8, [rbp - 0x40]
mov r9, qword [rbp - 0x30]
mov rcx, rax
cmovae r8, qword [rbp - 0x40]
call fcn.1800a9670
lea rdx, [0x180103db8]
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], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
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 0x18009da94
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x18009da94
cmp rcx, 0x10
lea r8, [rsp + 0x20]
mov rcx, rdx
cmovae r8, qword [rsp + 0x20]
call fcn.1800a9670
jmp 0x18009daa8
cmp qword [rdx + 0x18], 0x10
jb 0x18009da9e
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.1800a7730
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov byte [rax], 0
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov rdx, qword [rsp + 0x38]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x40], xmm0
cmp rdx, 0x10
jb 0x18009db05
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009db00
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de7b
call fcn.1800afef0
mov rdx, qword [rbp - 0x48]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
cmp rdx, 0x10
jb 0x18009db53
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009db4e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de7b
call fcn.1800afef0
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
cmp rdx, 0x10
jb 0x18009db9e
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009db99
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de7b
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], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18009dbd0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800a7f50
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x40]
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], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18009dc65
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009dc60
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de81
call fcn.1800afef0
cmp qword [rbp - 0x68], 0x10
lea rcx, [rbp - 0x80]
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18009dd4f
test al, 0x10
je 0x18009dd4f
lea rdx, [0x180103c58]
mov qword [rsp + 0x550], rdi
lea rcx, [rbp + 0x20]
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
lea rdx, [rbp - 0x80]
mov rbx, rax
lea rcx, [rbp - 0x60]
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 + 0x550]
test rax, rax
je 0x18009dd4f
mov rcx, rax
call fcn.1800b8058
lea rdx, [rsp + 0x40]
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 rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18009dd8c
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009dd87
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de6f
call fcn.1800afef0
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp rdx, 0x10
jb 0x18009dddc
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009ddd7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de6f
call fcn.1800afef0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18009de13
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009de0e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de6f
call fcn.1800afef0
mov rdx, qword [rbp - 0x28]
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
cmp rdx, 0x10
jb 0x18009de5a
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009de55
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009de6f
call fcn.1800afef0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3
call fcn.1800bb0c0
int3