Function at 0x140056af0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov r14, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x140072b38]
test rax, rax
je 0x140056b31
cmp byte [0x140072b18], 0
jne 0x140056fb1
movups xmm0, xmmword [str.zAqSQ_O]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x14006d2a8]
movups xmmword [rbp - 0x29], xmm1
mov eax, dword [0x14006d2b8]
mov dword [rbp - 0x19], eax
movzx eax, byte [0x14006d2bc]
mov byte [rbp - 0x15], al
xor ebx, ebx
mov ecx, ebx
movdqa xmm6, xmmword [0x14006da10]
mov esi, dword [0x140072090]
cmp esi, 2
jl 0x140056c86
movdqa xmm4, xmmword [0x14006d990]
movdqa xmm3, xmmword [0x14006da60]
movdqa xmm5, xmmword [str.5555::::]
movdqa xmm0, xmmword [0x14006da50]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x35]
mov r8d, dword [rbp - 0x69]
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140056ba2
cmp ecx, 0x25
jge 0x140056cbc
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x140056c90
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x39]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140056ce0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140057ed0
nop
movsd xmm0, qword [0x140064af8]
movsd qword [rbp - 0x69], xmm0
mov ecx, dword [0x140064b00]
mov dword [rbp - 0x61], ecx
movzx eax, word [0x140064b04]
mov word [rbp - 0x5d], ax
movzx eax, byte [0x140064b06]
mov byte [rbp - 0x5b], al
cmp esi, 2
jl 0x140056e6b
movdqa xmm4, xmmword [0x14006da60]
movdqa xmm5, xmmword [str.5555::::]
movdqa xmm3, xmmword [0x14006d990]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x14006da50]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x140064af8]
xorps xmm3, xmm0
movd dword [rbp - 0x69], xmm3
movdqa xmm2, xmmword [0x14006d9a0]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x65]
xorps xmm2, xmm1
movd dword [rbp - 0x65], xmm2
movdqa xmm3, xmmword [0x14006d9b0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x61], xmm3
mov ebx, 0xc
mov eax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xf
jl 0x140056e80
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x69]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140056ec0
mov r8, rdi
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.140057ed0
nop
lea rcx, [rbp - 0x59]
call fcn.140060950
mov rdx, rax
lea r8, [rbp - 0x11]
mov rcx, r15
call fcn.140056260
mov rbx, rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140056f33
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056f2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006243c
movdqa xmm0, xmmword [0x14006d980]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140056f82
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056f7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006243c
test rbx, rbx
je 0x140056fd0
mov qword [0x140072b38], rbx
mov r9d, 0xc
mov r8, rbx
lea rdx, [0x140072b18]
mov rcx, r15
call fcn.1400556d0
test al, al
je 0x140056fd0
mov rax, qword [0x140072b38]
mov qword [r12], rax
movsd xmm0, qword [0x140072b18]
movsd qword [r14], xmm0
mov eax, dword [0x140072b20]
mov dword [r14 + 8], eax
mov al, 1
jmp 0x140056fd2
xor al, al
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret