Function at 0x14007a8f0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10e8]
mov eax, 0x11e8
call fcn.1401686c0
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x10d0], rax
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov rbx, qword [rbp + 0x1150]
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov rax, qword [rcx]
mov r8, qword [rax + 8]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp - 0x60]
call fcn.140042e60
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140044750
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x60]
call fcn.140043760
mov r15, rax
test rax, rax
je 0x14007adde
call fcn.14000cdd0
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1400353b0
nop
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
cmp word [r14], r13w
jne 0x14007a9d4
mov r8d, r13d
jmp 0x14007a9eb
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x14007a9e0
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140006f10
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.140028400
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x14007aa2a
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140007680
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x14007aa5b
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140007680
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14007aaa1
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rsp + 0x78]
call fcn.140006a00
mov r12, qword [r15 + 8]
sub r12, qword [r15]
sar r12, 5
mov rdi, r13
test r12, r12
je 0x14007adb0
mov r14, r13
mov rcx, qword [r15]
mov rax, qword [r15 + 8]
sub rax, rcx
sar rax, 5
cmp rax, rdi
jbe 0x14007ada3
add rcx, r14
cmp qword [rcx + 0x18], 8
jb 0x14007aaf6
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007ad78
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140006dd0
nop
mov rcx, qword [r15]
mov rax, qword [r15 + 8]
sub rax, rcx
sar rax, 5
cmp rax, rdi
jbe 0x14007ad96
add rcx, r14
cmp qword [rcx + 0x18], 8
jb 0x14007ab5d
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp word [rax], 0
jne 0x14007ab6e
mov r8, r13
jmp 0x14007ab7d
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14007ab72
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006a00
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov rcx, qword [r15]
mov rax, qword [r15 + 8]
sub rax, rcx
sar rax, 5
cmp rax, rdi
jbe 0x14007ad89
add rcx, r14
cmp qword [rcx + 0x18], 8
jb 0x14007abbf
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14007ad47
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
cmp word [rdx], 0
jne 0x14007ac0a
mov r8, r13
jmp 0x14007ac1b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007ac10
lea rcx, [rsp + 0x38]
call fcn.140006f10
nop
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x38]
cmp rcx, rax
jae 0x14007ac8d
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
cmp rcx, rdx
ja 0x14007ac8d
lea rbx, [rsp + 0x38]
sub rbx, rcx
cmp rax, qword [rsi + 0x10]
jne 0x14007ac5c
mov edx, 1
mov rcx, rsi
call fcn.140006290
mov rcx, qword [rsi + 8]
and rbx, 0xffffffffffffffe0
add rbx, qword [rsi]
test rcx, rcx
je 0x14007ad11
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r13
mov word [rcx], r13w
mov rdx, rbx
call fcn.140004900
jmp 0x14007ad11
cmp rax, qword [rsi + 0x10]
jne 0x14007aca0
mov edx, 1
mov rcx, rsi
call fcn.140006290
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14007ad11
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
cmp qword [rsp + 0x50], 8
jae 0x14007acde
mov r8, qword [rsp + 0x48]
add r8, 1
je 0x14007aceb
add r8, r8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140187210
jmp 0x14007aceb
mov rax, qword [rsp + 0x38]
mov qword [rbx], rax
mov qword [rsp + 0x38], r13
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x18], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
add qword [rsi + 8], 0x20
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x14007ad33
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140007680
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x14007ad64
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140007680
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
inc rdi
add r14, 0x20
cmp rdi, r12
jae 0x14007adb0
jmp 0x14007aad2
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
int3
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
nop
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x14007adcc
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140007680
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
lea rcx, [rbp - 0x60]
call fcn.140042fb0
mov rax, rsi
mov rcx, qword [rbp + 0x10d0]
xor rcx, rsp
call fcn.140168660
add rsp, 0x11e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret