Function at 0x140056af0
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 [0x140142600]
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 [0x140142e30], rbx
jne 0x140056d5f
mov byte [rbp - 0x49], bl
movups xmm0, xmmword [0x14010cd78]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [0x14010cd88]
movups xmmword [rbp - 0x31], xmm1
mov eax, dword [0x14010cd98]
mov dword [rbp - 0x21], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140056cca
movdqa xmm5, xmmword [0x1400d9a10]
movdqa xmm4, xmmword [0x14010d670]
movdqa xmm6, xmmword [0x14010d5e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x3d]
mov edx, dword [rbp - 0x19]
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010d600]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x14010d600]
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, 0x20
jl 0x140056bc0
cmp eax, 0x24
jge 0x140056d0e
movsxd rax, ebx
lea r8, [rbp - 0x41]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
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, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x24
jl 0x140056ce0
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.1400cdd30
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 [0x140142e30]
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 [0x140143050]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
call rax
nop
mov qword [r15], r14
test eax, eax
je 0x140056d24
mov rcx, qword [0x140142e30]
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 [0x140142fc8]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rdi], r14
test eax, eax
je 0x140056d24
mov edx, 0xffffffec
mov rcx, qword [0x140142e30]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x140142e30]
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 [0x140142fe8]
mov edx, 0xffffffec
call rax
nop
mov qword [r14], rdi
test eax, eax
je 0x140056d24
movdqa xmm0, xmmword [0x14010d5a0]
movdqu xmmword [rbp + 7], xmm0
lea rdx, [rbp + 7]
mov rcx, qword [0x140142e30]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x140056d24
mov edx, 5
mov rcx, qword [0x140142e30]
call fcn.14004e760
mov rcx, qword [0x140142e30]
call fcn.14004e9f0
xor edx, edx
mov rcx, qword [0x140142e30]
call fcn.14004e760
mov al, 1
jmp 0x140056d26