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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rdi, rcx
lea rcx, [rsp + 0x60]
call fcn.18008ab70
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.18008afc0
lea rdx, [0x18012aeb8]
lea rcx, [rsp + 0x60]
call fcn.1800c0900
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18008aa40
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.18008d5f0
mov r9, rbx
lea rcx, [rbp]
mov r8, rax
call fcn.1800c3ac0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b31e0
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b31db
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37b4
call fcn.1800ce78c
mov rdx, qword [rsp + 0x58]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], sil
cmp rdx, 0x10
jb 0x1800b3232
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b322d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37b4
call fcn.1800ce78c
lea rdx, [0x18012b1f8]
lea rcx, [rbp - 0x80]
call fcn.1800c0900
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.18008aa40
cmp qword [rbp + 0x38], 0x10
lea r8, [rbp + 0x20]
mov r9, qword [rbp + 0x30]
mov rcx, rax
cmovae r8, qword [rbp + 0x20]
call fcn.1800c5980
lea rdx, [0x18012b218]
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
movups xmmword [rsp + 0x40], xmm0
mov qword [rax + 0x18], 0xf
movups xmmword [rsp + 0x50], xmm1
mov byte [rax], sil
call fcn.1800c0900
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18008aa40
mov r9, rax
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800c3ac0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800b32f4
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b32ef
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ba
call fcn.1800ce78c
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b3331
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b332c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ba
call fcn.1800ce78c
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], sil
cmp rdx, 0x10
jb 0x1800b3381
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b337c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ba
call fcn.1800ce78c
lea rdx, [rbp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
nop
inc r8
cmp byte [rax + r8], sil
jne 0x1800b33b0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800c1060
cmp qword [rbp - 8], 0x10
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rbp - 0x20]
call fcn.1800c0730
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b343e
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b3439
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37c0
call fcn.1800ce78c
cmp qword [rbp + 0x18], 0x10
lea rcx, [rbp]
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800b3633
test al, 0x10
je 0x1800b3633
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.1800c0900
lea rdx, [rbp]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1800c0900
mov rcx, rax
mov rdx, rbx
call fcn.18008cfa0
cmp qword [rbp - 0x28], 0x10
lea rcx, [rbp - 0x40]
lea rdx, [0x180116130]
cmovae rcx, qword [rbp - 0x40]
call fcn.1800da3c8
test rax, rax
je 0x1800b3633
mov rcx, rax
call fcn.1800da458
mov rcx, qword [rdi + 0x18]
mov rdx, rdi
cmp rcx, 0x10
jb 0x1800b34c6
mov rdx, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rax, 1
jne 0x1800b3505
cmp byte [rdx], 0x30
jne 0x1800b3505
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.1800c0900
lea rdx, [rbp - 0x40]
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1800c0900
mov rcx, rax
mov rdx, rbx
call fcn.18008d280
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x10]
mov rdx, rdi
cmp rcx, 0x10
jb 0x1800b3511
mov rdx, qword [rdi]
cmp rax, 1
jne 0x1800b3620
cmp byte [rdx], 0x31
jne 0x1800b3620
lea rcx, [rsp + 0x60]
call fcn.18008c900
cmp qword [rbp - 8], 0x10
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
cmovae rdx, qword [rbp - 0x20]
call fcn.1800c0730
lea rdx, [rsp + 0x20]
mov r8d, 1
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], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b35d0
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b35cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37a8
call fcn.1800ce78c
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], sil
cmp rdx, 0x10
jb 0x1800b3620
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b361b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37a8
call fcn.1800ce78c
cmp qword [rbp - 0x28], 0x10
lea rcx, [rbp - 0x40]
cmovae rcx, qword [rbp - 0x40]
call fcn.1800da634
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800b366e
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b3669
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ae
call fcn.1800ce78c
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], sil
cmp rdx, 0x10
jb 0x1800b36b9
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b36b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ae
call fcn.1800ce78c
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1800b36f4
mov rcx, qword [rbp]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b36ef
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ae
call fcn.1800ce78c
mov rdx, qword [rbp + 0x38]
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], sil
cmp rdx, 0x10
jb 0x1800b373b
mov rcx, qword [rbp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b3736
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b37ae
call fcn.1800ce78c
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800b3771
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b376c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b37ae
mov rcx, r8
call fcn.1800ce78c
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1800ce4d0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800dd818
int3
call fcn.1800dd818
int3
call fcn.1800dd818
int3
call fcn.1800dd818
int3
call fcn.1800dd818
int3