Function at 0x140201320
Capabilities:
Check if file exists
Move file

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402d6cb0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
call fcn.14000e540
mov rcx, rax
test rax, rax
jne 0x140201370
mov ecx, 0x80004005
call fcn.140006230
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
xor ecx, ecx
lea r15d, [rcx + 1]
call fcn.140201978
mov r14, rax
mov dword [rsi + 0x2058], 0
call fcn.14000e540
mov rcx, rax
test rax, rax
jne 0x1402013af
mov ecx, 0x80004005
call fcn.140006230
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, qword [rsi + 0x2010]
lea rcx, [rdx - 0x18]
lea rdi, [rax - 0x18]
or rbp, 0xffffffffffffffff
cmp rcx, rdi
je 0x140201423
cmp dword [rdi + 0x10], 0
jl 0x140201415
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140201415
call fcn.140035abc
mov rbx, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140201405
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x30]
jmp 0x140201423
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140006250
mov rdx, qword [rsi + 0x2018]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140005ba0
lea rdx, str..csv
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x140201442
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140005ba0
mov edi, r15d
cmp dword [rsi + 0x2008], r15d
jl 0x1402014cf
mov dword [rsp + 0x20], edi
mov r9, qword [rsi + 0x2018]
mov r8, qword [rsi + 0x2010]
lea rdx, str._s_s__d.csv
lea rcx, [rsp + 0x30]
call fcn.1402008c0
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1402014c7
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14020213c
test eax, eax
js 0x1402014bb
mov rax, qword [rsp + 0x70]
cmp rax, r14
jge 0x1402014bb
mov r14, rax
mov r15d, edi
inc edi
cmp edi, dword [rsi + 0x2008]
jle 0x140201465
jmp 0x1402014cf
mov rdx, rbx
jmp 0x140201573
mov rdx, qword [rsi + 0x2010]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14020152b
cmp dword [rbx + 0x10], 0
jl 0x14020151d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14020151d
call fcn.140035abc
mov rdi, rax
mov ecx, ebp
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140201512
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x30], rax
jmp 0x14020152b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140006250
mov rdx, qword [rsi + 0x2018]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140005ba0
mov dword [rsp + 0x20], r15d
mov r9, qword [rsi + 0x2018]
mov r8, qword [rsi + 0x2010]
lea rdx, str._s_s__d.csv
lea rcx, [rsp + 0x30]
call fcn.1402008c0
mov rcx, qword [rsp + 0x30]
call fcn.1401e3f08
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1402019b8
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14020159b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x1402015b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401cb5d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret