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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x134
call fcn.00702be0
mov eax, dword [0x8fc044]
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 0x660e8b
cmp edi, dword [ebx]
je 0x660e87
test eax, eax
je 0x661116
test esi, esi
js 0x661116
mov dword [ebx], edi
jmp 0x660e95
mov edi, dword [ebx]
test edi, edi
je 0x661116
push edi
call fcn.005c4800
add esp, 4
test al, 2
jne 0x661116
cmp dword [ebp - 0x128], 0
je 0x6610b7
push edi
mov dword [ebp - 0x134], 1
call fcn.0062f9e0
add esp, 4
cmp eax, 0x90
jg 0x661116
cmp eax, esi
jge 0x660f32
push dword [ebp - 0x130]
push edi
push dword [ebx + 4]
call fcn.00638bd0
add esp, 0xc
test eax, eax
je 0x661116
push esi
push dword [ebp - 0x128]
push dword [ebx + 4]
call fcn.00638d60
add esp, 0xc
test eax, eax
je 0x661116
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call fcn.00638b30
add esp, 0xc
test eax, eax
je 0x661116
mov esi, dword [ebp - 0x12c]
jmp 0x660f5a
cmp esi, 0x90
ja 0x661116
push esi
push dword [ebp - 0x128]
lea eax, [ebp - 0x94]
push eax
call fcn.00704c30
add esp, 0xc
mov dword [ebp - 0x12c], esi
cmp esi, 0x90
je 0x660f7d
mov eax, 0x90
sub eax, esi
push eax
lea eax, [ebp - 0x94]
add eax, esi
push 0
push eax
call fcn.007051b0
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 0x660f90
cmp ecx, 0x90
jge 0x660fe9
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 0x660fd0
mov esi, dword [ebp - 0x130]
push esi
push edi
push dword [ebx + 8]
call fcn.00638bd0
add esp, 0xc
test eax, eax
je 0x6610dc
push edi
call fcn.0062f9e0
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 8]
call fcn.00638d60
add esp, 0x10
test eax, eax
je 0x6610dc
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 0x661030
cmp ecx, 0x90
jge 0x661089
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 0x661070
push esi
push edi
push dword [ebx + 0xc]
call fcn.00638bd0
add esp, 0xc
test eax, eax
je 0x6610dc
push edi
call fcn.0062f9e0
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 0xc]
call fcn.00638d60
add esp, 0x10
test eax, eax
je 0x6610dc
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00638da0
xor ebx, ebx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebx, ecx
cmp dword [ebp - 0x134], 0
je 0x661103
jmp 0x6610de
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.00703eaa
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.00703eaa
mov esp, ebp
pop ebp
ret