Function at 0x4e1dd0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
xor esi, esi
lea eax, [ebx + 0x29]
nop word [eax + eax]
movzx edx, byte [eax - 1]
lea eax, [eax + 4]
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 2]
shl edx, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x154], edx
inc esi
cmp esi, 0x10
jb 0x4e1df0
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x14c]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0xc], edx
mov edx, 0x40
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x2c]
lea ecx, [ecx + 4]
xor eax, dword [ecx + 0x14]
xor eax, dword [ecx - 0xc]
xor eax, dword [ecx - 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x4e1e42
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, edx
rol edx, 0x1e
xor eax, edi
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x154]
mov eax, esi
add ebx, ecx
xor eax, edx
and eax, dword [ebp - 4]
mov ecx, ebx
rol dword [ebp - 4], 0x1e
xor eax, esi
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x150]
mov eax, edx
xor eax, dword [ebp - 4]
add edi, ecx
and eax, ebx
mov ecx, edi
xor eax, edx
rol ecx, 5
add ecx, eax
rol ebx, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x14c]
mov eax, ebx
xor eax, dword [ebp - 4]
add esi, ecx
and eax, edi
mov ecx, esi
xor eax, dword [ebp - 4]
rol ecx, 5
add ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x148]
mov eax, ebx
add edx, ecx
xor eax, edi
and eax, esi
mov ecx, edx
xor eax, ebx
rol ecx, 5
add ecx, eax
rol esi, 0x1e
mov eax, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 4]
add eax, 0x5a827999
add eax, ecx
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x14
jb 0x4e1e64
mov dword [ebp - 0xc], edx
cmp ecx, 0x28
jae 0x4e2008
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
xor eax, edx
rol edx, 0x1e
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x154]
mov eax, esi
add ebx, ecx
xor eax, edx
xor eax, dword [ebp - 4]
mov ecx, ebx
rol dword [ebp - 4], 0x1e
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x150]
mov eax, ebx
add edi, ecx
rol ebx, 0x1e
xor eax, edx
mov ecx, edi
xor eax, dword [ebp - 4]
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x14c]
mov eax, ebx
add esi, ecx
xor eax, edi
xor eax, dword [ebp - 4]
mov ecx, esi
rol ecx, 5
add ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x148]
mov eax, ebx
add edx, ecx
xor eax, edi
xor eax, esi
mov ecx, edx
rol ecx, 5
add ecx, eax
rol esi, 0x1e
mov eax, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 4]
add eax, 0x6ed9eba1
add eax, ecx
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x28
jb 0x4e1f40
mov dword [ebp - 0xc], edx
cmp ecx, 0x3c
jae 0x4e2107
mov edx, eax
mov ecx, esi
or ecx, dword [ebp - 0xc]
mov eax, esi
and eax, dword [ebp - 0xc]
and ecx, edi
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x154]
mov eax, dword [ebp - 0xc]
add ecx, ebx
rol eax, 0x1e
lea ebx, [edx - 0x70e44324]
add ebx, ecx
mov dword [ebp - 0xc], eax
mov ecx, eax
mov edx, ebx
or ecx, dword [ebp - 4]
and eax, dword [ebp - 4]
and ecx, esi
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 8]
add edx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x150]
mov eax, dword [ebp - 4]
add edi, ecx
rol eax, 0x1e
mov ecx, ebx
or ecx, eax
mov dword [ebp - 4], eax
and ecx, dword [ebp - 0xc]
mov eax, ebx
and eax, dword [ebp - 4]
add edi, edx
or ecx, eax
rol ebx, 0x1e
mov eax, dword [ebp - 8]
mov edx, edi
rol edx, 5
add edx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x14c]
mov eax, ebx
add esi, ecx
and eax, edi
mov ecx, ebx
add esi, edx
or ecx, edi
mov edx, esi
and ecx, dword [ebp - 4]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 8]
rol edi, 0x1e
add ecx, dword [ebp + eax*4 - 0x148]
add ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x70e44324]
mov ecx, edi
add eax, edx
or ecx, esi
mov edx, eax
mov dword [ebp - 0xc], eax
and ecx, ebx
rol edx, 5
mov eax, edi
and eax, esi
rol esi, 0x1e
or ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x144]
add ecx, dword [ebp - 4]
lea eax, [ecx - 0x70e44324]
mov ecx, dword [ebp - 8]
add ecx, 5
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x3c
jb 0x4e2011
mov edx, dword [ebp - 0xc]
cmp ecx, 0x50
jae 0x4e21ef
mov ecx, dword [ebp - 8]
rol eax, 5
mov dword [ebp - 0xc], eax
mov eax, edi
xor eax, esi
xor eax, edx
rol edx, 0x1e
add eax, dword [ebp + ecx*4 - 0x154]
add eax, ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0xca62c1d6
add ebx, eax
mov eax, esi
xor eax, edx
mov ecx, ebx
xor eax, dword [ebp - 4]
rol ecx, 5
rol dword [ebp - 4], 0x1e
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp + ecx*4 - 0x150]
add eax, edi
mov edi, dword [ebp - 0xc]
add edi, 0xca62c1d6
add edi, eax
mov eax, ebx
xor eax, edx
rol ebx, 0x1e
xor eax, dword [ebp - 4]
mov ecx, edi
rol ecx, 5
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp + ecx*4 - 0x14c]
add eax, esi
mov esi, dword [ebp - 0xc]
add esi, 0xca62c1d6
add esi, eax
mov eax, ebx
xor eax, edi
mov ecx, esi
xor eax, dword [ebp - 4]
rol ecx, 5
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
rol edi, 0x1e
add eax, dword [ebp + ecx*4 - 0x148]
add eax, edx
mov edx, dword [ebp - 0xc]
add edx, 0xca62c1d6
add edx, eax
mov eax, ebx
mov ecx, edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
xor eax, edi
xor eax, esi
rol ecx, 5
add ecx, 0xca62c1d6
rol esi, 0x1e
add eax, dword [ebp + edx*4 - 0x144]
add eax, dword [ebp - 4]
add eax, ecx
mov ecx, edx
mov edx, dword [ebp - 0xc]
add ecx, 5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x50
jb 0x4e2110
mov ecx, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
add dword [ecx + 0x1c], edi
add dword [ecx + 0x18], esi
add dword [ecx + 0x14], edx
add dword [ecx + 0x20], ebx
pop edi
pop esi
mov dword [ecx + 0x10], eax
pop ebx
mov esp, ebp
pop ebp
ret