Function at 0x1400d7e80
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.0x1400d7f3c
test r8, r8
jne 0x1400d7ebe
test r9d, r9d
jne case.default.0x1400d7f3c
lea eax, [rdx - 3]
cmp eax, 5
jbe 0x1400d7ed2
lea eax, [rdx - 0xa]
cmp eax, 3
ja case.default.0x1400d7f3c
cmp byte [rcx + 0x228], 0
je 0x1400d7ee0
call fcn.1400d7dc0
xor r8d, r8d
mov byte [rdi + 0x229], 0
mov edx, ebx
mov byte [rdi + 0x228], bl
mov rcx, rdi
call fcn.1400d76d0
mov ebx, eax
test eax, eax
jne 0x1400d8202
movzx eax, byte [rdi + 0x228]
lea r14, [rdi + 0xe0]
add eax, 0xfffffffd
lea r12, [rdi + 0x160]
cmp eax, 5
ja case.default.0x1400d7f3c
lea rdx, [0x140000000]
cdqe
lea r13d, [rbx + 0x20]
mov ecx, dword [rdx + rax*4 + 0xd8220]
add rcx, rdx
jmp rcx
mov r15d, 0x40
cmp esi, r15d
ja 0x1400d7f65
test rbp, rbp
je 0x1400d80e2
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400d80e2
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d07d0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d0680
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, 0x10
jmp 0x1400d80ea
mov r15d, 0x40
cmp esi, r15d
jbe 0x1400d7f49
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d2190
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d1b50
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, 0x14
jmp 0x1400d80ea
mov r15d, 0x40
cmp esi, r15d
jbe 0x1400d7f49
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d3830
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d3700
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, 0x1c
jmp 0x1400d80ea
mov r15d, 0x40
cmp esi, r15d
jbe 0x1400d7f49
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d3bb0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d38b0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, r13d
jmp 0x1400d80ea
mov r15d, 0x80
cmp esi, r15d
jbe 0x1400d7f49
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d68e0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d65f0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, 0x30
jmp 0x1400d80ea
mov r15d, 0x80
cmp esi, r15d
jbe 0x1400d7f49
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call fcn.1400d68e0
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov rdx, r14
mov rcx, rdi
call fcn.1400d6900
mov ebx, eax
test eax, eax
jne 0x1400d80da
mov ecx, 0x40
jmp 0x1400d80ea
test ebx, ebx
jne 0x1400d81f9
mov rcx, rsi
cmp esi, r15d
jae 0x1400d80fa
mov r8d, r15d
xor edx, edx
sub r8d, ecx
add rcx, r14
call sub.VCRUNTIME140.dll_memset
xor edx, edx
test r15d, r15d
je 0x1400d81f9
cmp r15d, 0x40
jb 0x1400d81d7
lea eax, [r15 - 1]
lea r8, [rax + r14]
add rax, r12
cmp r14, rax
ja 0x1400d8128
cmp r8, r12
jae 0x1400d81d7
movdqa xmm2, xmmword [0x14024d210]
movdqa xmm3, xmmword [0x14024d200]
nop dword [rax + rax]
movdqu xmm1, xmmword [rdx + r14]
lea eax, [r13 - 0x10]
movdqa xmm0, xmm1
pxor xmm1, xmm3
movdqu xmmword [rdx + r14], xmm1
movdqu xmm1, xmmword [rax + r14]
pxor xmm0, xmm2
movdqu xmmword [rdx + r12], xmm0
add edx, 0x40
movdqa xmm0, xmm1
pxor xmm1, xmm3
movdqu xmmword [rax + r14], xmm1
pxor xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
mov eax, r13d
movdqu xmm1, xmmword [rax + r14]
movdqa xmm0, xmm1
pxor xmm1, xmm3
movdqu xmmword [rax + r14], xmm1
pxor xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
lea eax, [r13 + 0x10]
add r13d, 0x40
movdqu xmm1, xmmword [rax + r14]
movdqa xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movdqu xmmword [rax + r12], xmm0
movdqu xmmword [rax + r14], xmm1
cmp edx, r15d
jb 0x1400d8140
mov eax, ebx
jmp 0x1400d8202
mov eax, edx
add rax, r14
sub r15d, edx
mov edx, r15d
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 0x1400d81e2
mov eax, ebx
jmp 0x1400d8202
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