Function at 0x76b110
Capabilities:
Authenticate hmac
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 0x40
mov dword [ebp + 0xc], eax
jbe 0x76b225
lea ebx, [esi + 0x20]
push edi
push eax
push esi
mov dword [esi + 0x24], 0
mov dword [ebx], 0
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
call fcn.007688f0
add esp, 0xc
lea edi, [ebp - 8]
mov dword [ebp + 0xc], 2
mov eax, dword [ebx]
push eax
push edi
call fcn.0076b340
mov eax, dword [ebp + 0xc]
add esp, 8
add ebx, 4
add edi, 4
dec eax
mov dword [ebp + 0xc], eax
jne 0x76b18a
mov ecx, dword [esi + 0x24]
mov eax, 0x38
shr ecx, 3
and ecx, 0x3f
cmp ecx, 0x38
jb 0x76b1bd
mov eax, 0x78
sub eax, ecx
push eax
push 0x76da80
push esi
call fcn.007688f0
lea ecx, [ebp - 8]
push 8
push ecx
push esi
call fcn.007688f0
mov edi, esi
lea edx, [ebp - 0x26]
add esp, 0x18
sub edi, edx
lea ecx, [ebp - 0x26]
mov edx, 8
mov eax, dword [edi + ecx]
mov ebx, eax
mov byte [ecx + 1], al
shr ebx, 8
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0x10
shr eax, 0x18
mov byte [ecx - 1], bl
mov byte [ecx - 2], al
add ecx, 4
dec edx
jne 0x76b1e9
xor ebx, ebx
push 0x68
push ebx
push esi
call fcn.007637b0
lea eax, [ebp - 0x28]
add esp, 0xc
mov dword [ebp + 0xc], eax
mov edi, 0x20
jmp 0x76b227
xor ebx, ebx
push 0x40
lea ecx, [ebp - 0x68]
push 0x36
push ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
call fcn.007637b0
add esp, 0xc
xor eax, eax
cmp edi, ebx
jbe 0x76b298
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
sub edx, ecx
mov dword [ebp + 0x10], edx
jmp 0x76b28a
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + eax - 0x68]
mov dl, byte [edx + ecx]
xor byte [ecx], dl
inc eax
cmp eax, edi
jb 0x76b287
lea eax, [ebp - 0x68]
push 0x40
push eax
push esi
call fcn.007688f0
add esi, 0x68
push 0x40
lea ecx, [ebp - 0x68]
push 0x5c
push ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
call fcn.007637b0
add esp, 0x18
xor eax, eax
cmp edi, ebx
jbe 0x76b318
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
sub edx, ecx
mov dword [ebp + 0x10], edx
jmp 0x76b30a
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + eax - 0x68]
mov dl, byte [edx + ecx]
xor byte [ecx], dl
inc eax
cmp eax, edi
jb 0x76b307
lea eax, [ebp - 0x68]
push 0x40
push eax
push esi
call fcn.007688f0
push 0x20
lea ecx, [ebp - 0x28]
push ebx
push ecx
call fcn.007637b0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret