Function at 0x4e3de0
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov ebx, edx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x104], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], esi
push edi
cmp ebx, 0x40
jbe 0x4e3ee0
lfence
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0x6a09e667
mov edx, ecx
mov dword [ebp - 0xf0], 0xbb67ae85
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xec], 0x3c6ef372
mov dword [ebp - 0xe8], 0xa54ff53a
mov dword [ebp - 0xe4], 0x510e527f
mov dword [ebp - 0xe0], 0x9b05688c
mov dword [ebp - 0xdc], 0x1f83d9ab
mov dword [ebp - 0xd8], 0x5be0cd19
movlpd qword [ebp - 0xd4], xmm0
call fcn.004e60b0
add esp, 4
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xf4]
call fcn.004e6120
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x10c]
mov ebx, 0x20
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x104], ebx
test eax, eax
je 0x4e3efd
cmp byte [edx], 0
je 0x4e3efd
mov ecx, 0x1a
lea edi, [ebp - 0xf4]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4e40a5
xor edx, edx
test ebx, ebx
je 0x4e3fb1
cmp ebx, 0x40
jb 0x4e3f98
lea eax, [ecx - 1]
add eax, ebx
lea edi, [ebp - 0x4c]
lea esi, [ebp + ebx - 0x4d]
cmp edi, eax
ja 0x4e3f24
cmp esi, ecx
jae 0x4e3f98
movaps xmm2, xmmword [str.6666666666666666]
lea esi, [ebp - 0x3c]
mov edi, ebx
lea eax, [ecx + 0x20]
lea ebx, [ebp - 0x4c]
and edi, 0xffffffc0
sub ebx, ecx
sub esi, ecx
mov dword [ebp - 0xf8], esi
mov ecx, esi
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [ebp + edx - 0x4c], xmm0
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm2
movups xmmword [ebp + edx - 0x3c], xmm0
add edx, 0x40
mov esi, edx
movups xmm0, xmmword [eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [ebx + eax - 0x40], xmm1
pxor xmm0, xmm2
movups xmmword [ecx + eax - 0x40], xmm0
cmp edx, edi
jb 0x4e3f45
mov ebx, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xfc]
cmp esi, ebx
jae 0x4e3fce
mov esi, ecx
lea eax, [ebp - 0x4c]
sub esi, eax
nop
lea ecx, [ebp - 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor al, 0x36
mov byte [ecx], al
cmp edx, ebx
jb 0x4e3fa0
cmp ebx, 0x40
jae 0x4e3fce
mov eax, 0x40
sub eax, ebx
push eax
lea eax, [ebp - 0x4c]
add eax, ebx
push 0x36
push eax
call fcn.004f32c0
add esp, 0xc
mov ebx, 0x40
mov dword [ebp - 0xf4], 0x6a09e667
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xf0], 0xbb67ae85
xor edi, edi
mov dword [ebp - 0xec], 0x3c6ef372
mov dword [ebp - 0xe8], 0xa54ff53a
mov dword [ebp - 0xe4], 0x510e527f
mov dword [ebp - 0xe0], 0x9b05688c
mov dword [ebp - 0xdc], 0x1f83d9ab
mov dword [ebp - 0xd8], 0x5be0cd19
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], edi
nop word [eax + eax]
mov eax, 0x40
mov esi, ebx
sub eax, edi
cmp ebx, eax
cmova esi, eax
lea eax, [ebp - 0xcc]
push esi
push ecx
add eax, edi
push eax
call fcn.004f2d40
mov ecx, dword [ebp - 0xf8]
add edi, esi
add ecx, esi
add esp, 0xc
sub ebx, esi
mov dword [ebp - 0xf8], ecx
cmp edi, 0x40
jne 0x4e408b
lea ecx, [ebp - 0xf4]
xor edi, edi
call fcn.004e5e10
mov ecx, dword [ebp - 0xf8]
test ebx, ebx
jne 0x4e4040
mov eax, dword [ebp - 0x108]
mov ebx, dword [ebp - 0x104]
test eax, eax
je 0x4e40bc
mov edx, dword [ebp - 0x10c]
cmp byte [edx], 0
jne 0x4e40bc
mov ecx, 0x1a
lea esi, [ebp - 0xf4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov byte [edx], 1
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0xf4]
call fcn.004e60b0
add esp, 4
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0xf4]
call fcn.004e6120
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4e410d
mov edx, dword [ebp - 0x114]
cmp byte [edx], 0
je 0x4e410d
mov ecx, 0x1a
lea edi, [ebp - 0xf4]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4e42b1
xor edx, edx
test ebx, ebx
je 0x4e41c9
mov esi, dword [ebp - 0xfc]
cmp ebx, 0x40
jb 0x4e41b3
lea eax, [esi - 1]
add eax, ebx
lea edi, [ebp - 0x4c]
lea ecx, [ebp + ebx - 0x4d]
cmp edi, eax
ja 0x4e413a
cmp ecx, esi
jae 0x4e41b3
movaps xmm1, xmmword [0x57eaa0]
lea edi, [ebp - 0x4c]
mov ecx, ebx
lea eax, [esi + 0x20]
sub edi, esi
lea ebx, [ebp - 0x3c]
and ecx, 0xffffffc0
sub ebx, esi
mov dword [ebp - 0x100], ebx
mov ebx, dword [ebp - 0x104]
mov esi, dword [ebp - 0x100]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [ebp + edx - 0x4c], xmm0
movups xmm0, xmmword [eax - 0x50]
pxor xmm0, xmm1
movups xmmword [ebp + edx - 0x3c], xmm0
add edx, 0x40
movups xmm0, xmmword [eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax + edi - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmm1
movups xmmword [eax + esi - 0x40], xmm0
cmp edx, ecx
jb 0x4e4165
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
cmp edx, ebx
jae 0x4e41e6
lea eax, [ebp - 0x4c]
sub esi, eax
lea ecx, [ebp - 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor al, 0x5c
mov byte [ecx], al
cmp edx, ebx
jb 0x4e41b8
cmp ebx, 0x40
jae 0x4e41e6
mov eax, 0x40
sub eax, ebx
push eax
lea eax, [ebp - 0x4c]
add eax, ebx
push 0x5c
push eax
call fcn.004f32c0
add esp, 0xc
mov ebx, 0x40
mov dword [ebp - 0xf4], 0x6a09e667
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xf0], 0xbb67ae85
xor edi, edi
mov dword [ebp - 0xec], 0x3c6ef372
mov dword [ebp - 0xe8], 0xa54ff53a
mov dword [ebp - 0xe4], 0x510e527f
mov dword [ebp - 0xe0], 0x9b05688c
mov dword [ebp - 0xdc], 0x1f83d9ab
mov dword [ebp - 0xd8], 0x5be0cd19
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], edi
mov eax, 0x40
mov esi, ebx
sub eax, edi
cmp ebx, eax
cmova esi, eax
lea eax, [ebp - 0xcc]
push esi
push ecx
add eax, edi
push eax
call fcn.004f2d40
mov ecx, dword [ebp - 0xf8]
add edi, esi
add ecx, esi
add esp, 0xc
sub ebx, esi
mov dword [ebp - 0xf8], ecx
cmp edi, 0x40
jne 0x4e429d
lea ecx, [ebp - 0xf4]
xor edi, edi
call fcn.004e5e10
mov ecx, dword [ebp - 0xf8]
test ebx, ebx
jne 0x4e4252
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4e42c8
mov edx, dword [ebp - 0x114]
cmp byte [edx], 0
jne 0x4e42c8
mov ecx, 0x1a
lea esi, [ebp - 0xf4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov byte [edx], 1
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0x8c]
mov edi, eax
mov dword [ebp - 0xf8], ecx
mov ebx, 0x20
and edi, 0x3f
add eax, ebx
mov dword [ebp - 0xd4], eax
adc dword [ebp - 0xd0], 0
mov eax, 0x40
mov esi, ebx
sub eax, edi
cmp ebx, eax
cmova esi, eax
lea eax, [ebp - 0xcc]
push esi
push ecx
add eax, edi
push eax
call fcn.004f2d40
mov ecx, dword [ebp - 0xf8]
add edi, esi
add ecx, esi
add esp, 0xc
sub ebx, esi
mov dword [ebp - 0xf8], ecx
cmp edi, 0x40
jne 0x4e433e
lea ecx, [ebp - 0xf4]
xor edi, edi
call fcn.004e5e10
mov ecx, dword [ebp - 0xf8]
test ebx, ebx
jne 0x4e42f3
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0xf4]
call fcn.004e6120
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ef615
mov esp, ebp
pop ebp
ret