Function at 0x140057590
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14014ba40]
xor rax, rsp
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
lea r13, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r13
mov rsi, qword [r13]
xor rsi, r12
mov qword [rbp - 0x19], rsi
xor ebx, ebx
mov qword [r13], rbx
cmp qword [0x14014c350], rbx
jne 0x1400577ed
mov byte [rbp - 0x49], bl
movups xmm0, xmmword [0x140114328]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [0x140114338]
movups xmmword [rbp - 0x31], xmm1
mov eax, dword [0x140114348]
mov dword [rbp - 0x21], eax
movzx eax, word [0x14011434c]
mov word [rbp - 0x1d], ax
movzx eax, byte [0x14011434e]
mov byte [rbp - 0x1b], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140057762
movdqa xmm4, xmmword [0x1400e0b20]
movdqa xmm3, xmmword [0x140114f40]
movdqa xmm5, xmmword [str.2222]
movdqa xmm0, xmmword [0x140114e80]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x3d]
movdqa xmm6, xmmword [0x140114e60]
mov edx, dword [rbp - 0x19]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140057680
cmp ebx, 0x27
jge 0x14005779c
movsxd rax, ebx
lea r8, [rbp - 0x41]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x27
jl 0x140057770
mov r9d, 0x40
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x41]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
xor rsi, r12
mov qword [r13], rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d4cc0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
mov rcx, qword [0x14014c350]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea r15, [rbp + 0x5f]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r15
mov r14, qword [r15]
mov rdx, r14
xor rdx, r12
mov qword [rbp - 0x41], rdx
mov qword [r15], rbx
mov rax, qword [0x14014c318]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
call rax
nop
mov qword [r15], r14
test eax, eax
je 0x1400577b2
mov rcx, qword [0x14014c350]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], rdi
mov rax, r14
xor rax, r12
mov qword [rbp - 0x41], rax
mov qword [rdi], rbx
mov rax, qword [0x14014c290]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rdi], r14
test eax, eax
je 0x1400577b2
mov edx, 0xffffffec
mov rcx, qword [0x14014c350]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x14014c350]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x41], rax
mov qword [r14], rbx
mov rax, qword [0x14014c2b0]
mov edx, 0xffffffec
call rax
nop
mov qword [r14], rdi
test eax, eax
je 0x1400577b2
movdqa xmm0, xmmword [0x140114dd0]
movdqu xmmword [rbp + 7], xmm0
lea rdx, [rbp + 7]
mov rcx, qword [0x14014c350]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x1400577b2
mov edx, 5
mov rcx, qword [0x14014c350]
call fcn.14004ed60
mov rcx, qword [0x14014c350]
call fcn.14004f730
xor edx, edx
mov rcx, qword [0x14014c350]
call fcn.14004ed60
mov al, 1
jmp 0x1400577b4