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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x134
call fcn.006f2580
mov eax, dword [0x8e6704]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], 0
test edi, edi
je 0x65089b
cmp edi, dword [ebx]
je 0x650897
test eax, eax
je 0x650b26
test esi, esi
js 0x650b26
mov dword [ebx], edi
jmp 0x6508a5
mov edi, dword [ebx]
test edi, edi
je 0x650b26
push edi
call fcn.005b41d0
add esp, 4
test al, 2
jne 0x650b26
cmp dword [ebp - 0x128], 0
je 0x650ac7
push edi
mov dword [ebp - 0x134], 1
call fcn.0061f3e0
add esp, 4
cmp eax, 0x90
jg 0x650b26
cmp eax, esi
jge 0x650942
push dword [ebp - 0x130]
push edi
push dword [ebx + 4]
call fcn.006285c0
add esp, 0xc
test eax, eax
je 0x650b26
push esi
push dword [ebp - 0x128]
push dword [ebx + 4]
call fcn.00628750
add esp, 0xc
test eax, eax
je 0x650b26
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call fcn.00628520
add esp, 0xc
test eax, eax
je 0x650b26
mov esi, dword [ebp - 0x12c]
jmp 0x65096a
cmp esi, 0x90
ja 0x650b26
push esi
push dword [ebp - 0x128]
lea eax, [ebp - 0x94]
push eax
call fcn.006f45d0
add esp, 0xc
mov dword [ebp - 0x12c], esi
cmp esi, 0x90
je 0x65098d
mov eax, 0x90
sub eax, esi
push eax
lea eax, [ebp - 0x94]
add eax, esi
push 0
push eax
call fcn.006f4b50
add esp, 0xc
movaps xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjSRTP_AES128_CM_SHA1_80]
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x94]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x124], xmm0
movups xmm0, xmmword [ebp + ecx - 0x84]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x114], xmm0
add ecx, 0x20
cmp ecx, 0x80
jl 0x6509a0
cmp ecx, 0x90
jge 0x6509f9
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x94]
xor al, 0x36
mov byte [ebp + ecx - 0x124], al
inc ecx
cmp ecx, 0x90
jl 0x6509e0
mov esi, dword [ebp - 0x130]
push esi
push edi
push dword [ebx + 8]
call fcn.006285c0
add esp, 0xc
test eax, eax
je 0x650aec
push edi
call fcn.0061f3e0
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 8]
call fcn.00628750
add esp, 0x10
test eax, eax
je 0x650aec
movaps xmm1, xmmword [str.cryptoevpp_lib.c]
xor ecx, ecx
nop
movups xmm0, xmmword [ebp + ecx - 0x94]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x124], xmm0
movups xmm0, xmmword [ebp + ecx - 0x84]
pxor xmm0, xmm1
movups xmmword [ebp + ecx - 0x114], xmm0
add ecx, 0x20
cmp ecx, 0x80
jl 0x650a40
cmp ecx, 0x90
jge 0x650a99
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x94]
xor al, 0x5c
mov byte [ebp + ecx - 0x124], al
inc ecx
cmp ecx, 0x90
jl 0x650a80
push esi
push edi
push dword [ebx + 0xc]
call fcn.006285c0
add esp, 0xc
test eax, eax
je 0x650aec
push edi
call fcn.0061f3e0
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 0xc]
call fcn.00628750
add esp, 0x10
test eax, eax
je 0x650aec
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00628790
xor ebx, ebx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebx, ecx
cmp dword [ebp - 0x134], 0
je 0x650b13
jmp 0x650aee
xor ebx, ebx
lea eax, [ebp - 0x94]
push 0x90
push eax
call fcn.004029a0
lea eax, [ebp - 0x124]
push 0x90
push eax
call fcn.004029a0
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f384a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f384a
mov esp, ebp
pop ebp
ret