Function at 0x685400
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x94
call fcn.005b9d80
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], 0
cmp dword [ebp + 0x14], 0
je 0x685444
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x685444
cmp dword [ebp + 0xc], 0
je 0x68543d
cmp dword [ebp + 0x10], 0
jge 0x685444
xor eax, eax
jmp 0x6856fc
cmp dword [ebp + 0x14], 0
je 0x68545e
mov dword [ebp - 0x8c], 1
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x685477
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x685470
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x685477
xor eax, eax
jmp 0x6856fc
cmp dword [ebp + 0xc], 0
je 0x6855ac
mov dword [ebp - 0x8c], 1
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00642bd0
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x80
jg 0x6854b5
mov dword [ebp - 0x94], 0
jmp 0x6854d3
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.006239f0
add esp, 0xc
mov dword [ebp - 0x94], 1
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp + 0x10]
jge 0x685546
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.0060b380
add esp, 0xc
test eax, eax
jne 0x6854fe
jmp 0x6856fa
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jne 0x68551e
jmp 0x6856fa
mov eax, dword [ebp + 8]
add eax, 0x4c
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x50
push ecx
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.0060b290
add esp, 0xc
test eax, eax
jne 0x685544
jmp 0x6856fa
jmp 0x68557c
cmp dword [ebp + 0x10], 0
jl 0x685555
cmp dword [ebp + 0x10], 0x80
jle 0x68555c
xor eax, eax
jmp 0x6856fc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x50
push edx
call fcn.00734c50
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4c], 0x80
je 0x6855ac
mov eax, dword [ebp + 8]
mov ecx, 0x80
sub ecx, dword [eax + 0x4c]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x50]
push edx
call fcn.007351d0
add esp, 0xc
cmp dword [ebp - 0x8c], 0
je 0x6856d7
mov dword [ebp - 0x88], 0
jmp 0x6855d4
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x80
jge 0x6855ff
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x88]
movzx edx, byte [ecx + 0x50]
xor edx, 0x36
mov eax, dword [ebp - 0x88]
mov byte [ebp + eax - 0x84], dl
jmp 0x6855c5
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call fcn.0060b380
add esp, 0xc
test eax, eax
jne 0x68561f
jmp 0x6856fa
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00642bd0
add esp, 4
push eax
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jne 0x68564b
jmp 0x6856fa
mov dword [ebp - 0x88], 0
jmp 0x685666
mov ecx, dword [ebp - 0x88]
add ecx, 1
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x88], 0x80
jge 0x685691
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x88]
movzx eax, byte [edx + 0x50]
xor eax, 0x5c
mov ecx, dword [ebp - 0x88]
mov byte [ebp + ecx - 0x84], al
jmp 0x685657
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
push ecx
call fcn.0060b380
add esp, 0xc
test eax, eax
jne 0x6856ae
jmp 0x6856fa
mov edx, dword [ebp + 0x14]
push edx
call fcn.00642bd0
add esp, 4
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
push ecx
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jne 0x6856d7
jmp 0x6856fa
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.0060b720
add esp, 8
test eax, eax
jne 0x6856f3
jmp 0x6856fa
mov eax, 1
jmp 0x6856fc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b937d
mov esp, ebp
pop ebp
ret