Function at 0x1400013c0
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x430], rax
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x208
call fcn.14000ae90
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x208
call fcn.14000ae90
xorps xmm0, xmm0
lea rdx, [rbp + 0x220]
xor eax, eax
mov r8d, 0x104
xor ecx, ecx
mov qword [rbp - 0x30], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140001460
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x550], rdi
lea rcx, [rbp + 0x220]
call fcn.14000bfa8
xor ebx, ebx
test eax, eax
je 0x140001552
nop dword [rax]
xorps xmm0, xmm0
lea rcx, [rbp - 0x20]
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov word [rbp], ax
movups xmmword [rbp - 0x10], xmm0
call fcn.140001870
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.14000bf28
lea r8, str..txt
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.14000bf28
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x28], 6
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016f5
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x104
call fcn.14000ae90
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rbp + 0x10]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x140001530
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x220]
call fcn.14000bfa8
test eax, eax
jne 0x140001490
mov edx, 0x2e
lea rcx, [rbp + 0x220]
call fcn.14000aad0
lea r8, str..txt
mov edx, 0x104
lea rcx, [rbp + 0x220]
mov word [rax], bx
call fcn.14000bf28
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x220]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400015ed
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x220]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400015b0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000163c
nop
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001610
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000167c
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140001660
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400016a9
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140001690
mov r9d, 0x44
lea r8, str.Notice___toxicmushrooms.exe
lea rdx, str.Hello_there__n_nThis_program_is_like_Monoxide.exe_but_with_all_the_harmful_stuff_removed_plus_the_GDI_and_Sound_payloads_are_all_slightly_tweaked._nIf_you_wanna_continue_then_select_Yes_or_otherwise_select_No.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete bl
mov eax, ebx
mov rdi, qword [rsp + 0x550]
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140009ed0
mov rbx, qword [rsp + 0x558]
add rsp, 0x540
pop rbp
ret
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, 0x104
lea rdx, [rbp + 0x220]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000174f
nop dword [rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, 0x104
lea rdx, [rbp + 0x220]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001720
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.14000bf28
lea r8, str..exe
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.14000bf28
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400017d3
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400017b0
mov edx, 6
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14000180e
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 6
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400017f0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400016cd