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

Disassembly:
sub esp, 0x14c
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
push edi
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1009cb26
push 0x40
lea esi, [ebx + 0x109d]
mov dword [ebx + 0x1089], 0x67452301
push 0
push esi
sub edi, ecx
mov dword [ebx + 0x108d], 0xefcdab89
mov dword [ebx + 0x1091], 0x98badcfe
mov dword [ebx + 0x1095], 0x10325476
mov dword [ebx + 0x1099], 0xc3d2e1f0
call fcn.10152e30
push edi
push ebx
push esi
call fcn.101528b0
mov byte [edi + ebx + 0x109d], 0x80
lea eax, [edi*8]
mov dword [ebx + 0x10d9], eax
add esp, 0x18
movups xmm0, xmmword [esi]
lea eax, [esp + 0x24]
mov edx, 0x40
movups xmmword [esp + 0x1c], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x3c], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [esp + 0x4c], xmm0
nop dword [eax]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x1009cbc0
mov eax, dword [ebx + 0x1099]
mov ecx, dword [ebx + 0x1089]
mov edi, dword [ebx + 0x108d]
mov esi, dword [ebx + 0x1091]
mov ebp, dword [ebx + 0x1095]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
nop
mov ecx, edi
mov eax, esi
not ecx
and eax, edi
and ecx, ebp
mov edx, ebx
or ecx, eax
ror edx, 0x1b
mov eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
add eax, 0x5a827999
mov dword [esp + 0x14], ebp
mov ebp, esi
mov esi, edi
shr edi, 2
shl esi, 0x1e
add edx, dword [esp + ecx*4 + 0x1c]
or esi, edi
inc ecx
add edx, eax
mov dword [esp + 0x10], ecx
mov edi, ebx
mov ebx, edx
cmp ecx, 0x14
jl 0x1009cc00
mov dword [esp + 0x18], ebx
mov ecx, edx
mov dword [esp + 0x10], 0x14
mov eax, ebp
ror edx, 0x1b
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [esp + 0x10]
add edx, dword [esp + eax*4 + 0x1c]
mov eax, dword [esp + 0x14]
add eax, 0x6ed9eba1
mov dword [esp + 0x14], ebp
add edx, eax
mov ebp, esi
mov eax, dword [esp + 0x10]
mov esi, edi
shr edi, 2
inc eax
shl esi, 0x1e
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x28
jl 0x1009cc52
mov dword [esp + 0x18], ecx
mov ebx, edx
mov dword [esp + 0x10], 0x28
mov ecx, esi
ror edx, 0x1b
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebp
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [esp + 0x10]
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, esi
mov esi, edi
shr edi, 2
add ecx, dword [esp + eax*4 + 0x1c]
inc eax
shl esi, 0x1e
add edx, ecx
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ebx
mov ebx, edx
cmp eax, 0x3c
jl 0x1009cca0
mov dword [esp + 0x18], ebx
mov ecx, edx
mov dword [esp + 0x10], 0x3c
nop
mov ebx, dword [esp + 0x10]
mov eax, ebp
xor eax, esi
ror edx, 0x1b
add edx, dword [esp + 0x14]
xor eax, edi
add eax, 0xca62c1d6
mov dword [esp + 0x14], ebp
add eax, dword [esp + ebx*4 + 0x1c]
mov ebp, esi
add edx, eax
mov esi, edi
shr edi, 2
mov eax, ebx
mov ebx, dword [esp + 0x160]
inc eax
shl esi, 0x1e
or esi, edi
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x50
jl 0x1009ccf0
add dword [ebx + 0x108d], edi
add dword [ebx + 0x1091], esi
add dword [ebx + 0x1095], ebp
add dword [ebx + 0x1089], edx
mov eax, dword [esp + 0x14]
add dword [ebx + 0x1099], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 4