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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x10014d84
mov eax, dword [edi]
test eax, eax
je 0x10014d84
cmp dword [edi + 8], 0
je 0x10014d84
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [eax + 0xc]
jbe 0x10014bb6
push dword [edi + 4]
mov eax, dword [eax + 0x10]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10014d5f
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
push esi
push ecx
push dword [edi + 4]
mov eax, dword [eax + 0x14]
call eax
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10014d5f
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push dword [edi + 4]
mov eax, dword [eax + 0x18]
call eax
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10014d5f
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov esi, dword [eax + 8]
mov ebx, dword [edi + 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0x36
push ebx
lea eax, [ecx + ebx]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x50], eax
call fcn.10046690
mov eax, dword [edi]
push dword [eax + 0xc]
push 0x5c
push dword [ebp - 0x50]
call fcn.10046690
add esp, 0x18
xor eax, eax
test esi, esi
je 0x10014d37
cmp esi, 8
jb 0x10014d0b
mov ecx, dword [ebp - 0x50]
lea edx, [ecx - 1]
add edx, esi
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x48]
lea ebx, [edx - 1]
add ebx, esi
cmp ecx, ebx
mov ebx, dword [ebp - 0x54]
ja 0x10014c19
cmp dword [ebp - 0x58], edx
jae 0x10014d0e
lea edi, [ebx - 1]
add edi, esi
cmp ecx, edi
mov edi, dword [ebp - 0x5c]
ja 0x10014c2e
cmp dword [ebp - 0x58], ebx
jae 0x10014d0e
lea ecx, [edx - 1]
add ecx, esi
cmp ebx, ecx
ja 0x10014c44
lea ecx, [ebx - 1]
add ecx, esi
cmp ecx, edx
jae 0x10014d0e
cmp esi, 0x10
jb 0x10014ca6
mov edi, esi
mov ecx, esi
and edi, 0xf
sub ecx, edi
mov dword [ebp - 0x4c], edi
mov edi, edx
mov dword [ebp - 0x64], ecx
sub edi, ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
nop word [eax + eax]
movups xmm2, xmmword [edx + ecx]
add eax, 0x10
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [ecx - 0x10]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
movups xmm0, xmmword [ebx + ecx - 0x10]
xorps xmm2, xmm0
movups xmmword [ebx + ecx - 0x10], xmm2
cmp eax, dword [ebp - 0x64]
jb 0x10014c70
cmp dword [ebp - 0x4c], 8
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
jb 0x10014d05
mov edi, dword [ebp - 0x5c]
sub edx, ebx
mov dword [ebp - 0x4c], edx
mov ecx, esi
mov edx, dword [ebp - 0x50]
and ecx, 0xfffffff8
sub edx, ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
lea ecx, [eax + ebx]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x64]
nop word [eax + eax]
movq xmm2, qword [edx + ecx]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
movaps xmm1, xmm2
xorps xmm1, xmm0
add eax, 8
movq qword [ecx - 8], xmm1
movq xmm0, qword [ecx + ebx - 8]
xorps xmm2, xmm0
movq qword [ecx + ebx - 8], xmm2
cmp eax, dword [ebp - 0x60]
jb 0x10014cd0
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
cmp eax, esi
jae 0x10014d37
jmp 0x10014d0e
mov edx, dword [ebp - 0x48]
sub ebx, edx
lea ecx, [edx + eax]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x50]
sub ebx, edx
mov edx, dword [ebp - 0x4c]
sub esi, eax
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor byte [ecx + edx - 1], al
movzx eax, byte [ecx - 1]
xor byte [ebx + ecx - 1], al
sub esi, 1
jne 0x10014d20
mov eax, dword [edi]
push dword [edi + 4]
mov eax, dword [eax + 0x10]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10014d5f
mov eax, dword [edi]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push dword [ebp - 0x54]
push dword [edi + 4]
call eax
add esp, 0xc
mov ebx, eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov eax, dword [fcn.10046690]
call eax
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffaf00
xor ecx, ebp
pop edi
call fcn.10045387
mov esp, ebp
pop ebp
ret