Function at 0x140020670
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3030]
mov eax, 0x3130
call fcn.140074280
sub rsp, rax
mov rax, qword [0x1400cf070]
xor rax, rsp
mov qword [rbp + 0x3020], rax
mov rsi, r8
mov r14, rdx
mov r15, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x1020]
call sub.VCRUNTIME140.dll_memset
movzx eax, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
movzx edx, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
movzx r10d, word [rsp + 0x66]
movzx r11d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r8, str.__d__02d__02d__02d:_02d:_02d:_d___d___d_
mov edx, 0x80
lea rcx, [rbp - 0x60]
call fcn.14000c150
call fcn.140001580
mov qword [rsp + 0x30], rsi
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r9d, 0xfff
lea r8d, [r9 + 1]
lea rdx, [rbp + 0x20]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [rax - 1]
cmp ecx, 0xffc
ja 0x1400208d1
movsxd rcx, eax
mov word [rbp + rcx + 0x20], 0xa0d
add eax, 2
movsxd rcx, eax
cmp rcx, 0x1000
jae 0x1400208f7
mov byte [rbp + rcx + 0x20], bl
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, str._s_s
mov edx, 0x2000
lea rcx, [rbp + 0x1020]
call fcn.14000c150
mov edx, eax
lea rcx, [rbp + 0x1020]
test eax, eax
je 0x14002081c
nop word [rax + rax]
xor byte [rcx], 0x85
lea rcx, [rcx + 1]
sub edx, 1
jne 0x140020810
mov r8d, eax
lea rdx, [rbp + 0x1020]
lea rcx, [rsp + 0x70]
call fcn.140004630
nop
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
cmp rcx, rdx
jae 0x14002085d
lea rax, [rcx + 1]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x70]
mov word [rax + rcx], 0xa
jmp 0x14002086a
mov r9b, 0xa
lea rcx, [rsp + 0x70]
call fcn.140004d30
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
mov r8d, dword [rbp - 0x80]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400208d1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400208cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400208cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
mov rcx, qword [rbp + 0x3020]
xor rcx, rsp
call fcn.140073640
mov rbx, qword [rsp + 0x3178]
add rsp, 0x3130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140073c98
int3