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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x158], edx
push esi
mov esi, edx
mov dword [ebp - 0x15c], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x40]
add dword [ebx + 0x40], edx
push edi
adc dword [ebx + 0x44], 0
and ecx, 0x3f
je 0x456bc7
mov edi, 0x40
sub edi, ecx
cmp edx, edi
mov eax, edi
cmovb eax, edx
push eax
lea eax, [ebx + ecx]
push esi
push eax
call fcn.005f40c0
add esp, 0xc
cmp dword [ebp + 8], edi
jb 0x456ec3
lea ecx, [ebx + 0x48]
mov edx, ebx
call fcn.004568d0
mov edx, dword [ebp + 8]
add esi, edi
sub edx, edi
mov dword [ebp - 0x158], esi
mov dword [ebp + 8], edx
cmp edx, 0x40
jb 0x456eb4
shr edx, 6
mov dword [ebp - 0x160], edx
nop dword [eax]
test esi, 3
jne 0x456bec
mov edi, esi
jmp 0x456c0c
movups xmm0, xmmword [esi]
mov edi, ebx
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebx + 0x30], xmm0
lea eax, [ebp - 0x144]
xor esi, esi
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 0x456c20
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 0x456c60
mov eax, dword [ebx + 0x48]
mov ecx, eax
mov esi, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x50]
mov edi, dword [ebx + 0x58]
mov dword [ebp - 0x164], eax
mov eax, dword [ebx + 0x54]
mov ebx, eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0
jmp 0x456cb7
mov edi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x150]
shl eax, 5
shr ecx, 0x1b
xor ecx, eax
mov dword [ebp - 0x154], ebx
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
mov ebx, edx
add ecx, eax
mov edx, esi
mov eax, dword [ebp - 0x148]
add ecx, 0x5a827999
shr esi, 2
shl edx, 0x1e
xor edx, esi
mov esi, dword [ebp - 0x150]
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
add edi, ecx
mov dword [ebp - 0x148], eax
mov ecx, edi
mov dword [ebp - 0x150], ecx
cmp eax, 0x14
jl 0x456cb1
mov dword [ebp - 0x14c], ebx
mov eax, ebx
mov dword [ebp - 0x148], 0x14
xor eax, edx
mov ecx, edi
shr ecx, 0x1b
xor eax, esi
shl edi, 5
xor ecx, edi
mov edi, dword [ebp - 0x154]
add ecx, eax
add edi, 0x6ed9eba1
mov eax, dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add edi, ecx
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
inc ecx
mov eax, edx
mov dword [ebp - 0x148], ecx
mov edx, esi
mov dword [ebp - 0x14c], eax
shr esi, 2
shl edx, 0x1e
xor edx, esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x150], edi
cmp ecx, 0x28
jl 0x456d22
mov dword [ebp - 0x148], 0x28
mov ecx, edx
or ecx, esi
and ecx, eax
mov eax, edx
and eax, esi
or ecx, eax
mov eax, edi
shr eax, 0x1b
shl edi, 5
xor eax, edi
mov edi, dword [ebp - 0x154]
add ecx, eax
add edi, 0x8f1bbcdc
mov eax, dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add edi, ecx
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
inc ecx
mov eax, edx
mov dword [ebp - 0x148], ecx
mov edx, esi
mov dword [ebp - 0x14c], eax
shr esi, 2
shl edx, 0x1e
xor edx, esi
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x150], edi
cmp ecx, 0x3c
jl 0x456d93
mov dword [ebp - 0x148], 0x3c
mov ebx, edi
nop
mov ecx, edi
xor eax, edx
shr ecx, 0x1b
xor eax, esi
shl edi, 5
xor ecx, edi
mov edi, dword [ebp - 0x154]
add ecx, eax
add edi, 0xca62c1d6
mov eax, dword [ebp - 0x148]
inc dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, edx
mov edx, esi
add edi, ecx
mov ecx, dword [ebp - 0x14c]
shr esi, 2
shl edx, 0x1e
xor edx, esi
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x148], 0x50
mov esi, ebx
mov dword [ebp - 0x14c], eax
mov ebx, edi
jl 0x456e10
mov ebx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x164]
add eax, edi
add dword [ebx + 0x4c], esi
add dword [ebx + 0x50], edx
mov esi, dword [ebp - 0x158]
mov edx, dword [ebp + 8]
add esi, 0x40
add dword [ebx + 0x58], ecx
sub edx, 0x40
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x14c]
add dword [ebx + 0x54], eax
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x158], esi
mov dword [ebp + 8], edx
jne 0x456be0
test edx, edx
je 0x456ec3
push edx
push esi
push ebx
call fcn.005f40c0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret