Function at 0x1401872f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movdqa xmm1, xmmword [0x140495320]
xorps xmm0, xmm0
mov edi, dword [0x1404bc010]
xor ebx, ebx
movups xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x59], 0
movups xmm0, xmmword [str.ZG_EE_r]
movdqu xmmword [rbp - 0x49], xmm1
movups xmm1, xmmword [0x140494190]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1404941a0]
movaps xmmword [rax - 0x18], xmm6
movzx eax, byte [0x1404941b0]
mov byte [rbp + 0x17], al
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp - 9], xmm1
test al, al
je 0x1401874f4
mov r8d, ebx
cmp edi, 2
jl 0x1401874af
movdqa xmm0, xmmword [0x140495530]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140495430]
movdqa xmm4, xmmword [0x140495640]
movdqa xmm6, xmmword [0x140495460]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
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
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1404954d0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1404954d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x1401873a0
cmp r8d, 0x31
jge 0x1401874f4
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x31
jl 0x1401874c0
xorps xmm0, xmm0
lea rax, [rbp - 0x19]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
nop
inc r8
cmp byte [rax + r8], bl
jne 0x140187510
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.14013c7a0
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x1f]
call fcn.1401630e0
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140135450
lea rcx, [rbp + 0x1f]
call fcn.1401358f0
cmp byte [str.5unknown_error], bl
mov eax, dword [0x140493fb4]
mov dword [rbp + 0x67], eax
je 0x140187624
cmp edi, 2
jl 0x1401875e7
movdqa xmm3, xmmword [0x140495430]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140495640]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140495640]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140495460]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1404954d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140495530]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x140187624
lea r9, [rbp + 0x67]
mov r8d, ebx
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1401875f0
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x59]
call fcn.14016f760
test al, al
jne 0x1401877d1
lea rdx, [rbp - 0x59]
call fcn.140187800
cmp byte [rbp - 0x49], bl
je 0x1401877f6
cmp edi, 2
jl 0x14018778a
movdqa xmm0, xmmword [0x140495530]
lea rcx, [rbp - 0x55]
movdqa xmm5, xmmword [0x140495430]
movdqa xmm4, xmmword [0x140495640]
movdqa xmm6, xmmword [0x140495460]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
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
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1404954d0]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1404954d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140187680
cmp ebx, 0x11
jge 0x1401877f6
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0x11
jge 0x1401877f6
jmp 0x1401877a0
lea rcx, [rbp - 0x59]
call fcn.1401358f0
lea r11, [rsp + 0xd0]
mov al, 1
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x59]
call fcn.1401be870
int3