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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x134
call fcn.006bfd90
mov eax, dword [0x7f5314]
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 0x605dab
cmp edi, dword [ebx]
je 0x605da7
test eax, eax
je 0x606036
test esi, esi
js 0x606036
mov dword [ebx], edi
jmp 0x605db5
mov edi, dword [ebx]
test edi, edi
je 0x606036
push edi
call fcn.005a0d50
add esp, 4
test al, 2
jne 0x606036
cmp dword [ebp - 0x128], 0
je 0x605fd7
push edi
mov dword [ebp - 0x134], 1
call fcn.005d4c10
add esp, 4
cmp eax, 0x90
jg 0x606036
cmp eax, esi
jge 0x605e52
push dword [ebp - 0x130]
push edi
push dword [ebx + 4]
call fcn.005dc3b0
add esp, 0xc
test eax, eax
je 0x606036
push esi
push dword [ebp - 0x128]
push dword [ebx + 4]
call fcn.005dc540
add esp, 0xc
test eax, eax
je 0x606036
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 4]
call fcn.005dc310
add esp, 0xc
test eax, eax
je 0x606036
mov esi, dword [ebp - 0x12c]
jmp 0x605e7a
cmp esi, 0x90
ja 0x606036
push esi
push dword [ebp - 0x128]
lea eax, [ebp - 0x94]
push eax
call fcn.006c1de0
add esp, 0xc
mov dword [ebp - 0x12c], esi
cmp esi, 0x90
je 0x605e9d
mov eax, 0x90
sub eax, esi
push eax
lea eax, [ebp - 0x94]
add eax, esi
push 0
push eax
call fcn.006c2360
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 0x605eb0
cmp ecx, 0x90
jge 0x605f09
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 0x605ef0
mov esi, dword [ebp - 0x130]
push esi
push edi
push dword [ebx + 8]
call fcn.005dc3b0
add esp, 0xc
test eax, eax
je 0x605ffc
push edi
call fcn.005d4c10
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 8]
call fcn.005dc540
add esp, 0x10
test eax, eax
je 0x605ffc
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 0x605f50
cmp ecx, 0x90
jge 0x605fa9
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 0x605f90
push esi
push edi
push dword [ebx + 0xc]
call fcn.005dc3b0
add esp, 0xc
test eax, eax
je 0x605ffc
push edi
call fcn.005d4c10
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebx + 0xc]
call fcn.005dc540
add esp, 0x10
test eax, eax
je 0x605ffc
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.005dc580
xor ebx, ebx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebx, ecx
cmp dword [ebp - 0x134], 0
je 0x606023
jmp 0x605ffe
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.006c0fe0
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.006c0fe0
mov esp, ebp
pop ebp
ret