Function at 0x180049f00
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 [0x1801170a0]
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.180018d74
mov r14d, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x180049f7d
mov r15, qword [r15]
call fcn.18006b144
movsxd rdi, eax
test r15, r15
je 0x18004a2be
mov ecx, edi
call fcn.18006b240
lea rcx, [0x18011fdc0]
test eax, eax
jne 0x18004a0b9
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 0x18004a0bf
mov ecx, dword [rsi + rcx + 0x10]
call fcn.18008cd6c
mov r13, rax
test rax, rax
je 0x18004a0b9
lea rax, [0x18011fdc0]
mov eax, dword [rsi + rax + 0x10]
cmp eax, 0x90
ja 0x18004a0b1
mov rdx, r15
cmp r14d, eax
jbe 0x18004a023
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.18006b3dc
test eax, eax
jne 0x18004a0b1
mov r14d, dword [rsp + 0x38]
jmp 0x18004a032
mov r8, r14
lea rcx, [rbp + 0xf4]
call fcn.180081630
lea rdi, [0x18011fdc0]
mov eax, dword [rsi + rdi + 0x10]
cmp r14d, eax
jae 0x18004a06b
sub eax, r14d
mov ecx, eax
mov eax, r14d
lea rdx, [rbp + 0xf4]
add rdx, rax
je 0x18004a2d8
test rcx, rcx
je 0x18004a06b
mov byte [rdx], 0
inc rdx
sub rcx, 1
jne 0x18004a05f
mov eax, dword [rsi + rdi + 0x10]
test eax, eax
je 0x18004a093
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 0x18004a083
lea rcx, [rsp + 0x50]
call qword [rsi + rdi + 0x58]
test eax, eax
jne 0x18004a0b1
mov r8d, dword [rsi + rdi + 0x10]
mov rdx, r13
lea rcx, [rsp + 0x50]
call qword [rsi + rdi + 0x60]
mov rcx, r13
call fcn.180086a6c
mov edi, dword [rbp + 0xf0]
mov r8d, dword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x18004a0d0
mov r12, qword [r12]
test r12, r12
je 0x18004a2f2
mov ecx, edi
call fcn.18006b240
lea r14, [0x18011fdc0]
test eax, eax
jne 0x18004a105
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], 0x10
jb 0x18004a116
mov rsi, qword [rbx]
test rsi, rsi
je 0x18004a2a4
mov ecx, edi
call fcn.18006b240
test eax, eax
jne 0x18004a248
movsxd rdi, edi
shl rdi, 7
mov r13d, dword [rdi + r14 + 0xc]
mov ecx, dword [rdi + r14 + 0x10]
call fcn.18008cd6c
mov r14, rax
mov ecx, r13d
call fcn.18008cd6c
mov r15, rax
test r14, r14
je 0x18004a23b
test rax, rax
je 0x18004a236
mov rdx, rax
lea rcx, [rsp + 0x50]
lea rax, [0x18011fdc0]
call qword [rdi + rax + 0x68]
test eax, eax
jne 0x18004a22e
lea r9, [0x18011fdc0]
mov eax, dword [rdi + r9 + 0x10]
test eax, eax
je 0x18004a1af
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 0x18004a19f
lea rcx, [rsp + 0x50]
call qword [rdi + r9 + 0x58]
test eax, eax
jne 0x18004a22e
lea rax, [0x18011fdc0]
mov r8d, dword [rdi + rax + 0x10]
mov rdx, r14
lea rcx, [rsp + 0x50]
call qword [rdi + rax + 0x60]
test eax, eax
jne 0x18004a22e
mov r8d, r13d
mov rdx, r15
lea rcx, [rsp + 0x50]
lea rax, [0x18011fdc0]
call qword [rdi + rax + 0x60]
test eax, eax
jne 0x18004a22e
mov rdx, r14
lea rcx, [rsp + 0x50]
lea rax, [0x18011fdc0]
call qword [rdi + rax + 0x68]
test eax, eax
jne 0x18004a22e
xor ecx, ecx
test r13d, r13d
je 0x18004a22b
mov rdx, r14
sub rdx, rsi
cmp ecx, r12d
jae 0x18004a22b
mov al, byte [rdx + rsi]
mov byte [rsi], al
inc ecx
inc rsi
cmp ecx, r13d
jb 0x18004a217
mov r12d, ecx
mov rcx, r15
call fcn.180086a6c
mov rcx, r14
jmp 0x18004a243
test r15, r15
je 0x18004a248
mov rcx, r15
call fcn.180086a6c
mov edx, r12d
cmp rdx, qword [rbx + 0x10]
ja 0x18004a268
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18004a25e
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov byte [rax + rdx], 0
jmp 0x18004a277
sub rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rbx
call fcn.180018d74
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18007efe0
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.D:programmingcpp_shield_developmentdepslibtomcrypt_srcmachmachmac_done.c
lea rcx, str.out___NULL
call fcn.18006b1d0
int3
mov r8d, 0x1e
lea rdx, str.D:programmingcpp_shield_developmentdepslibtomcrypt_srcmachmachmac_init.c
lea rcx, str.key___NULL
call fcn.18006b1d0
int3
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.D:programmingcpp_shield_developmentdepslibtomcrypt_srcmisczeromem.c
lea rcx, str.out___NULL
call fcn.18006b1d0
int3
mov r8d, 0x17
lea rdx, str.D:programmingcpp_shield_developmentdepslibtomcrypt_srcmachmachmac_process.c
lea rcx, str.in___NULL
call fcn.18006b1d0
int3