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

Disassembly:
mov eax, 0x134
call fcn.0059eec0
mov eax, dword [0x647f80]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x13c]
push ebp
push esi
mov esi, dword [esp + 0x14c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x154]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebp
test edi, edi
je 0x4c468b
cmp edi, eax
je 0x4c4687
test ecx, ecx
je 0x4c490b
test esi, esi
js 0x4c490b
mov dword [ebx], edi
jmp 0x4c4695
test eax, eax
je 0x4c490b
mov edi, eax
push edi
call fcn.0049cb40
add esp, 4
test al, 2
jne 0x4c490b
cmp dword [esp + 0x10], ebp
je 0x4c48c8
push edi
mov dword [esp + 0x20], 1
call fcn.0049ca90
add esp, 4
cmp eax, 0x90
jg 0x4c490b
test eax, eax
js 0x4c490b
cmp eax, esi
jge 0x4c472b
push dword [esp + 0x14]
push edi
push dword [ebx + 4]
call fcn.0049fb80
add esp, 0xc
test eax, eax
je 0x4c490b
push esi
push dword [esp + 0x14]
push dword [ebx + 4]
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x4c490b
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push dword [ebx + 4]
call fcn.0049fa60
add esp, 0xc
test eax, eax
je 0x4c490b
mov esi, dword [esp + 0x18]
jmp 0x4c474d
cmp esi, 0x90
ja 0x4c490b
push esi
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.0059fdf0
add esp, 0xc
mov dword [esp + 0x18], esi
cmp esi, 0x90
je 0x4c476e
mov eax, 0x90
sub eax, esi
push eax
lea eax, [esp + 0x24]
add eax, esi
push 0
push eax
call fcn.005a0390
add esp, 0xc
movaps xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjSRTP_AES128_CM_SHA1_80]
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + ecx + 0x20]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xb0], xmm0
movups xmm0, xmmword [esp + ecx + 0x30]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xc0], xmm0
movups xmm0, xmmword [esp + ecx + 0x40]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xd0], xmm0
movups xmm0, xmmword [esp + ecx + 0x50]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xe0], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x4c4780
cmp ecx, 0x90
jge 0x4c47e9
mov al, byte [esp + ecx + 0x20]
xor al, 0x36
mov byte [esp + ecx + 0xb0], al
inc ecx
cmp ecx, 0x90
jl 0x4c47d3
mov esi, dword [esp + 0x14]
push esi
push edi
push dword [ebx + 8]
call fcn.0049fb80
add esp, 0xc
test eax, eax
je 0x4c48e3
push edi
call fcn.0049ca90
push eax
lea eax, [esp + 0xb8]
push eax
push dword [ebx + 8]
call fcn.0049ffe0
add esp, 0x10
test eax, eax
je 0x4c48e3
movaps xmm1, xmmword [str.EC_GROUP_new_ex]
xor ecx, ecx
nop dword [eax]
movups xmm0, xmmword [esp + ecx + 0x20]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xb0], xmm0
movups xmm0, xmmword [esp + ecx + 0x30]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xc0], xmm0
movups xmm0, xmmword [esp + ecx + 0x40]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xd0], xmm0
movups xmm0, xmmword [esp + ecx + 0x50]
xorps xmm0, xmm1
movups xmmword [esp + ecx + 0xe0], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x4c4830
cmp ecx, 0x90
jge 0x4c4899
mov al, byte [esp + ecx + 0x20]
xor al, 0x5c
mov byte [esp + ecx + 0xb0], al
inc ecx
cmp ecx, 0x90
jl 0x4c4883
push esi
push edi
push dword [ebx + 0xc]
call fcn.0049fb80
add esp, 0xc
test eax, eax
je 0x4c48e3
push edi
call fcn.0049ca90
push eax
lea eax, [esp + 0xb8]
push eax
push dword [ebx + 0xc]
call fcn.0049ffe0
add esp, 0x10
test eax, eax
je 0x4c48e3
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004a00f0
add esp, 8
neg eax
sbb ebp, ebp
neg ebp
cmp dword [esp + 0x1c], 0
je 0x4c4907
lea eax, [esp + 0x20]
push 0x90
push eax
call fcn.00401320
lea eax, [esp + 0xb8]
push 0x90
push eax
call fcn.00401320
add esp, 0x10
mov eax, ebp
jmp 0x4c490d
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e4d3
add esp, 0x134
ret