Function at 0x140014950
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [0x140031bb0]
movzx eax, word [0x140031bc0]
xor ebx, ebx
cmp byte [0x140031bc1], bl
mov edi, dword [reloc.d2d1.dll_Ordinal_1]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x40], ax
movaps xmmword [rsp + 0x70], xmm6
je 0x140014b1d
mov ecx, ebx
cmp edi, 2
jl 0x140014ae4
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400149e0
cmp ecx, 0x12
jge 0x140014b1d
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x140014af0
movups xmm0, xmmword [str.tED_TXWE]
movups xmmword [rbp - 0x38], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140014cc1
cmp edi, 2
jl 0x140014c81
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rbp - 0x34]
movdqa xmm5, xmmword [0x140032a30]
mov edx, ebx
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x140032a80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, 4
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140014b80
jmp 0x140014cc1
lea r9, [rbp - 0x38]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140014c90
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.140005070
movaps xmm6, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [0x140037a90], rax
test rax, rax
je 0x140014fec
cmp byte [0x1400323c3], bl
mov eax, dword [0x1400323c0]
mov dword [rbp - 0x28], eax
je 0x140014dc1
cmp edi, 2
jl 0x140014d7d
movdqa xmm3, xmmword [0x140032a30]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140032bf0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140032bf0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140032a50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x28], xmm2
jmp 0x140014dc1
lea r9, [rbp - 0x28]
mov r8d, ebx
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140014d90
lea rdx, [rbp - 0x28]
call fcn.140004b20
mov dword [rbp - 0x28], ebx
add rax, 0x18
je 0x140014de5
mov r8d, 4
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140003e70
mov eax, dword [str.T_XMWN_]
lea rdx, [rbp - 0x60]
mov rcx, qword [0x140037a90]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1400319d8]
xor byte [rbp - 0x5f], 0x36
xor byte [rbp - 0x5e], 0x37
xor byte [rbp - 0x5d], 0x38
mov word [rbp - 0x5c], ax
movzx eax, byte [0x1400319da]
xor byte [rbp - 0x5c], 0x39
xor al, 0x3b
xor byte [rbp - 0x5b], 0x3a
mov byte [rbp - 0x5a], al
mov byte [rbp - 0x60], 0x61
call fcn.140004b20
mov dword [rbp - 0x28], ebx
add rax, 0x18
jne 0x140014e3a
mov ecx, ebx
jmp 0x140014e54
mov r8d, 4
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140003e70
mov ecx, dword [rbp - 0x28]
test al, al
cmove ecx, ebx
cmp byte [0x140032847], bl
mov rax, qword [str.DCVTPNB_T_ZQW_iYQV__f7_0_6__8K]
mov qword [rbp - 0x60], rax
mov dword [0x140037a8c], ecx
je 0x140014fb1
cmp edi, 2
jl 0x140014f72
movdqa xmm2, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140032a40]
movdqa xmm0, xmm2
mov eax, dword [str.5555555555555555]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
movd xmm1, dword [rbp - 0x60]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x60], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
movd xmm1, dword [rbp - 0x5c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
jmp 0x140014fb1
lea r9, [rbp - 0x60]
mov r8d, ebx
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140014f80
mov rcx, qword [0x140037a90]
lea rdx, [rbp - 0x60]
call fcn.140004b20
mov dword [rbp - 0x28], ebx
add rax, 0x18
je 0x140014fe6
mov r8d, 4
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140003e70
mov ecx, dword [rbp - 0x28]
test al, al
cmove ecx, ebx
mov ebx, ecx
mov dword [0x140037a88], ebx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.14002fa10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret