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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0x10
mov eax, dword [ebp + 8]
add eax, 0x50
mov edx, dword [eax]
xor edx, dword [eax - 0x14]
xor edx, dword [eax - 0x2c]
xor edx, dword [eax - 0x34]
mov ecx, edx
add ecx, ecx
shr edx, 0x1f
or ecx, edx
mov dword [eax + 0xc], ecx
inc dword [ebp - 0xc]
add eax, 4
cmp dword [ebp - 0xc], 0x50
jl 0x684fe2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 8], ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, edx
shl ebx, 5
mov esi, edx
shr esi, 0x1b
or ebx, esi
mov esi, dword [ebp - 4]
xor esi, ecx
and esi, eax
xor esi, ecx
add ebx, esi
add ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
add ebx, dword [esi]
add ebx, 0x5a827999
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov esi, eax
shl esi, 0x1e
shr eax, 2
or esi, eax
mov dword [ebp - 4], esi
mov eax, edx
mov edx, ebx
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 4
cmp dword [ebp - 0xc], 0x14
jl 0x685037
mov dword [ebp - 0xc], 0x14
mov ebx, dword [ebp + 8]
add ebx, 0x6c
mov dword [ebp - 0x14], ebx
mov ebx, edx
shl ebx, 5
mov esi, edx
shr esi, 0x1b
or ebx, esi
mov esi, dword [ebp - 4]
xor esi, eax
xor esi, ecx
add ebx, esi
add ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
add ebx, dword [esi]
add ebx, 0x6ed9eba1
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov esi, eax
shl esi, 0x1e
shr eax, 2
or esi, eax
mov dword [ebp - 4], esi
mov eax, edx
mov edx, ebx
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp dword [ebp - 0xc], 0x28
jl 0x685090
mov dword [ebp - 0xc], 0x28
mov ebx, dword [ebp + 8]
add ebx, 0xbc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
and ebx, eax
mov esi, dword [ebp - 4]
or esi, eax
and esi, ecx
or ebx, esi
mov esi, edx
shl esi, 5
mov edi, edx
shr edi, 0x1b
or esi, edi
add ebx, esi
add ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
add ebx, dword [esi]
add ebx, 0x8f1bbcdc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov esi, eax
shl esi, 0x1e
shr eax, 2
or esi, eax
mov dword [ebp - 4], esi
mov eax, edx
mov edx, ebx
inc dword [ebp - 0xc]
add dword [ebp - 0x18], 4
cmp dword [ebp - 0xc], 0x3c
jl 0x6850ea
mov dword [ebp - 0xc], 0x3c
mov ebx, dword [ebp + 8]
add ebx, 0x10c
mov dword [ebp - 0x1c], ebx
mov ebx, edx
shl ebx, 5
mov esi, edx
shr esi, 0x1b
or ebx, esi
mov esi, dword [ebp - 4]
xor esi, eax
xor esi, ecx
add ebx, esi
add ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
add ebx, dword [esi]
add ebx, 0xca62c1d6
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov esi, eax
shl esi, 0x1e
shr eax, 2
or esi, eax
mov dword [ebp - 4], esi
mov eax, edx
mov edx, ebx
inc dword [ebp - 0xc]
add dword [ebp - 0x1c], 4
cmp dword [ebp - 0xc], 0x50
jl 0x68514b
mov ebx, dword [ebp + 8]
add dword [ebx + 8], edx
mov edx, dword [ebp + 8]
add dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
add dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add dword [eax + 0x14], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
add dword [eax + 0x18], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret