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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
test ebx, ebx
je 0x4e3509
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4e3509
push esi
nop word [eax + eax]
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x4e34b0
cmp ecx, 0x40
jb 0x4e34b0
movups xmm0, xmmword [ebx]
xor esi, esi
lea eax, [edi + 0x29]
movups xmmword [edi + 0x28], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [edi + 0x38], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [edi + 0x48], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [edi + 0x58], xmm0
nop dword [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 0x4e3060
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x14c]
mov edx, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], edx
mov edx, 0x40
mov dword [ebp - 0xc], 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 0x4e30b2
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov eax, ebx
xor eax, esi
rol ecx, 5
and eax, edi
rol edi, 0x1e
xor eax, ebx
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x154]
mov eax, esi
add edx, ecx
xor eax, edi
and eax, dword [ebp - 4]
mov ecx, edx
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, edi
xor eax, dword [ebp - 4]
add ebx, ecx
and eax, edx
mov ecx, ebx
xor eax, edi
rol ecx, 5
add ecx, eax
rol edx, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x14c]
mov eax, edx
xor eax, dword [ebp - 4]
add esi, ecx
and eax, ebx
mov ecx, esi
xor eax, dword [ebp - 4]
rol ecx, 5
add ecx, eax
rol ebx, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x148]
mov eax, edx
add edi, ecx
xor eax, ebx
and eax, esi
mov ecx, edi
xor eax, 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, 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 0x4e30d7
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp ecx, 0x28
jae 0x4e328e
mov edi, dword [ebp - 0xc]
nop dword [eax]
mov ecx, eax
mov eax, ebx
xor eax, esi
rol ecx, 5
xor eax, edi
rol edi, 0x1e
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x154]
mov eax, esi
add edx, ecx
xor eax, edi
xor eax, dword [ebp - 4]
mov ecx, edx
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, edx
add ebx, ecx
rol edx, 0x1e
xor eax, edi
mov ecx, ebx
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, edx
add esi, ecx
xor eax, ebx
xor eax, dword [ebp - 4]
mov ecx, esi
rol ecx, 5
add ecx, eax
rol ebx, 0x1e
mov eax, dword [ebp - 8]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x148]
mov eax, edx
add edi, ecx
xor eax, ebx
xor eax, esi
mov ecx, edi
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 0x4e31c0
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp ecx, 0x3c
jae 0x4e339c
mov edi, dword [ebp - 0x10]
nop word [eax + eax]
mov edx, eax
mov ecx, esi
or ecx, dword [ebp - 0xc]
mov eax, esi
and eax, dword [ebp - 0xc]
and ecx, ebx
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, edi
rol eax, 0x1e
lea edi, [edx - 0x70e44324]
add edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, eax
mov edx, edi
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 ebx, ecx
rol eax, 0x1e
mov ecx, edi
or ecx, eax
mov dword [ebp - 4], eax
and ecx, dword [ebp - 0xc]
mov eax, edi
and eax, dword [ebp - 4]
add ebx, edx
or ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 8]
mov edx, ebx
rol edx, 5
add edx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x14c]
mov eax, edi
add esi, ecx
and eax, ebx
mov ecx, edi
add esi, edx
or ecx, ebx
mov edx, esi
and ecx, dword [ebp - 4]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 8]
rol ebx, 0x1e
add ecx, dword [ebp + eax*4 - 0x148]
add ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x70e44324]
mov ecx, ebx
add eax, edx
or ecx, esi
mov edx, eax
mov dword [ebp - 0xc], eax
and ecx, edi
rol edx, 5
mov eax, ebx
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 0x4e32a0
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp ecx, 0x50
jae 0x4e347f
mov edi, dword [ebp - 0xc]
nop dword [eax + eax]
mov ecx, dword [ebp - 8]
rol eax, 5
mov dword [ebp - 0x10], eax
mov eax, ebx
xor eax, esi
xor eax, edi
rol edi, 0x1e
add eax, dword [ebp + ecx*4 - 0x154]
add eax, edx
mov dword [ebp - 0xc], edi
mov edx, dword [ebp - 0x10]
add edx, 0xca62c1d6
add edx, eax
mov eax, esi
xor eax, edi
mov ecx, edx
xor eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
rol dword [ebp - 4], 0x1e
rol ecx, 5
add eax, dword [ebp + edi*4 - 0x150]
add eax, ebx
lea ebx, [ecx - 0x359d3e2a]
add ebx, eax
mov eax, edx
xor eax, dword [ebp - 0xc]
mov ecx, ebx
xor eax, dword [ebp - 4]
add eax, dword [ebp + edi*4 - 0x14c]
add eax, esi
rol ecx, 5
rol edx, 0x1e
lea esi, [ecx - 0x359d3e2a]
add esi, eax
mov eax, edx
xor eax, ebx
mov ecx, esi
xor eax, dword [ebp - 4]
add eax, dword [ebp + edi*4 - 0x148]
add eax, dword [ebp - 0xc]
rol ecx, 5
rol ebx, 0x1e
lea edi, [ecx - 0x359d3e2a]
add edi, eax
mov eax, edx
mov ecx, edi
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
xor eax, ebx
xor eax, esi
rol ecx, 5
add ecx, 0xca62c1d6
rol esi, 0x1e
add eax, dword [ebp + edi*4 - 0x144]
add eax, dword [ebp - 4]
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 0xc]
add ecx, 5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x50
jb 0x4e33b0
mov edi, dword [ebp - 0x14]
add dword [edi + 0x10], eax
add dword [edi + 0x1c], ebx
add dword [edi + 0x18], esi
add dword [edi + 0x20], edx
mov eax, dword [ebp - 0xc]
add dword [edi + 0x14], eax
add dword [edi + 8], 0x200
mov ebx, dword [ebp + 8]
adc dword [edi + 0xc], 0
add ebx, 0x40
mov ecx, dword [ebp + 0xc]
sub ecx, 0x40
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
jmp 0x4e3500
mov eax, 0x40
mov esi, ecx
sub eax, edx
cmp ecx, eax
cmovae esi, eax
lea eax, [edx + 0x28]
push esi
add eax, edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0xc]
add ebx, esi
add dword [edi + 0x24], esi
sub ecx, esi
add esp, 0xc
mov dword [ebp + 8], ebx
cmp dword [edi + 0x24], 0x40
mov dword [ebp + 0xc], ecx
jne 0x4e3500
mov ecx, edi
call fcn.004e1dd0
add dword [edi + 8], 0x200
mov ecx, dword [ebp + 0xc]
adc dword [edi + 0xc], 0
mov dword [edi + 0x24], 0
test ecx, ecx
jne 0x4e3020
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8