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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], edx
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx]
mov ecx, eax
mov ebx, dword [edx + 4]
mov edi, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], edx
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 - 0x10]
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 0x1000d6d1
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov edi, 0x14
lea esi, [esi + edx*4]
add esi, 0xffffffc8
sub edi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
nop word [eax + eax]
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 - 0x14]
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 - 0x18], 1
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], esi
jne 0x1000d730
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x18], 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 - 0x18]
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 - 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edx
jne 0x1000d796
mov edx, dword [ebp - 0x10]
add edx, 0x68
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 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 - 0x18]
add ecx, esi
mov dword [ebp - 0xc], eax
add edx, 4
mov eax, ebx
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 8]
ror eax, 2
sub dword [ebp - 0x14], 1
mov dword [ebp - 8], ecx
jne 0x1000d7f2
mov edx, dword [ebp - 0x10]
add edx, 0xb8
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x18], 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 - 0x18]
mov edi, eax
mov eax, ebx
add edx, 4
mov ebx, dword [ebp - 8]
ror eax, 2
sub dword [ebp - 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edx
jne 0x1000d860
mov edx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
add dword [edx + 0xc], edi
add dword [edx + 4], ebx
add dword [edx + 8], eax
add dword [edx + 0x10], esi
pop edi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret