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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
mov esi, ecx
mov edx, ebx
not edx
rol esi, 5
and edx, edi
mov ecx, eax
and ecx, ebx
or edx, ecx
mov ecx, dword [ebp + 0xc]
add esi, edx
mov edx, dword [ebp - 0xc]
add esi, dword [ecx + edx*4]
inc edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 4], edi
add ecx, 0x5a827999
mov edi, eax
mov dword [ebp - 0xc], edx
mov eax, ebx
add ecx, esi
mov ebx, dword [ebp - 8]
ror eax, 2
mov dword [ebp - 8], ecx
cmp edx, 0x10
jl 0x10085787
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov edi, 0x14
lea esi, [esi + edx*4]
add esi, 0xffffffc8
sub edi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 0x2c]
mov edx, ebx
xor edi, dword [esi + 0x18]
not edx
xor edi, dword [esi - 8]
xor edi, dword [esi]
and edx, dword [ebp - 0xc]
rol edi, 1
mov dword [esi + 0x38], edi
mov esi, ecx
mov ecx, eax
rol esi, 5
and ecx, ebx
add esi, edi
or edx, ecx
mov edi, eax
mov ecx, dword [ebp - 4]
add edx, esi
mov esi, dword [ebp - 0x10]
add ecx, 0x5a827999
add ecx, edx
add esi, 4
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, ebx
mov ebx, dword [ebp - 8]
ror eax, 2
sub dword [ebp - 0x14], 1
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], esi
jne 0x100857e0
mov edx, dword [ebp + 0xc]
add edx, 0x18
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0x14], edx
mov esi, dword [edx + 0x2c]
xor esi, dword [edx + 0x18]
xor esi, dword [edx - 8]
xor esi, dword [edx]
rol esi, 1
mov dword [edx + 0x38], esi
mov edx, ecx
rol edx, 5
mov ecx, edi
xor ecx, eax
add edx, esi
mov esi, dword [ebp - 4]
xor ecx, ebx
add ecx, edx
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x14]
mov edi, eax
add esi, 0x6ed9eba1
mov eax, ebx
mov ebx, dword [ebp - 8]
add ecx, esi
add edx, 4
ror eax, 2
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
jne 0x10085846
mov edx, dword [ebp + 0xc]
add edx, 0x68
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x14
mov edi, dword [edx + 0x2c]
mov esi, ecx
xor edi, dword [edx + 0x18]
mov ecx, eax
xor edi, dword [edx - 8]
and ecx, ebx
xor edi, dword [edx]
rol edi, 1
mov dword [edx + 0x38], edi
mov edx, eax
or edx, ebx
rol esi, 5
and edx, dword [ebp - 0xc]
add edi, 0x8f1bbcdc
add esi, dword [ebp - 4]
or ecx, edx
mov edx, dword [ebp - 0xc]
add ecx, edi
mov dword [ebp - 4], edx
mov edi, eax
mov edx, dword [ebp - 0x14]
add ecx, esi
mov dword [ebp - 0xc], eax
add edx, 4
mov eax, ebx
mov dword [ebp - 0x14], edx
mov ebx, dword [ebp - 8]
ror eax, 2
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], ecx
jne 0x100858a2
mov edx, dword [ebp + 0xc]
add edx, 0xb8
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0x14], edx
nop dword [eax]
mov esi, dword [edx + 0x2c]
xor esi, dword [edx + 0x18]
xor esi, dword [edx - 8]
xor esi, dword [edx]
rol esi, 1
mov dword [edx + 0x38], esi
mov edx, ecx
mov ecx, edi
rol edx, 5
xor ecx, eax
xor ecx, ebx
add ecx, esi
mov esi, dword [ebp - 4]
add esi, 0xca62c1d6
add edx, esi
mov esi, edi
add ecx, edx
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x14]
mov edi, eax
mov eax, ebx
add edx, 4
mov ebx, dword [ebp - 8]
ror eax, 2
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
jne 0x10085910
mov edx, dword [ebp + 8]
add dword [edx + 0xc], edi
add dword [edx + 4], ebx
add dword [edx], ecx
add dword [edx + 8], eax
add dword [edx + 0x10], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret