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

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r14, rdx
mov rsi, rcx
mov rdx, rcx
mov rdi, r8
lea rcx, [rbp - 0x60]
call fcn.1800c2820
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1800b60f0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1800b6292
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b628d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b59
call fcn.1800cfd40
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x5b0], r15
call fcn.18008b150
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.18008b5a0
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.1800c2820
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1800b60f0
cmp qword [rbp + 0x98], 0x10
lea r8, [rbp + 0x80]
mov r9, qword [rbp + 0x90]
mov rcx, rax
cmovae r8, qword [rbp + 0x80]
call fcn.1800c75d0
xor r15d, r15d
lea rdx, [0x18012cfd8]
lea rcx, [rbp - 0x20]
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.1800c2820
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18008b020
mov rcx, qword [rsp + 0x58]
mov rdx, rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r9
cmp r8, rax
jbe 0x1800b6370
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800b6370
cmp rcx, 0x10
lea r8, [rsp + 0x40]
mov rcx, rdx
cmovae r8, qword [rsp + 0x40]
call fcn.1800c75d0
jmp 0x1800b6384
cmp qword [rdx + 0x18], 0x10
jb 0x1800b637a
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.1800c2650
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov byte [rax], r15b
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
cmp qword [r14 + 0x18], 0x10
jb 0x1800b63b1
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1800c2650
lea rdx, [0x18012d278]
lea rcx, [rbp]
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
call fcn.1800c2820
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.18008b020
mov rcx, qword [rsp + 0x78]
mov rdx, rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
mov rax, rcx
sub rax, r9
cmp r8, rax
jbe 0x1800b643c
mov rax, qword [rdx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800b643c
cmp rcx, 0x10
lea r8, [rsp + 0x60]
mov rcx, rdx
cmovae r8, qword [rsp + 0x60]
call fcn.1800c75d0
jmp 0x1800b6450
cmp qword [rdx + 0x18], 0x10
jb 0x1800b6446
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
call fcn.1800c2650
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 + 0x78]
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x60], xmm0
cmp rdx, 0x10
jb 0x1800b64ab
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b64a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r15b
cmp rdx, 0x10
jb 0x1800b64fb
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b64f6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
cmp rdx, 0x10
jb 0x1800b654b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6546
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
mov rdx, qword [rbp - 0x28]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
cmp rdx, 0x10
jb 0x1800b6599
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6594
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
mov rdx, qword [rbp - 0x68]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], r15b
cmp rdx, 0x10
jb 0x1800b65e4
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b65df
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], r15b
cmp rdx, 0x10
jb 0x1800b662f
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b662a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b5f
call fcn.1800cfd40
lea rdx, [rbp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x50], r15
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
inc r8
cmp byte [rax + r8], r15b
jne 0x1800b6662
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.1800c2ee0
cmp qword [rbp + 0x98], 0x10
lea rdx, [rbp + 0x80]
mov r8, qword [rbp + 0x90]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rbp + 0x80]
call fcn.1800c2650
cmp qword [rbp + 0x78], 0x10
lea rdx, [rbp + 0x60]
mov r8, qword [rbp + 0x70]
lea rcx, [rsp + 0x20]
cmovae rdx, qword [rbp + 0x60]
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.1800c2650
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b673b
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6736
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b65
call fcn.1800cfd40
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
cmp rdx, 0x10
jb 0x1800b678b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6786
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b65
call fcn.1800cfd40
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x1800b6798
mov rcx, qword [rsi]
mov qword [rsp + 0x5f8], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800b6983
test al, 0x10
je 0x1800b6983
lea rdx, [rbp + 0x40]
lea rcx, [rbp]
call fcn.1800c2820
mov rdx, rsi
lea rcx, [rbp - 0x20]
mov rbx, rax
call fcn.1800c2820
mov rcx, rax
mov rdx, rbx
call fcn.18008d5c0
cmp qword [rbp + 0x58], 0x10
lea rcx, [rbp + 0x40]
lea rdx, [0x180118c30]
cmovae rcx, qword [rbp + 0x40]
call fcn.1800dbc58
test rax, rax
je 0x1800b6983
mov rcx, rax
call fcn.1800dbce8
mov rcx, qword [rdi + 0x18]
mov rdx, rdi
cmp rcx, 0x10
jb 0x1800b6819
mov rdx, qword [rdi]
mov rax, qword [rdi + 0x10]
cmp rax, 1
jne 0x1800b6858
cmp byte [rdx], 0x30
jne 0x1800b6858
lea rdx, [rbp + 0x60]
lea rcx, [rbp]
call fcn.1800c2820
lea rdx, [rbp + 0x40]
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.1800c2820
mov rcx, rax
mov rdx, rbx
call fcn.18008d8a0
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x10]
mov rdx, rdi
cmp rcx, 0x10
jb 0x1800b6864
mov rdx, qword [rdi]
cmp rax, 1
jne 0x1800b6970
cmp byte [rdx], 0x31
jne 0x1800b6970
lea rcx, [rbp - 0x60]
call fcn.18008cf40
cmp qword [rbp + 0x78], 0x10
lea rdx, [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rax
cmovae rdx, qword [rbp + 0x60]
call fcn.1800c2650
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], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
cmp qword [rbp + 0x58], 0x10
cmovae rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b6922
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b691d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b4d
call fcn.1800cfd40
mov rdx, qword [rbp - 0x48]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
cmp rdx, 0x10
jb 0x1800b6970
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b696b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b4d
call fcn.1800cfd40
cmp qword [rbp + 0x58], 0x10
lea rcx, [rbp + 0x40]
cmovae rcx, qword [rbp + 0x40]
call fcn.1800dbec4
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800b69be
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b69b9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b53
call fcn.1800cfd40
mov rdx, qword [rbp + 0x78]
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], r15b
cmp rdx, 0x10
jb 0x1800b6a09
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6a04
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b53
call fcn.1800cfd40
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1800b6a4a
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b6a45
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6b53
call fcn.1800cfd40
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800b6a84
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b6a7f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b6b53
mov rcx, r8
call fcn.1800cfd40
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1800b6acd
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1800b6ac8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b6b53
mov rcx, r8
call fcn.1800cfd40
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800b6b12
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b6b0d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b6b53
mov rcx, r8
call fcn.1800cfd40
mov rbx, qword [rsp + 0x5f8]
mov qword [rdi + 0x10], r15
mov byte [rdi], r15b
mov r15, qword [rsp + 0x5b0]
mov qword [rdi + 0x18], 0xf
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1800cfa80
add rsp, 0x5b8
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800defa0
int3
call fcn.1800defa0
int3
call fcn.1800defa0
int3
call fcn.1800defa0
int3
call fcn.1800defa0
int3