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

Disassembly:
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0x458]
sub rsp, 0x558
mov rax, qword [0x180124010]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rsi, rcx
mov r14, rdx
lea rcx, [rbp - 0x80]
call fcn.180089880
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.180089cd0
lea rdx, [0x180126fd8]
lea rcx, [rbp - 0x60]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180089750
cmp qword [rbp + 0x38], 0x10
lea r8, [rbp + 0x20]
mov r9, qword [rbp + 0x30]
mov rcx, rax
cmovae r8, qword [rbp + 0x20]
call fcn.1800c2200
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 0x1800b1fb9
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800bd330
lea rdx, [0x180127258]
lea rcx, [rbp - 0x40]
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.1800bd4e0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.180089750
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 0x1800b2044
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800b2044
cmp rcx, 0x10
lea r8, [rsp + 0x20]
mov rcx, rdx
cmovae r8, qword [rsp + 0x20]
call fcn.1800c2200
jmp 0x1800b2058
cmp qword [rdx + 0x18], 0x10
jb 0x1800b204e
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.1800bd330
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 + 0x10], xmm1
movups xmmword [rbp], xmm0
cmp rdx, 0x10
jb 0x1800b20b3
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b20ae
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b254e
call fcn.1800caa30
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
cmp rdx, 0x10
jb 0x1800b2103
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b20fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b254e
call fcn.1800caa30
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
cmp rdx, 0x10
jb 0x1800b2153
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b214e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b254e
call fcn.1800caa30
mov rdx, qword [rbp - 0x68]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r15b
cmp rdx, 0x10
jb 0x1800b21a1
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b219c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b254e
call fcn.1800caa30
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
inc r8
cmp byte [rax + r8], r15b
jne 0x1800b21d0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800bdba0
cmp qword [rbp + 0x38], 0x10
lea rdx, [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rbp + 0x20]
call fcn.1800bd330
cmp qword [rbp + 0x18], 0x10
lea rdx, [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rbp]
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.1800bd330
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800b229a
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2295
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2542
call fcn.1800caa30
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
cmp rdx, 0x10
jb 0x1800b22ea
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b22e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2542
call fcn.1800caa30
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x1800b22f7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800b23da
test al, 0x10
je 0x1800b23da
mov qword [rsp + 0x590], rbx
lea rdx, [0x180126e78]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x550], rdi
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.180089750
lea rdx, [rbp - 0x20]
mov rdi, rax
lea rcx, [rbp - 0x80]
call fcn.1800bd4e0
mov rdx, rsi
lea rcx, [rsp + 0x60]
mov rbx, rax
call fcn.1800bd4e0
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.18008bbe0
cmp qword [rbp - 8], 0x10
lea rcx, [rbp - 0x20]
lea rdx, [0x180112c10]
cmovae rcx, qword [rbp - 0x20]
call fcn.1800d6948
mov rdi, qword [rsp + 0x550]
test rax, rax
je 0x1800b23d2
mov rcx, rax
call fcn.1800d69d8
lea rdx, [rbp]
lea rcx, [rbp - 0x40]
call fcn.1800bd4e0
lea rdx, [rbp - 0x20]
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.1800bd4e0
mov rcx, rax
mov rdx, rbx
call fcn.18008bf90
cmp qword [rbp - 8], 0x10
lea rcx, [rbp - 0x20]
cmovae rcx, qword [rbp - 0x20]
call fcn.1800d6bb4
mov rbx, qword [rsp + 0x590]
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1800b2415
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2410
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2548
call fcn.1800caa30
mov rdx, qword [rbp + 0x18]
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r15b
cmp rdx, 0x10
jb 0x1800b2460
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b245b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2548
call fcn.1800caa30
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1800b249b
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2496
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b2548
call fcn.1800caa30
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800b24d1
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b24cc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b2548
mov rcx, r8
call fcn.1800caa30
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1800b2516
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1800b2511
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b2548
mov rcx, r8
call fcn.1800caa30
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1800ca770
add rsp, 0x558
pop r15
pop r14
pop rsi
pop rbp
ret
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3