Function at 0x14018df7c
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor ebx, ebx
mov dword [rsp + 0x20], r8d
mov esi, r8d
mov r14, rdx
mov rdi, rcx
cmp qword [rdx], rbx
jne 0x14018dfef
test r8d, r8d
je 0x14018dff4
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14037a9a0
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r8d, r8d
je 0x14018dfbb
mov ecx, dword [rcx]
sub ecx, 1
je 0x14018e01d
cmp ecx, 1
jne 0x14018e030
lea r8d, [rcx + 7]
lea rdx, [0x1403dcf50]
mov rcx, rdi
call fcn.14018df24
mov ebx, eax
test eax, eax
jns 0x14018e02c
mov ecx, eax
jmp 0x14018dfc2
mov r8d, 5
lea rdx, [0x1403dce38]
jmp 0x14018e00b
mov esi, dword [rsp + 0x20]
test esi, esi
je 0x14018dfc7
movups xmm0, xmmword [r14]
cmp esi, 0x40
jbe 0x14018e0a6
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rdi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14018e264
mov ebx, eax
test eax, eax
js 0x14018e019
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.14018e4e0
mov ebx, eax
test eax, eax
js 0x14018e019
and qword [rbp - 0x79], 0
lea rdx, [rsp + 0x30]
and dword [rbp - 0x71], 0
xor r8d, r8d
movaps xmm0, xmmword [rbp - 0x79]
mov rcx, rdi
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14018df7c
mov ebx, eax
test eax, eax
jns 0x14018e0f6
jmp 0x14018e019
movq qword [rbp - 0x79], xmm0
lea r15, [rbp - 0x69]
psrldq xmm0, 8
xor r14d, r14d
movd ebx, xmm0
mov r12d, esi
mov dword [rbp - 0x71], ebx
test esi, esi
je 0x14018e0fa
movaps xmm1, xmmword [rbp - 0x79]
inc ebx
movdqa xmm0, xmm1
mov dword [rbp - 0x71], ebx
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
call fcn.140183d24
inc r14d
mov byte [r15], al
inc r15
mov eax, r14d
cmp rax, r12
jb 0x14018e0c5
mov esi, dword [rsp + 0x20]
mov r8d, esi
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
mov r14d, esi
call sub.msvcrt.dll_memcpy
mov eax, 0x40
lea rcx, [rbp - 0x69]
sub eax, esi
add rcx, r14
mov r8d, eax
mov edx, 0x36
mov ebx, eax
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x29]
mov r8d, ebx
add rcx, r14
mov edx, 0x5c
call sub.msvcrt.dll_memset
test esi, esi
je 0x14018e157
xor eax, eax
xor byte [rbp + rax - 0x69], 0x36
xor byte [rbp + rax - 0x29], 0x5c
inc rax
sub r14, 1
jne 0x14018e144
and dword [rsp + 0x38], 0
lea rax, [rbp - 0x29]
and dword [rbp - 0x71], 0
lea rdx, [rsp + 0x30]
mov qword [rbp - 0x79], rax
mov r8d, 0x40
mov rax, qword [0x140440198]
mov ecx, dword [rax]
lea rax, [rbp - 0x79]
add rax, rcx
mov rcx, rdi
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14018e264
mov ebx, eax
test eax, eax
js 0x14018e019
movups xmm0, xmmword [rdi + 0x54]
and qword [rsp + 0x30], 0
xor r8d, r8d
movups xmm1, xmmword [rdi + 0x64]
and dword [rsp + 0x38], 0
lea rdx, [rsp + 0x30]
movups xmmword [rdi + 0x9c], xmm0
mov rcx, rdi
movups xmm0, xmmword [rdi + 0x74]
movups xmmword [rdi + 0xac], xmm1
movups xmm1, xmmword [rdi + 0x84]
movups xmmword [rdi + 0xbc], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rdi + 0xcc], xmm1
call fcn.14018df7c
mov ebx, eax
test eax, eax
js 0x14018e019
and dword [rsp + 0x38], 0
lea rax, [rbp - 0x69]
and dword [rbp - 0x71], 0
lea rdx, [rsp + 0x30]
mov qword [rbp - 0x79], rax
mov r8d, 0x40
mov rax, qword [0x140440198]
mov ecx, dword [rax]
lea rax, [rbp - 0x79]
add rax, rcx
mov rcx, rdi
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14018e264
mov ebx, eax
test eax, eax
js 0x14018e019
mov byte [rdi + 0x9a], 1
jmp 0x14018dfc7