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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, edx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 0x20
push edi
push esi
cmp esi, 0x40
jbe 0x100a95e7
mov edx, ecx
mov dword [ebp - 0x13c], 0x6a09e667
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0xbb67ae85
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x134], 0x3c6ef372
mov dword [ebp - 0x130], 0xa54ff53a
mov dword [ebp - 0x12c], 0x510e527f
mov dword [ebp - 0x128], 0x9b05688c
mov dword [ebp - 0x124], 0x1f83d9ab
mov dword [ebp - 0x120], 0x5be0cd19
movlpd qword [ebp - 0xdc], xmm0
mov dword [ebp - 0xd4], 0
call fcn.100a9220
add esp, 4
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x13c]
call fcn.100a93e0
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
movups xmmword [ebp - 0x9c], xmm0
jmp 0x100a9612
push ecx
lea eax, [ebp - 0xcc]
push eax
call fcn.101d3050
add esp, 0xc
mov eax, 0x40
sub eax, esi
push eax
lea eax, [ebp - 0xcc]
add eax, esi
push 0
push eax
call fcn.101d2900
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0x6a09e667
mov dword [ebp - 0x218], 0xbb67ae85
xor edx, edx
mov dword [ebp - 0x214], 0x3c6ef372
mov dword [ebp - 0x210], 0xa54ff53a
mov dword [ebp - 0x20c], 0x510e527f
mov dword [ebp - 0x208], 0x9b05688c
mov dword [ebp - 0x204], 0x1f83d9ab
mov dword [ebp - 0x200], 0x5be0cd19
movlpd qword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1ac], 0x6a09e667
mov dword [ebp - 0x1a8], 0xbb67ae85
mov dword [ebp - 0x1a4], 0x3c6ef372
mov dword [ebp - 0x1a0], 0xa54ff53a
mov dword [ebp - 0x19c], 0x510e527f
mov dword [ebp - 0x198], 0x9b05688c
mov dword [ebp - 0x194], 0x1f83d9ab
mov dword [ebp - 0x190], 0x5be0cd19
movlpd qword [ebp - 0x14c], xmm0
mov dword [ebp - 0x144], 0
nop dword [eax + eax]
mov cl, byte [ebp + edx - 0xcc]
mov al, cl
xor cl, 0x5c
xor al, 0x36
mov byte [ebp + edx - 0x8c], cl
mov byte [ebp + edx - 0x4c], al
mov byte [ebp + edx - 0xcc], 0
inc edx
cmp edx, 0x40
jb 0x100a96e0
push 0x40
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x21c]
call fcn.100a9220
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x1ac]
push 0x40
call fcn.100a9220
xorps xmm0, xmm0
mov edx, 1
movups xmmword [ebp - 0x2c], xmm0
add esp, 4
mov byte [ebp - 0x2c], 0x80
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x10], 0x30000
mov ecx, 0x20
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x6c], 0x80
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x50], 0x30000
mov dword [ebp - 0x234], edx
nop dword [eax]
mov eax, 0x20
mov byte [ebp - 0x21d], dl
cmp ecx, eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x13c]
cmovb eax, ecx
mov ecx, 0x1c
mov dword [ebp - 0x228], eax
mov eax, edx
shr eax, 8
mov byte [ebp - 0x21e], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x21f], al
mov eax, edx
mov edx, dword [ebp - 0x238]
rep movsd dword es:[edi], dword [esi]
shr eax, 0x18
lea ecx, [ebp - 0x13c]
push 0x10
mov byte [ebp - 0x220], al
call fcn.100a9220
add esp, 4
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x13c]
push 4
call fcn.100a9220
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x13c]
call fcn.100a93e0
movups xmm0, xmmword [ebp - 0x1ac]
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x264]
movups xmmword [ebp - 0x264], xmm0
movups xmm0, xmmword [ebp - 0x19c]
movups xmmword [ebp - 0x254], xmm0
call fcn.100a6c20
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x264]
call fcn.100a9300
mov edi, dword [ebp - 0x228]
mov eax, edx
push edi
push eax
push ebx
call fcn.101d3050
movups xmm0, xmmword [ebp - 0x19c]
mov esi, 0x3038
add esp, 0xc
movups xmm2, xmmword [ebp - 0x1ac]
mov dword [ebp - 0x224], esi
movups xmm1, xmmword [ebp - 0x20c]
movups xmm3, xmmword [ebp - 0x21c]
nop dword [eax]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x284]
movups xmmword [ebp - 0x284], xmm3
movups xmmword [ebp - 0x274], xmm1
movups xmmword [ebp - 0x264], xmm2
movups xmmword [ebp - 0x254], xmm0
call fcn.100a6c20
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x284]
call fcn.100a9300
lea ecx, [ebp - 0x264]
call fcn.100a6c20
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x264]
call fcn.100a9300
xor ecx, ecx
test edi, edi
jle 0x100a99d4
cmp edi, 0x40
jb 0x100a99a9
lea edx, [ebx - 1]
lea eax, [ebp + edi - 0x4d]
add edx, edi
cmp ebx, eax
ja 0x100a98ef
lea eax, [ebp - 0x4c]
cmp edx, eax
jae 0x100a99a9
mov eax, edi
and eax, 0x8000003f
jns 0x100a98fd
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x3c]
sub edx, eax
sub edi, ebx
sub esi, ebx
mov dword [ebp - 0x23c], edi
mov eax, ebx
lea edi, [ebp - 0x2c]
sub edi, ebx
mov dword [ebp - 0x240], edi
lea edi, [ebp - 0x1c]
sub edi, ebx
mov ebx, dword [ebp - 0x23c]
mov dword [ebp - 0x244], edi
nop
movups xmm0, xmmword [eax]
mov edi, dword [ebp - 0x240]
add ecx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [eax + edi - 0x40]
mov edi, dword [ebp - 0x244]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [eax + edi - 0x40]
mov edi, dword [ebp - 0x228]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x100a9930
movups xmm0, xmmword [ebp - 0x19c]
mov ebx, dword [ebp - 0x230]
movups xmm1, xmmword [ebp - 0x20c]
mov esi, dword [ebp - 0x224]
cmp ecx, edi
jge 0x100a99d4
lea esi, [ebp - 0x4c]
mov edx, edi
sub esi, ebx
lea eax, [ebx + ecx]
sub edx, ecx
nop dword [eax]
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100a99c0
mov esi, dword [ebp - 0x224]
sub esi, 1
mov dword [ebp - 0x224], esi
jne 0x100a9870
mov ecx, dword [ebp - 0x22c]
add ebx, edi
mov edx, dword [ebp - 0x234]
sub ecx, edi
inc edx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], edx
test ecx, ecx
jne 0x100a9770
xor eax, eax
mov byte [ebp + eax - 0x4c], 0
mov byte [ebp + eax - 0x8c], 0
inc eax
cmp eax, 0x40
jb 0x100a9a10
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f99ca
mov esp, ebp
pop ebp
ret