Function at 0x140080310
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.140238120
sub rsp, rax
mov rax, qword [0x140303960]
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 0x1400804e6
lea edx, [r8 + 0xb]
lea rcx, [rbp + 0x1fe8]
call fcn.140080140
nop
movdqa xmm0, xmmword [0x1402e2530]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xc0a9a9f4
mov word [rsp + 0x44], 0x100
lea rcx, [rsp + 0x30]
call fcn.140080b40
mov rdx, rax
lea r8, [rbp + 0x1fe8]
lea rcx, [rsp + 0x70]
call fcn.14008b3d0
mov r9, rax
mov dword [rbp + 0x1fc0], 0xe9f3efa7
mov word [rbp + 0x1fc4], 0x100
lea rcx, [rbp + 0x1fc0]
call fcn.140080b70
mov r8, rax
mov rdx, r9
lea rcx, [rbp + 0x1fc8]
call fcn.14008b530
nop
lea rcx, [rsp + 0x70]
call fcn.140088520
lea rcx, [rbp + 0x1fc8]
call fcn.1400800d0
mov rcx, rax
mov r8d, 0x3d600
lea rdx, [0x14066f420]
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 [str.70_e_2___WA]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1402e2040]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1402e20d0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [str.nwpn]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1402e1ed0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1402e2210]
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
mov rcx, rax
call fcn.1400883a0
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.140080ba0
mov rdx, rax
xor ecx, ecx
mov r9d, 0x40010
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x1f90]
call fcn.140088520
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 0x1400809ab
mov rcx, r13
call fcn.14008b280
mov qword [rbp + 0x1fc0], rax
test rax, rax
je 0x140080b0c
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.14008b310
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.140237d08
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 0x14008061c
add rdi, r15
mov r8d, dword [rdi]
test r8d, r8d
je 0x14008060d
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 0x1400805f4
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r12 + 0x10], xmm1
mov qword [0x1403039c8], r13
mov rax, qword [rbp + 0x1fc0]
mov qword [0x1403039d2], rax
mov qword [0x1403039e9], r14
mov rdi, qword [rsp + 0x50]
mov qword [0x1403039f3], 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.140237a7c
mov rdi, rax
mov rcx, qword [0x1406c9e88]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x140080728
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406c9e84]
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 [0x1406c9e88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 4
call fcn.140237a7c
mov rdi, rax
mov rcx, qword [0x1406c9e88]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x1400807b5
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406c9e84]
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 [0x1406c9e88]
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 [0x1406c9e84]
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 [0x1406c9e88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbp + 0x1fe0], rbx
jne 0x1400808ed
add edi, 0x1b58
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x1400808ed
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 [0x1406c9e84]
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 [0x1406c9e88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbp + 0x1fe0], rbx
je 0x140080853
mov ecx, 4
call fcn.140237a7c
mov rdi, rax
mov rcx, qword [0x1406c9e88]
dec rcx
cmp rcx, 0xfffffffffffffffd
ja 0x14008097a
mov dword [rbp + 0x1fac], ebx
mov dword [rbp + 0x1f90], Ordinal_301
mov ecx, dword [0x1406c9e84]
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 [0x1406c9e88]
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 0x140080b0e
movdqa xmm0, xmmword [0x1402e2280]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xb3effff7
mov dword [rsp + 0x44], 0xd0eaf9a2
mov dword [rsp + 0x48], 0xc29ecdd3
mov dword [rsp + 0x4c], 0x100decc
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx - 0x77]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1e
jb 0x1400809e0
mov byte [rsp + 0x4f], bl
mov dword [rbp + 0x1fc0], 0xe2eefae6
mov word [rbp + 0x1fc4], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x77]
xor byte [rbp + rcx + 0x1fc0], al
inc rcx
cmp rcx, 4
jb 0x140080a10
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, [0x1406c71a0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r8, qword [0x1406c71a0]
movdqa xmm0, xmmword [0x1402e22e0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1402e2500]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1402e20b0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1402e21b0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1402e2220]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1402e21d0]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1402e2170]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1402e2010]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1402e2080]
movdqa xmmword [rbp + 0x10], xmm0
mov word [rbp + 0x20], 0x61
mov byte [rbp + 0x22], 1
lea eax, [rbx - 0x77]
xor byte [rbp + rbx - 0x70], al
inc rbx
cmp rbx, 0x91
jb 0x140080ae3
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.1402376c0
mov rbx, qword [rsp + 0x3178]
add rsp, 0x3120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret