Function at 0x140043840
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movups xmm0, xmmword [str.a_ZZAt_YWQe]
movups xmm1, xmmword [0x1400c7ff0]
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax + 0x18], rsi
mov r8d, ebx
mov qword [rax - 0x10], rdi
mov edi, dword [0x1400da008]
mov qword [rax - 0x18], r14
lea esi, [rbx + 4]
movaps xmmword [rax - 0x28], xmm6
lea r14d, [rbx + 0x1f]
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movzx eax, word [0x1400c8028]
mov word [rbp - 0x68], ax
movzx eax, byte [0x1400c802a]
mov byte [rbp - 0x66], al
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400c8000]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1400c8010]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400c8020]
movsd qword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
cmp edi, 2
jl 0x140043a15
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1400c82b0]
movdqa xmm4, xmmword [0x1400c8370]
movdqa xmm7, xmmword [0x1400c82e0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, esi
movd xmm8, r14d
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x48
jl 0x140043910
cmp r8d, 0x4b
jge 0x140043a51
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x4b
jl 0x140043a20
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14000aaf0
cmp byte [0x1400dacb0], 1
mov rcx, qword [0x1400dfbb0]
jne 0x140043aa0
mov rax, qword [rcx + 0x19f8]
mov byte [0x1400dacb0], bl
and dword [rax + 0xb0], 0xfffffff1
mov qword [rax + 0x90], rbx
mov dword [rax + 0x20], 0x442f0000
mov dword [rax + 0x24], 0x43c80000
nop dword [rax]
cmp byte [0x1400c783d], bl
movaps xmm0, xmmword [0x1400c8350]
movss xmm6, dword [0x1400c80e8]
movss xmm7, dword [0x1400c81a4]
movups xmmword [rcx + 0x1740], xmm0
mov rax, qword [rcx + 0x19f8]
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
mov dword [rbp + 0x24], ebx
movss xmm0, dword [rax + 0x18]
mov eax, dword [0x1400c7838]
mulss xmm0, xmm6
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400c783c]
mov word [rsp + 0x34], ax
subss xmm0, xmm7
movss dword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x1400c7828]
movups xmmword [rsp + 0x20], xmm0
je 0x140043cb1
mov r8d, ebx
cmp edi, 2
jl 0x140043c69
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400c82b0]
movdqa xmm4, xmmword [0x1400c8370]
movdqa xmm9, xmmword [0x1400c82e0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm8, esi
movd xmm10, r14d
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm10
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm8
movdqa xmm0, xmm1
psrld xmm0, xmm10
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140043b60
cmp r8d, 0x16
jge 0x140043cb1
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x16
jl 0x140043c80
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140026af0
test al, al
je 0x140043cd0
mov dword [0x1400e0110], ebx
nop dword [rax]
movaps xmm0, xmmword [0x1400c8350]
mov r8, qword [0x1400dfbb0]
movss xmm8, dword [0x1400c8204]
movaps xmm1, xmm8
movaps xmmword [rsp + 0xa0], xmm11
movups xmmword [r8 + 0x1740], xmm0
xorps xmm0, xmm0
call fcn.14000e980
mov rax, qword [r8 + 0x19f8]
movaps xmm0, xmmword [0x1400c8350]
mov dword [rbp + 0x24], ebx
movups xmmword [r8 + 0x1740], xmm0
mov r8d, ebx
movss xmm0, dword [rax + 0x18]
movzx eax, byte [0x1400c72e0]
mulss xmm0, xmm6
mov byte [rsp + 0x38], al
subss xmm0, xmm7
movss dword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x1400c72c8]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400c72d8]
movsd qword [rsp + 0x30], xmm0
cmp edi, 2
jl 0x140043ea9
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400c82b0]
movdqa xmm4, xmmword [0x1400c8370]
movdqa xmm10, xmmword [0x1400c82e0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm9, esi
movd xmm11, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm9
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm9
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140043da0
cmp r8d, 0x19
jge 0x140043ef1
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x19
jl 0x140043ec0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140026af0
test al, al
je 0x140043f10
mov dword [0x1400e0110], 1
nop dword [rax]
movaps xmm0, xmmword [0x1400c8350]
movaps xmm1, xmm8
mov r8, qword [0x1400dfbb0]
movups xmmword [r8 + 0x1740], xmm0
xorps xmm0, xmm0
call fcn.14000e980
mov rax, qword [r8 + 0x19f8]
movaps xmm0, xmmword [0x1400c8350]
mov dword [rbp + 0x24], ebx
movups xmmword [r8 + 0x1740], xmm0
mov r8d, ebx
movss xmm0, dword [rax + 0x18]
movzx eax, byte [0x1400c7c78]
mulss xmm0, xmm6
mov byte [rsp + 0x38], al
subss xmm0, xmm7
movss dword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x1400c7c60]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400c7c70]
movsd qword [rsp + 0x30], xmm0
cmp edi, 2
jl 0x1400440d9
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400c82b0]
movdqa xmm4, xmmword [0x1400c8370]
movdqa xmm10, xmmword [0x1400c82e0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm9, esi
movd xmm11, r14d
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm9
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm9
movdqa xmm0, xmm1
psrld xmm0, xmm11
paddd xmm0, xmm1
pmulld xmm0, xmm10
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140043fd0
cmp r8d, 0x19
jge 0x140044121
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x19
jl 0x1400440f0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140026af0
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
test al, al
je 0x140044160
mov dword [0x1400e0110], 2
nop dword [rax + rax]
movaps xmm2, xmmword [0x1400c8350]
movaps xmm1, xmm8
mov r8, qword [0x1400dfbb0]
xorps xmm0, xmm0
movups xmmword [r8 + 0x1740], xmm2
call fcn.14000e980
cmp byte [0x1400c7475], bl
mov rax, qword [r8 + 0x19f8]
movaps xmm0, xmmword [0x1400c8350]
movups xmmword [r8 + 0x1740], xmm0
mov dword [rbp + 0x24], ebx
movss xmm0, dword [rax + 0x18]
mov eax, dword [0x1400c7470]
mulss xmm0, xmm6
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400c7474]
mov word [rsp + 0x34], ax
subss xmm0, xmm7
movss dword [rbp + 0x20], xmm0
movups xmm0, xmmword [0x1400c7460]
movups xmmword [rsp + 0x20], xmm0
je 0x14004435d
cmp edi, 2
jl 0x140044320
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400c82b0]
movdqa xmm4, xmmword [0x1400c8370]
movdqa xmm7, xmmword [0x1400c82e0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140044220
cmp ebx, 0x16
jge 0x14004435d
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x140044330
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140026af0
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov r14, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x128]
test al, al
je 0x1400443b2
mov dword [0x1400e0110], 3
mov rax, qword [0x1400dfbb0]
movaps xmm0, xmmword [0x1400c8350]
movups xmmword [rax + 0x1740], xmm0
call fcn.1400285b0
mov ecx, dword [0x1400e0110]
test ecx, ecx
je 0x14004441b
sub ecx, 1
je 0x140044409
sub ecx, 1
je 0x1400443f7
cmp ecx, 1
jne 0x140044420
call fcn.140042a30
add rsp, 0x110
pop rbp
jmp fcn.14000daa0
call fcn.140041260
add rsp, 0x110
pop rbp
jmp fcn.14000daa0
call fcn.14003ffb0
add rsp, 0x110
pop rbp
jmp fcn.14000daa0
call fcn.14003f090
add rsp, 0x110
pop rbp
jmp fcn.14000daa0