Function at 0x1400013b0
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp], rax
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov r13, qword [rdx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 8
jb 0x140001969
mov qword [rbp - 0x68], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140001424
mov rax, qword [rdx]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r15, [r13 + 8]
mov edi, 0xf
lea r14, [rsp + 0x38]
cmp r15, rdi
jbe 0x1400014c6
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140001480
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140004850
test rax, rax
je 0x1400014b2
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400014c1
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14000149a
mov r14, rbx
jmp 0x1400014c1
cmp rcx, 0x1000
jb 0x1400014b9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000196f
jmp 0x140001465
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004850
mov r14, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rdi
movabs rax, 0x204c2d206c727563
mov qword [r14], rax
lea rcx, [r14 + 8]
mov r8, r13
mov rdx, qword [rbp - 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r15], bl
mov dword [rsp + 0x30], 2
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x14000154a
lea rax, [rcx + 0xb]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x38]
add rdi, rcx
mov r8d, 0xb
lea rdx, str.___output__
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0xb], 0
lea rax, [rsp + 0x38]
jmp 0x140001569
mov qword [rsp + 0x20], 0xb
lea r9, str.___output__
mov edx, 0xb
lea rcx, [rsp + 0x38]
call fcn.140004200
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 6
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400015de
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004acc
movdqa xmm0, xmmword [0x1400067b0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
lea rdx, [0x140006594]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov r15, rax
test rax, rax
jne 0x140001812
lea rcx, [rbp - 0x68]
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64_s
lea r9, [rbp - 0x28]
lea r8, str.__Y__m__d__H:_M:_S_
mov edx, 0x14
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea rdx, [rbp - 0x60]
lea rcx, [0x14000a960]
call fcn.140003be0
mov r10, rax
lea rdx, [rsp + 0x70]
call fcn.140001980
mov r9, rax
cmp byte [rax + 0x25], r15b
je 0x1400017e0
cmp dword [0x14000a090], 2
jl 0x1400017ac
movdqa xmm5, xmmword [0x1400067d0]
movdqa xmm4, xmmword [0x140006810]
movdqa xmm6, xmmword [str.3333]
movdqa xmm0, xmmword [0x140006800]
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, rax
movdqa xmm7, xmmword [0x1400067f0]
mov edx, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x1400016c0
cmp eax, 0x26
jge 0x1400017e0
movsxd r8, ebx
add r8, r9
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x26
jl 0x1400017b2
mov rdx, r9
mov rcx, r10
call fcn.140003be0
mov rcx, rax
mov rdx, r12
call fcn.140003dc0
lea rdx, [0x140003de0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov dword [rsp + 0x30], 7
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
mov ecx, 0x1027
call fcn.140004850
test rax, rax
je 0x140001962
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rbp - 0x60], rbx
lea r14, [rbx + 0x1000]
mov qword [rbp - 0x50], r14
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x58], r14
sub r14, rbx
mov r9, r15
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
test rax, rax
je 0x1400018ae
mov rdx, qword [rsi + 8]
mov r9, rax
mov r8, rbx
mov rcx, rsi
call fcn.140004590
cmp rdi, r14
jae 0x140001880
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
cmp r14, 0x1000
jb 0x1400018e4
mov r14d, 0x1027
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140001962
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.140004acc
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000192e
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004acc
mov rax, rsi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140004830
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011f0
int3
call fcn.140001150
int3