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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov esi, r9d
mov rbp, r8
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je case.default.0x140089fec
test r8, r8
jne 0x140089f6e
test r9d, r9d
jne case.default.0x140089fec
lea eax, [rdx - 3]
cmp eax, 5
jbe 0x140089f82
lea eax, [rdx - 0xa]
cmp eax, 3
ja case.default.0x140089fec
cmp byte [rcx + 0x228], 0
je 0x140089f90
call fcn.140089e70
xor r8d, r8d
mov byte [rdi + 0x229], 0
mov edx, ebx
mov byte [rdi + 0x228], bl
mov rcx, rdi
call fcn.140089740
mov ebx, eax
test eax, eax
jne 0x14008a2b0
movzx eax, byte [rdi + 0x228]
lea r14, [rdi + 0xe0]
add eax, 0xfffffffd
lea r12, [rdi + 0x160]
cmp eax, 5
ja case.default.0x140089fec
lea rdx, [0x140000000]
cdqe
lea r13d, [rbx + 0x20]
mov ecx, dword [rdx + rax*4 + 0x8a2d0]
add rcx, rdx
jmp rcx
mov r15d, 0x40
cmp esi, r15d
ja 0x14008a015
test rbp, rbp
je 0x14008a192
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14008a192
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400853c0
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140085250
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, 0x10
jmp 0x14008a19a
mov r15d, 0x40
cmp esi, r15d
jbe 0x140089ff9
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.140086a50
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140086740
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, 0x14
jmp 0x14008a19a
mov r15d, 0x40
cmp esi, r15d
jbe 0x140089ff9
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400788c0
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140078850
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, 0x1c
jmp 0x14008a19a
mov r15d, 0x40
cmp esi, r15d
jbe 0x140089ff9
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.140078ba0
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140078940
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, r13d
jmp 0x14008a19a
mov r15d, 0x80
cmp esi, r15d
jbe 0x140089ff9
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.140088a60
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140088910
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, 0x30
jmp 0x14008a19a
mov r15d, 0x80
cmp esi, r15d
jbe 0x140089ff9
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.140088a60
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov rdx, r14
mov rcx, rdi
call fcn.140088a80
mov ebx, eax
test eax, eax
jne 0x14008a18a
mov ecx, 0x40
jmp 0x14008a19a
test ebx, ebx
jne 0x14008a2a7
mov rcx, rsi
cmp esi, r15d
jae 0x14008a1aa
mov r8d, r15d
xor edx, edx
sub r8d, ecx
add rcx, r14
call sub.VCRUNTIME140.dll_memset
xor edx, edx
test r15d, r15d
je 0x14008a2a7
cmp r15d, 0x40
jb 0x14008a27f
lea eax, [r15 - 1]
lea r8, [rax + r14]
add rax, r12
cmp r14, rax
ja 0x14008a1d8
cmp r8, r12
jae 0x14008a27f
movdqa xmm2, xmmword [0x14020b9d0]
movdqa xmm3, xmmword [str.6666666666666666_]
nop dword [rax + rax]
movdqu xmm1, xmmword [rdx + r14]
lea eax, [r13 - 0x10]
movdqa xmm0, xmm1
xorps xmm1, xmm3
movdqu xmmword [rdx + r14], xmm1
movdqu xmm1, xmmword [rax + r14]
xorps xmm0, xmm2
movdqu xmmword [rdx + r12], xmm0
add edx, 0x40
movdqa xmm0, xmm1
xorps xmm1, xmm3
movdqu xmmword [rax + r14], xmm1
xorps xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
mov eax, r13d
movdqu xmm1, xmmword [rax + r14]
movdqa xmm0, xmm1
xorps xmm1, xmm3
movdqu xmmword [rax + r14], xmm1
xorps xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
lea eax, [r13 + 0x10]
add r13d, 0x40
movdqu xmm1, xmmword [rax + r14]
movdqa xmm0, xmm1
xorps xmm1, xmm3
xorps xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
movdqu xmmword [rax + r14], xmm1
cmp edx, r15d
jb 0x14008a1f0
mov eax, ebx
jmp 0x14008a2b0
mov eax, edx
add rax, r14
sub r15d, edx
mov edx, r15d
nop word [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor cl, 0x5c
mov byte [rax + 0x7f], cl
xor byte [rax - 1], 0x36
sub rdx, 1
jne 0x14008a290
mov eax, ebx
jmp 0x14008a2b0
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret