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

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push edi
mov dword [esp + 0x10], ecx
xor edi, edi
mov dword [esp + 0x14], eax
mov edx, ecx
mov eax, ebp
mov ecx, esi
ror edx, 0x1b
and eax, esi
not ecx
and ecx, ebx
or ecx, eax
mov eax, dword [esp + 0x2c]
add edx, ecx
add edx, dword [eax + edi*4]
inc edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
add eax, 0x5a827999
mov ebx, ebp
add edx, eax
mov ebp, esi
mov dword [esp + 0x18], edx
shr esi, 2
mov ecx, edx
shl ebp, 0x1e
or ebp, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
cmp edi, 0x10
jl 0x10121233
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
ror edx, 0x1b
mov dword [esp + 0x1c], ebp
and ebp, esi
mov eax, dword [ecx + 0x34]
xor eax, dword [ecx + 0x20]
mov edi, dword [ecx + 8]
xor eax, edi
xor eax, dword [ecx]
mov ebx, eax
add eax, eax
shr ebx, 0x1f
or ebx, eax
mov eax, esi
mov dword [ecx + 0x40], ebx
add edx, ebx
mov ecx, esi
shl eax, 0x1e
not ecx
shr esi, 2
and ecx, dword [esp + 0x10]
or eax, esi
or ecx, ebp
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x14]
add ecx, edx
mov dword [esp + 0x14], eax
add ebp, 0x5a827999
add ebp, ecx
mov ecx, dword [esp + 0x2c]
mov edx, ebp
ror edx, 0x1b
mov eax, dword [ecx + 0x38]
xor eax, dword [ecx + 0x24]
xor eax, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
xor eax, ebx
mov esi, eax
add eax, eax
shr esi, 0x1f
or esi, eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x44], esi
add edx, esi
mov ecx, eax
and eax, dword [esp + 0x14]
not ecx
and ecx, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x10]
add ecx, edx
add eax, 0x5a827999
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, edx
mov esi, eax
shl ecx, 0x1e
shr edx, 2
or ecx, edx
ror esi, 0x1b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 0x3c]
xor ecx, dword [edx + 0x28]
xor ecx, dword [edx + 0x10]
xor ecx, edi
mov edi, ecx
add ecx, ecx
shr edi, 0x1f
or edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x48], edi
and ecx, ebp
mov edx, ebp
add esi, edi
not edx
and edx, dword [esp + 0x14]
or edx, ecx
add edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, ebp
shr ebp, 2
shl ecx, 0x1e
or ecx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x2c]
xor ecx, dword [ebp + 0x14]
xor ecx, dword [esp + 0x20]
xor ecx, ebx
lea ebx, [esi + 0x5a827999]
mov edi, ecx
add ebx, edx
add ecx, ecx
shr edi, 0x1f
or edi, ecx
mov edx, eax
mov dword [ebp + 0x4c], edi
not edx
mov ebp, dword [esp + 0x1c]
mov esi, ebx
and edx, dword [esp + 0x10]
mov ecx, ebp
and ecx, eax
ror esi, 0x1b
or edx, ecx
ror eax, 2
mov ecx, dword [esp + 0x14]
add esi, edi
mov edi, dword [esp + 0x2c]
add edx, esi
add ecx, 0x5a827999
mov dword [esp + 0x1c], 0x14
add edx, ecx
add edi, 0x18
mov dword [esp + 0x14], edx
nop
mov ecx, dword [edi + 0x2c]
lea edi, [edi + 4]
xor ecx, dword [edi + 0x14]
xor ecx, dword [edi - 0xc]
xor ecx, dword [edi - 4]
mov esi, ecx
ror edx, 0x1b
add ecx, ecx
shr esi, 0x1f
or esi, ecx
mov ecx, ebp
xor ecx, eax
mov dword [edi + 0x34], esi
add edx, esi
xor ecx, ebx
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
add edx, 0x6ed9eba1
mov ebp, eax
add edx, ecx
mov eax, ebx
shr ebx, 2
shl eax, 0x1e
or eax, ebx
sub dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x101213d0
mov esi, dword [esp + 0x2c]
add esi, 0x68
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 0x2c]
xor ecx, dword [esi + 0x18]
xor ecx, dword [esi - 8]
xor ecx, dword [esi]
mov edi, ecx
add ecx, ecx
shr edi, 0x1f
or edi, ecx
mov ecx, eax
mov dword [esi + 0x38], edi
and ecx, ebx
mov esi, edx
mov edx, eax
or edx, ebx
ror esi, 0x1b
and edx, ebp
add esi, 0x8f1bbcdc
add esi, dword [esp + 0x10]
or edx, ecx
add edx, edi
mov dword [esp + 0x10], ebp
mov ebp, eax
add edx, esi
mov esi, dword [esp + 0x1c]
mov eax, ebx
shr ebx, 2
add esi, 4
shl eax, 0x1e
or eax, ebx
mov dword [esp + 0x1c], esi
sub dword [esp + 0x18], 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x10121436
mov edi, dword [esp + 0x2c]
add edi, 0xb8
mov dword [esp + 0x1c], 0x14
nop dword [eax + eax]
mov ecx, dword [edi + 0x2c]
lea edi, [edi + 4]
xor ecx, dword [edi + 0x14]
xor ecx, dword [edi - 0xc]
xor ecx, dword [edi - 4]
mov esi, ecx
ror edx, 0x1b
add ecx, ecx
shr esi, 0x1f
or esi, ecx
mov ecx, ebp
xor ecx, eax
mov dword [edi + 0x34], esi
xor ecx, ebx
add ecx, esi
mov esi, dword [esp + 0x10]
add esi, edx
add ecx, 0xca62c1d6
add esi, ecx
mov ecx, ebp
mov ebp, eax
mov dword [esp + 0x10], ecx
mov eax, ebx
mov edx, esi
shr ebx, 2
shl eax, 0x1e
or eax, ebx
sub dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x101214b0
mov edx, dword [esp + 0x28]
pop edi
add dword [edx], esi
add dword [edx + 0xc], ebp
add dword [edx + 4], ebx
add dword [edx + 8], eax
add dword [edx + 0x10], ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret