Function at 0x14005e990
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14016ba00]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movsd xmm0, qword [0x14012f650]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x14012f658]
mov dword [rbp - 1], eax
movzx eax, byte [0x14012f65c]
mov byte [rbp + 3], al
xor ebx, ebx
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x14005eaf4
movdqa xmm4, xmmword [0x14012fbc0]
movdqa xmm2, xmmword [0x1400dbfa0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14012fb20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [0x14012f650]
xorps xmm2, xmm0
movd dword [rbp - 9], xmm2
movdqa xmm3, xmmword [0x14012fb10]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14012fb20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [rbp - 5]
xorps xmm2, xmm0
movd dword [rbp - 5], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14005eb00
movups xmm0, xmmword [0x14012f638]
movups xmmword [rbp + 7], xmm0
movzx eax, word [0x14012f648]
mov word [rbp + 0x17], ax
cmp byte [0x14012f649], bl
je 0x14005ecd0
mov r8d, ebx
cmp r14d, 2
jl 0x14005ec95
movdqa xmm5, xmmword [0x1400dbfa0]
movdqa xmm4, xmmword [0x14012fbc0]
movdqa xmm6, xmmword [0x14012fb20]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp + 0xb]
mov edx, dword [rbp - 0x29]
nop dword [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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
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, 0x10
jl 0x14005eb90
cmp r8d, 0x12
jge 0x14005ecd0
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x14005eca0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea r15, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r15
mov rdi, qword [r15]
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [r15], rbx
mov rax, qword [0x14016c6c8]
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call rax
mov rsi, rax
mov qword [r15], rdi
test rax, rax
jne 0x14005eed9
mov byte [rbp - 0x39], al
movups xmm0, xmmword [0x14012f660]
movups xmmword [rbp + 7], xmm0
mov eax, dword [0x14012f670]
mov dword [rbp + 0x17], eax
cmp byte [0x14012f673], sil
je 0x14005eebc
cmp r14d, 2
jl 0x14005ee82
movdqa xmm5, xmmword [0x1400dbfa0]
movdqa xmm4, xmmword [0x14012fbc0]
movdqa xmm6, xmmword [0x14012fb20]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp + 0xb]
mov edx, dword [rbp - 0x29]
nop word [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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012fb30]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x14005ed80
cmp eax, 0x14
jge 0x14005eebc
movsxd rax, ebx
lea r8, [rbp + 7]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x14
jl 0x14005ee90
mov r9d, 0x40
lea r8, [rbp - 0x39]
lea rdx, [rbp + 7]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x14005efeb
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea rcx, [rbp + 0x5f]
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], rcx
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [rcx], rbx
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], 0x438
mov dword [rsp + 0x20], 0x780
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, rsi
call qword [0x14016c710]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea rcx, [rbp + 0x5f]
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], rcx
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [rcx], rbx
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rsi
call qword [0x14016c688]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r14
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [r14], rbx
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rsi
call qword [0x14016c6a8]
nop
mov qword [r14], rdi
movdqa xmm0, xmmword [0x14012fae0]
movdqu xmmword [rbp + 0x1f], xmm0
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [r14], rbx
mov edx, 5
mov rcx, rsi
call qword [0x14016c718]
nop
mov qword [r14], rdi
mov rcx, rsi
call fcn.140058ab0
mov al, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ca280
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret