Function at 0x14001c990
Capabilities:
Encode data using xor
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140064090]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
mov rax, qword [rcx + 0x10]
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14001c9dd
mov rbx, qword [rcx]
lea r14, str..exe
cmp rax, 4
jb 0x14001ca5a
lea rsi, [rax + rbx]
lea r8, [rsi - 3]
sub r8, rbx
mov edx, 0x2e
mov rcx, rbx
call fcn.140022470
test rax, rax
je 0x14001ca5a
nop word [rax + rax]
xor ecx, ecx
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r14 + rcx - 1]
jne 0x14001ca2a
cmp rcx, 4
jne 0x14001ca12
xor ecx, ecx
jmp 0x14001ca2f
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x14001ca51
inc rax
lea r8, [rsi - 3]
sub r8, rax
mov edx, 0x2e
mov rcx, rax
call fcn.140022470
test rax, rax
jne 0x14001ca10
jmp 0x14001ca5a
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x14001ca6b
mov r8d, 4
mov rdx, r14
mov rcx, rdi
call fcn.1400099a0
lea rcx, [rbp - 0x19]
call fcn.14001c580
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov r8d, 4
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.1400099a0
cmp qword [rax + 0x18], 0x10
jb 0x14001caa5
mov rax, qword [rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14001cab2
mov rcx, qword [rdi]
mov rdx, rax
call fcn.14002fc7c
test eax, eax
je 0x14001cd3c
movups xmm0, xmmword [0x1400593b8]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1400593c8]
movups xmmword [rbp - 0x39], xmm1
mov eax, dword [0x1400593d8]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x1400593dc]
mov byte [rbp - 0x25], al
xor r8d, r8d
cmp dword [0x1400640a0], 2
jl 0x14001cc4b
movdqa xmm5, xmmword [0x140059470]
movdqa xmm4, xmmword [0x140059520]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.3333]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, r8d
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400594f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400594f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x14001cb40
cmp r8d, 0x25
jge 0x14001cc93
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x14001cc60
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea rax, [rbp - 0x49]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001ccb0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.14000e5b0
nop
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rax, qword [rbp - 0x69]
mov qword [rbp - 0x79], rax
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001cce0
mov qword [rbp - 0x71], rbx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x79]
call fcn.14001d700
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14001cd3c
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ce10
call fcn.14001fa34
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14001cd77
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ce04
call fcn.14001fa34
movdqa xmm0, xmmword [0x140059460]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14001cdbe
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001cdb9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ce0a
mov rcx, r8
call fcn.14001fa34
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], sendto
mov byte [rdi], 0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14001f9d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400263c4
nop
call fcn.1400263c4
nop
call fcn.1400263c4
int3