Function at 0x1400a3680
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rcx
xor r12d, r12d
mov dword [rbp + 7], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rbp + 7], 1
movups xmm0, xmmword [0x140171440]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140171450]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x140171460]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [0x140171470]
mov dword [rbp - 0x29], eax
mov r8d, r12d
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x1400a3837
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a3740
cmp r8d, 0x1a
jge 0x1400a3888
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1a
jl 0x1400a3850
lea rax, [rbp - 0x59]
mov rbx, 0xffffffffffffffff
mov rdx, rbx
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400a3896
mov rax, qword [rsi + 0x18]
cmp rdx, rax
ja 0x1400a38d3
mov r15, rsi
cmp rax, 7
jbe 0x1400a38b5
mov r15, qword [rsi]
mov qword [rsi + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp - 0x59]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + r15], r12w
jmp 0x1400a38df
lea r9, [rbp - 0x59]
mov rcx, rsi
call fcn.140091ed0
cmp byte [0x141611420], 0
je 0x1400a3b29
movups xmm0, xmmword [0x140171f80]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140171f90]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x140171fa0]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x140171fb0]
movups xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [str._9_7_y_t_.4_3]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140171fd0]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x140171fd8]
mov dword [rbp - 1], eax
movzx eax, word [0x140171fdc]
mov word [rbp + 3], ax
mov r8d, r12d
cmp r14d, 2
jl 0x1400a3a77
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x28
jl 0x1400a3980
cmp r8d, 0x2f
jge 0x1400a3ac8
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x2f
jl 0x1400a3a90
lea rax, [rbp - 0x59]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a3ad0
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x1400a3b12
mov rdi, rsi
cmp rax, 7
jbe 0x1400a3aef
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
mov rax, rsi
jmp 0x1400a47cc
lea r9, [rbp - 0x59]
mov rdx, rbx
mov rcx, rsi
call fcn.140091ed0
mov rax, rsi
jmp 0x1400a47cc
cmp byte [0x14161141f], 0
je 0x1400a3f65
mov r8d, r12d
cmp byte [0x14161149c], 0
je 0x1400a3d48
movups xmm0, xmmword [str.qs_r]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1401721f0]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x140172200]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x140172210]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [reloc.WLDAP32.dll_Ordinal_79]
mov word [rbp - 0x21], ax
cmp r14d, 2
jl 0x1400a3ca7
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a3bb0
cmp r8d, 0x1d
jge 0x1400a3cf8
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1d
jl 0x1400a3cc0
lea rax, [rbp - 0x59]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a3d00
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x1400a3d3f
mov rdi, rsi
cmp rax, 7
jbe 0x1400a3d1f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a3f4b
lea r9, [rbp - 0x59]
jmp 0x1400a3f40
movups xmm0, xmmword [0x1401713c0]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1401713d0]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x1401713e0]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x1401713f0]
movsd qword [rbp - 0x29], xmm0
cmp r14d, 2
jl 0x1400a3ea7
movdqa xmm5, xmmword [0x140176ee0]
mov r8d, r12d
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a3db0
cmp r8d, 0x1c
jge 0x1400a3ef8
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x1400a3ec0
lea rax, [rbp - 0x59]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a3f00
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x1400a3f3c
mov rdi, rsi
cmp rax, 7
jbe 0x1400a3f1f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a3f4b
lea r9, [rbp - 0x59]
mov rdx, rbx
mov rcx, rsi
call fcn.140091ed0
mov byte [0x141611420], 0
mov byte [0x141611421], 0
mov byte [0x14161141e], 0
jmp 0x1400a47cc
cmp byte [0x141611421], 0
je 0x1400a439c
mov byte [0x141611420], 0
mov byte [0x14161141f], 0
mov byte [0x14161141e], 0
mov r8d, r12d
cmp byte [0x14161149c], 0
je 0x1400a4199
movups xmm0, xmmword [0x1401716b8]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1401716c8]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x1401716d8]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x1401716e8]
movsd qword [rbp - 0x29], xmm0
cmp r14d, 2
jl 0x1400a40f7
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a4000
cmp r8d, 0x1c
jge 0x1400a4148
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1c
jl 0x1400a4110
lea rax, [rbp - 0x59]
mov rdx, rbx
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400a4150
mov rax, qword [rsi + 0x18]
cmp rdx, rax
ja 0x1400a4190
mov rdi, rsi
cmp rax, 7
jbe 0x1400a416f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a47cc
lea r9, [rbp - 0x59]
jmp 0x1400a4394
movups xmm0, xmmword [0x140172188]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140172198]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x1401721a8]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [0x1401721b8]
mov dword [rbp - 0x29], eax
movzx eax, word [0x1401721bc]
mov word [rbp - 0x25], ax
cmp r14d, 2
jl 0x1400a42f7
movdqa xmm5, xmmword [0x140176ee0]
mov r8d, r12d
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a4200
cmp r8d, 0x1b
jge 0x1400a4348
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1b
jl 0x1400a4310
lea rax, [rbp - 0x59]
mov rdx, rbx
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400a4350
mov rax, qword [rsi + 0x18]
cmp rdx, rax
ja 0x1400a4390
mov rdi, rsi
cmp rax, 7
jbe 0x1400a436f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a47cc
lea r9, [rbp - 0x59]
mov rcx, rsi
call fcn.140091ed0
cmp byte [0x14161141e], 0
je 0x1400a47cc
mov byte [0x141611420], 0
mov byte [0x141611421], 0
mov byte [0x14161141f], 0
cmp byte [0x14161149c], 0
je 0x1400a45b8
movups xmm0, xmmword [0x1401716f0]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140171700]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [0x140171710]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x140171720]
movups xmmword [rbp - 0x29], xmm1
cmp r14d, 2
jl 0x1400a451f
movdqa xmm5, xmmword [0x140176ee0]
mov edx, r12d
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add edx, 8
lea rcx, [rcx + 0x10]
cmp edx, 0x20
jl 0x1400a4430
jmp 0x1400a4568
lea r9, [rbp - 0x59]
mov r8d, r12d
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x20
jl 0x1400a4530
lea rax, [rbp - 0x59]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a4570
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x1400a45af
mov rdi, rsi
cmp rax, 7
jbe 0x1400a458f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a47cc
lea r9, [rbp - 0x59]
jmp 0x1400a47c0
movups xmm0, xmmword [0x1401723f0]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x140172400]
movups xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [str._0___ri]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [str.___4Q]
movsd qword [rbp - 0x29], xmm0
mov eax, dword [0x140172428]
mov dword [rbp - 0x21], eax
movzx eax, word [0x14017242c]
mov word [rbp - 0x1d], ax
mov r8d, r12d
cmp r14d, 2
jl 0x1400a4727
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
lea rcx, [rbp - 0x59]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x18
jl 0x1400a4630
cmp r8d, 0x1f
jge 0x1400a4778
movsxd rax, r8d
lea r9, [rbp - 0x59]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x1f
jl 0x1400a4740
lea rax, [rbp - 0x59]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a4780
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x1400a47bc
mov rdi, rsi
cmp rax, 7
jbe 0x1400a479f
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
jmp 0x1400a47cc
lea r9, [rbp - 0x59]
mov rdx, rbx
mov rcx, rsi
call fcn.140091ed0
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret