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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
lea eax, [ebp - 0x144]
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x154], ebx
sub edi, eax
nop word [eax + eax]
lea eax, [edi + esi*4]
mov ecx, dword [ebp + eax - 0x144]
mov edx, ecx
shr edx, 8
mov eax, ecx
shl eax, 8
xor edx, eax
shl ecx, 8
and edx, 0xff00ff
xor edx, ecx
rol edx, 0x10
mov dword [ebp + esi*4 - 0x144], edx
inc esi
cmp esi, 0x10
jl 0x456900
lea eax, [ebp - 0x13c]
mov esi, 0x40
nop dword [eax]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
mov edx, ecx
add ecx, ecx
shr edx, 0x1f
xor edx, ecx
mov dword [eax + 0x34], edx
sub esi, 1
jne 0x456940
mov ecx, dword [ebp - 0x154]
xor edi, edi
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edi
jmp 0x456996
mov edi, dword [ebp - 0x148]
mov ecx, eax
shl eax, 5
shr ecx, 0x1b
xor ecx, eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add ecx, eax
add ecx, dword [ebp + edi*4 - 0x144]
mov edi, dword [ebp - 0x14c]
add edi, 0x5a827999
mov dword [ebp - 0x14c], ebx
add edi, ecx
mov ebx, edx
mov ecx, dword [ebp - 0x148]
mov edx, esi
shr esi, 2
inc ecx
shl edx, 0x1e
mov eax, edi
xor edx, esi
mov dword [ebp - 0x148], ecx
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x150], eax
cmp ecx, 0x14
jl 0x456990
mov dword [ebp - 0x148], 0x14
nop dword [eax + eax]
mov ecx, edi
mov eax, ebx
xor eax, edx
shl edi, 5
shr ecx, 0x1b
xor eax, esi
xor ecx, edi
mov edi, dword [ebp - 0x14c]
add ecx, eax
mov dword [ebp - 0x14c], ebx
mov eax, dword [ebp - 0x148]
mov ebx, edx
mov edx, esi
add edi, 0x6ed9eba1
shr esi, 2
shl edx, 0x1e
add ecx, dword [ebp + eax*4 - 0x144]
xor edx, esi
mov esi, dword [ebp - 0x150]
inc eax
add edi, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], edi
cmp eax, 0x28
jl 0x456a00
mov dword [ebp - 0x148], 0x28
mov ecx, edx
mov eax, edx
or ecx, esi
and eax, esi
and ecx, ebx
or ecx, eax
mov eax, edi
shl edi, 5
shr eax, 0x1b
xor eax, edi
mov edi, dword [ebp - 0x14c]
add ecx, eax
mov dword [ebp - 0x14c], ebx
mov eax, dword [ebp - 0x148]
mov ebx, edx
mov edx, esi
add edi, 0x8f1bbcdc
shr esi, 2
shl edx, 0x1e
add ecx, dword [ebp + eax*4 - 0x144]
xor edx, esi
mov esi, dword [ebp - 0x150]
inc eax
add edi, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], edi
cmp eax, 0x3c
jl 0x456a61
mov dword [ebp - 0x148], 0x3c
mov ecx, edi
mov eax, ebx
xor eax, edx
shr ecx, 0x1b
shl edi, 5
xor eax, esi
xor ecx, edi
mov edi, dword [ebp - 0x14c]
add ecx, eax
add edi, 0xca62c1d6
mov eax, dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
add edi, ecx
mov dword [ebp - 0x148], eax
mov ecx, ebx
mov ebx, edx
mov edx, esi
mov dword [ebp - 0x14c], ecx
shr esi, 2
shl edx, 0x1e
xor edx, esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x150], edi
cmp eax, 0x50
jl 0x456ac8
mov eax, dword [ebp - 0x158]
add eax, edi
mov edi, dword [ebp - 0x154]
add dword [edi + 0x10], ecx
add dword [edi + 4], esi
add dword [edi + 0xc], ebx
add dword [edi + 8], edx
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret