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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x28], 0x5a827999
mov dword [ebp - 0x24], 0x6ed9eba1
mov dword [ebp - 0x20], 0x8f1bbcdc
mov dword [ebp - 0x1c], 0xca62c1d6
mov ebx, 0
mov ecx, dword [ebp - 0x16c]
movzx edx, byte [ecx + ebx*4 + 0x20]
shl edx, 0x18
mov dword [ebp + ebx*4 - 0x168], edx
movzx eax, byte [ecx + ebx*4 + 0x21]
shl eax, 0x10
or eax, edx
mov dword [ebp + ebx*4 - 0x168], eax
movzx edx, byte [ecx + ebx*4 + 0x22]
shl edx, 8
or edx, eax
mov dword [ebp + ebx*4 - 0x168], edx
movzx eax, byte [ecx + ebx*4 + 0x23]
or eax, edx
mov dword [ebp + ebx*4 - 0x168], eax
inc ebx
cmp ebx, 0xf
jle 0x7015e2
mov ebx, 0x10
mov eax, dword [ebp + ebx*4 - 0x174]
xor eax, dword [ebp + ebx*4 - 0x188]
xor eax, dword [ebp + ebx*4 - 0x1a0]
xor eax, dword [ebp + ebx*4 - 0x1a8]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.008467c0
mov dword [ebp + ebx*4 - 0x168], eax
inc ebx
cmp ebx, 0x4f
jle 0x701632
mov edx, dword [ebp - 0x16c]
mov edx, dword [edx + 4]
mov dword [ebp - 0x170], edx
mov ecx, dword [ebp - 0x16c]
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x174], eax
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x178], edx
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x17c], ecx
mov ebx, 0
mov eax, dword [ebp - 0x170]
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov edx, dword [ebp - 0x16c]
mov dword [esp], edx
call fcn.008467c0
mov ecx, dword [ebp - 0x174]
and ecx, edi
mov edx, edi
not edx
and edx, dword [ebp - 0x178]
or ecx, edx
add eax, ecx
add eax, dword [ebp - 0x17c]
add eax, dword [ebp + ebx*4 - 0x168]
lea esi, [eax + 0x5a827999]
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1e
mov edx, dword [ebp - 0x16c]
mov dword [esp], edx
call fcn.008467c0
mov dword [ebp - 0x174], eax
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x170], esi
inc ebx
cmp ebx, 0x13
jle 0x7016ad
mov ebx, 0x14
mov ecx, dword [ebp - 0x170]
mov dword [esp + 8], ecx
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.008467c0
mov edx, dword [ebp - 0x174]
xor edx, edi
xor edx, dword [ebp - 0x178]
add eax, edx
add eax, dword [ebp - 0x17c]
add eax, dword [ebp + ebx*4 - 0x168]
lea esi, [eax + 0x6ed9eba1]
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1e
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.008467c0
mov dword [ebp - 0x174], eax
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x170], esi
inc ebx
cmp ebx, 0x27
jle 0x701749
mov ebx, 0x28
mov edx, dword [ebp - 0x170]
mov dword [esp + 8], edx
mov dword [esp + 4], 5
mov ecx, dword [ebp - 0x16c]
mov dword [esp], ecx
call fcn.008467c0
mov edx, dword [ebp - 0x174]
or edx, dword [ebp - 0x178]
and edx, edi
mov ecx, dword [ebp - 0x174]
and ecx, dword [ebp - 0x178]
or edx, ecx
add eax, edx
add eax, dword [ebp - 0x17c]
add eax, dword [ebp + ebx*4 - 0x168]
lea esi, [eax - 0x70e44324]
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1e
mov ecx, dword [ebp - 0x16c]
mov dword [esp], ecx
call fcn.008467c0
mov dword [ebp - 0x174], eax
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x170], esi
inc ebx
cmp ebx, 0x3b
jle 0x7017df
mov ebx, 0x3c
mov eax, dword [ebp - 0x170]
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov edx, dword [ebp - 0x16c]
mov dword [esp], edx
call fcn.008467c0
mov edx, dword [ebp - 0x174]
xor edx, edi
xor edx, dword [ebp - 0x178]
add eax, edx
add eax, dword [ebp - 0x17c]
add eax, dword [ebp + ebx*4 - 0x168]
lea esi, [eax - 0x359d3e2a]
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x1e
mov edx, dword [ebp - 0x16c]
mov dword [esp], edx
call fcn.008467c0
mov dword [ebp - 0x174], eax
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x170], esi
inc ebx
cmp ebx, 0x4f
jle 0x701883
mov ecx, dword [ebp - 0x16c]
add dword [ecx + 4], esi
add dword [ecx + 8], edi
add dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x178]
add dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x17c]
add dword [ecx + 0x14], edx
mov dword [ecx + 0x60], 0
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret