Function at 0x1400312a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rcx, qword [0x14006b768]
lea r9, [r11 - 0x88]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x80], xmm0
mov qword [r11 - 0x38], rax
xor r8d, r8d
movups xmmword [r11 - 0x78], xmm0
mov dword [r11 - 0x30], eax
mov edx, 0x444
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov dword [rsp + 0x80], 0x5c
mov dword [rsp + 0x84], 0x40000000
mov dword [r11 - 0x74], 0xff00
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [0x14005bae0]
xor r9d, r9d
cmp dword [0x14006a098], 2
movups xmm1, xmmword [0x14005baf0]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14005bb00]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x14005bb10]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
jl 0x1400314b9
movdqa xmm0, xmmword [0x14005ced0]
lea rcx, [rsp + 0x40]
movdqa xmm5, xmmword [0x14005ce70]
mov edx, r9d
movdqa xmm4, xmmword [0x14005cee0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [rsp + 0xf0], xmm6
movdqa xmm6, xmmword [0x14005ce90]
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 [0x14005cec0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], 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 [0x14005cec0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp edx, 0x40
jl 0x1400313b0
movaps xmm6, xmmword [rsp + 0xf0]
jmp 0x1400314fd
lea r8, [rsp + 0x40]
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x40
jl 0x1400314d0
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r9
mov rsi, 0xffffffffffffffff
mov r9d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rsi
mov rcx, rax
call fcn.14004e1ac
mov r9d, esi
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x14006b768]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14004de50
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret