Function at 0x1400565a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140072b10]
test rax, rax
je 0x1400565f1
cmp qword [0x140072b08], 0
jne 0x140056aad
movups xmm0, xmmword [str.zAqSQ]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x14006d288]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x14006d290]
mov dword [rbp - 0x31], eax
movzx eax, word [0x14006d294]
mov word [rbp - 0x2d], ax
mov esi, dword [0x140072090]
movdqa xmm6, xmmword [0x14006da10]
cmp byte [0x14006d295], 0
je 0x14005678c
xor ecx, ecx
cmp esi, 2
jl 0x140056754
movdqa xmm4, xmmword [0x14006d990]
movdqa xmm3, xmmword [0x14006da60]
movdqa xmm5, xmmword [str.5555::::]
movdqa xmm0, xmmword [0x14006da50]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x45]
mov r8d, dword [rbp - 0x59]
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, 0x18
jl 0x140056670
cmp ecx, 0x1e
jge 0x14005678c
movsxd rax, ecx
lea r8, [rbp - 0x49]
add r8, rax
nop
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, 0x1e
jl 0x140056760
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rax, [rbp - 0x49]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400567b0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.140057ed0
nop
movsd xmm0, qword [0x14006d268]
movsd qword [rbp - 0x59], xmm0
mov ecx, dword [0x14006d270]
mov dword [rbp - 0x51], ecx
movzx eax, word [0x14006d274]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x14006d276]
mov byte [rbp - 0x4b], al
xor r8d, r8d
cmp esi, 2
jl 0x140056940
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 [0x14006d268]
xorps xmm3, xmm0
movd dword [rbp - 0x59], 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 - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], 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 - 0x51], xmm3
mov r8d, 0xc
mov eax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x140056950
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x59]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140056993
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.140057ed0
nop
lea rcx, [rbp - 0x29]
call fcn.140060950
mov rdx, rax
lea r8, [rbp - 9]
mov rcx, rdi
call fcn.140056260
mov rbx, rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140056a06
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056a01
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 - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140056a55
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056a50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056a50
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 0x140056abe
mov dword [rbp + 0x17], 0
lea r8, [rbx + 7]
mov r9d, 4
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.1400556d0
test al, al
je 0x140056abe
movsxd r8, dword [rbp + 0x17]
add r8, 0xb
add r8, rbx
mov qword [0x140072b10], r8
mov r9d, 8
lea rdx, [0x140072b08]
mov rcx, rdi
call fcn.1400556d0
test al, al
je 0x140056abe
mov rax, qword [0x140072b10]
mov qword [r14], rax
mov rax, qword [0x140072b08]
mov qword [r15], rax
mov al, 1
jmp 0x140056ac0
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400621a0
mov rbx, qword [rsp + 0xf8]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret