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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180188140]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], send
mov byte [rcx], r13b
mov dword [rsp + 0x30], 1
xor r8d, r8d
lea edx, [r13 + 0x14]
call fcn.1800432e8
mov r14d, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x18008c8bd
mov r15, qword [r15]
call fcn.1800abe78
movsxd rdi, eax
test r15, r15
je 0x18008cbfe
mov ecx, edi
call fcn.1800abf74
lea rcx, [0x180194ca0]
test eax, eax
jne 0x18008c9f9
mov dword [rbp + 0xf0], edi
mov rsi, rdi
shl rsi, 7
mov eax, dword [rsi + rcx + 0xc]
mov dword [rsp + 0x38], eax
test r14d, r14d
je 0x18008c9ff
mov ecx, dword [rsi + rcx + 0x10]
call fcn.1800cc2e4
mov r13, rax
test rax, rax
je 0x18008c9f9
lea rax, [0x180194ca0]
mov eax, dword [rsi + rax + 0x10]
cmp eax, 0x90
ja 0x18008c9f1
mov rdx, r15
cmp r14d, eax
jbe 0x18008c963
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf4]
mov r8d, r14d
mov ecx, edi
call fcn.1800ac110
test eax, eax
jne 0x18008c9f1
mov r14d, dword [rsp + 0x38]
jmp 0x18008c972
mov r8, r14
lea rcx, [rbp + 0xf4]
call fcn.1800eb000
lea rdi, [0x180194ca0]
mov eax, dword [rsi + rdi + 0x10]
cmp r14d, eax
jae 0x18008c9ab
sub eax, r14d
mov ecx, eax
mov eax, r14d
lea rdx, [rbp + 0xf4]
add rdx, rax
je 0x18008cc18
test rcx, rcx
je 0x18008c9ab
mov byte [rdx], 0
inc rdx
sub rcx, 1
jne 0x18008c99f
mov eax, dword [rsi + rdi + 0x10]
test eax, eax
je 0x18008c9d3
mov rcx, r13
lea rdx, [rbp + 0xf4]
sub rdx, r13
mov r8d, eax
mov al, byte [rdx + rcx]
xor al, 0x36
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x18008c9c3
lea rcx, [rsp + 0x50]
call qword [rsi + rdi + 0x58]
test eax, eax
jne 0x18008c9f1
mov r8d, dword [rsi + rdi + 0x10]
mov rdx, r13
lea rcx, [rsp + 0x50]
call qword [rsi + rdi + 0x60]
mov rcx, r13
call fcn.1800c73e8
mov edi, dword [rbp + 0xf0]
mov r8d, dword [r12 + 0x10]
cmp qword [r12 + 0x18], 0xf
jbe 0x18008ca10
mov r12, qword [r12]
test r12, r12
je 0x18008cc32
mov ecx, edi
call fcn.1800abf74
lea r14, [0x180194ca0]
test eax, eax
jne 0x18008ca45
movsxd rax, edi
shl rax, 7
mov rdx, r12
lea rcx, [rsp + 0x50]
call qword [rax + r14 + 0x60]
mov edi, dword [rbp + 0xf0]
mov r12d, dword [rbx + 0x10]
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18008ca56
mov rsi, qword [rbx]
test rsi, rsi
je 0x18008cbe4
mov ecx, edi
call fcn.1800abf74
test eax, eax
jne 0x18008cb88
movsxd rdi, edi
shl rdi, 7
mov r13d, dword [rdi + r14 + 0xc]
mov ecx, dword [rdi + r14 + 0x10]
call fcn.1800cc2e4
mov r14, rax
mov ecx, r13d
call fcn.1800cc2e4
mov r15, rax
test r14, r14
je 0x18008cb7b
test rax, rax
je 0x18008cb76
mov rdx, rax
lea rcx, [rsp + 0x50]
lea rax, [0x180194ca0]
call qword [rdi + rax + 0x68]
test eax, eax
jne 0x18008cb6e
lea r9, [0x180194ca0]
mov eax, dword [rdi + r9 + 0x10]
test eax, eax
je 0x18008caef
mov rcx, r14
lea rdx, [rbp + 0xf4]
sub rdx, r14
mov r8d, eax
mov al, byte [rdx + rcx]
xor al, 0x5c
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x18008cadf
lea rcx, [rsp + 0x50]
call qword [rdi + r9 + 0x58]
test eax, eax
jne 0x18008cb6e
lea rax, [0x180194ca0]
mov r8d, dword [rdi + rax + 0x10]
mov rdx, r14
lea rcx, [rsp + 0x50]
call qword [rdi + rax + 0x60]
test eax, eax
jne 0x18008cb6e
mov r8d, r13d
mov rdx, r15
lea rcx, [rsp + 0x50]
lea rax, [0x180194ca0]
call qword [rdi + rax + 0x60]
test eax, eax
jne 0x18008cb6e
mov rdx, r14
lea rcx, [rsp + 0x50]
lea rax, [0x180194ca0]
call qword [rdi + rax + 0x68]
test eax, eax
jne 0x18008cb6e
xor ecx, ecx
test r13d, r13d
je 0x18008cb6b
mov rdx, r14
sub rdx, rsi
cmp ecx, r12d
jae 0x18008cb6b
mov al, byte [rdx + rsi]
mov byte [rsi], al
inc ecx
inc rsi
cmp ecx, r13d
jb 0x18008cb57
mov r12d, ecx
mov rcx, r15
call fcn.1800c73e8
mov rcx, r14
jmp 0x18008cb83
test r15, r15
je 0x18008cb88
mov rcx, r15
call fcn.1800c73e8
mov edx, r12d
cmp rdx, qword [rbx + 0x10]
ja 0x18008cba8
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18008cba2
mov rax, qword [rbx]
mov byte [rax + rdx], 0
jmp 0x18008cbb7
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.1800432e8
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1800c0610
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 0x1c
lea rdx, str.C:UsersSTFU_source_repos_bo4_shield_developmentdepslibtomcrypt_srcmachmachmac_done.c
lea rcx, str.out___NULL
call fcn.1800abf04
int3
mov r8d, 0x1e
lea rdx, str.C:UsersSTFU_source_repos_bo4_shield_developmentdepslibtomcrypt_srcmachmachmac_init.c
lea rcx, str.key___NULL
call fcn.1800abf04
int3
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.C:UsersSTFU_source_repos_bo4_shield_developmentdepslibtomcrypt_srcmisczeromem.c
lea rcx, str.out___NULL
call fcn.1800abf04
int3
mov r8d, 0x17
lea rdx, str.C:UsersSTFU_source_repos_bo4_shield_developmentdepslibtomcrypt_srcmachmachmac_process.c
lea rcx, str.in___NULL
call fcn.1800abf04
int3