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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x103b1004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea eax, [edx + 2]
push edi
mov dword [ebp - 0x158], ebx
xor esi, esi
movzx edx, byte [eax - 2]
lea eax, [eax + 4]
movzx ecx, byte [eax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 8
or edx, ecx
mov dword [ebp + esi*4 - 0x144], edx
inc esi
cmp esi, 0x10
jb 0x1008c643
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x13c]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x150], edx
mov edx, 0x40
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x148], eax
nop
mov eax, dword [ecx + 0x2c]
lea ecx, [ecx + 4]
xor eax, dword [ecx + 0x14]
xor eax, dword [ecx - 0xc]
xor eax, dword [ecx - 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x1008c6a0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov edx, dword [ebp - 0x150]
nop dword [eax + eax]
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, edx
ror edx, 2
xor eax, edi
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, esi
add ebx, ecx
xor eax, edx
and eax, dword [ebp - 0x148]
mov ecx, ebx
ror dword [ebp - 0x148], 2
xor eax, esi
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x140]
mov eax, edx
xor eax, dword [ebp - 0x148]
add edi, ecx
and eax, ebx
mov ecx, edi
xor eax, edx
rol ecx, 5
add ecx, eax
ror ebx, 2
mov eax, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x13c]
mov eax, ebx
xor eax, dword [ebp - 0x148]
add esi, ecx
and eax, edi
mov ecx, esi
xor eax, dword [ebp - 0x148]
rol ecx, 5
add ecx, eax
ror edi, 2
mov eax, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x138]
mov eax, ebx
add edx, ecx
xor eax, edi
and eax, esi
mov ecx, edx
xor eax, ebx
rol ecx, 5
add ecx, eax
ror esi, 2
mov eax, dword [ebp - 0x14c]
add ecx, dword [ebp + eax*4 - 0x134]
mov eax, dword [ebp - 0x148]
add eax, 0x5a827999
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 5
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
cmp ecx, 0x14
jb 0x1008c6d0
mov dword [ebp - 0x150], edx
cmp ecx, 0x28
jae 0x1008c8d2
nop dword [eax]
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
xor eax, edx
ror edx, 2
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, esi
add ebx, ecx
xor eax, edx
xor eax, dword [ebp - 0x148]
mov ecx, ebx
ror dword [ebp - 0x148], 2
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x140]
mov eax, ebx
add edi, ecx
ror ebx, 2
xor eax, edx
mov ecx, edi
xor eax, dword [ebp - 0x148]
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x13c]
mov eax, ebx
add esi, ecx
xor eax, edi
xor eax, dword [ebp - 0x148]
mov ecx, esi
rol ecx, 5
add ecx, eax
ror edi, 2
mov eax, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x138]
mov eax, ebx
add edx, ecx
xor eax, edi
xor eax, esi
mov ecx, edx
rol ecx, 5
add ecx, eax
ror esi, 2
mov eax, dword [ebp - 0x14c]
add ecx, dword [ebp + eax*4 - 0x134]
mov eax, dword [ebp - 0x148]
add eax, 0x6ed9eba1
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 5
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
cmp ecx, 0x28
jb 0x1008c7e0
mov dword [ebp - 0x150], edx
cmp ecx, 0x3c
jae 0x1008ca1b
nop dword [eax + eax]
mov edx, eax
mov ecx, esi
or ecx, dword [ebp - 0x150]
mov eax, esi
and eax, dword [ebp - 0x150]
and ecx, edi
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x14c]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x150]
add ecx, ebx
ror eax, 2
lea ebx, [edx - 0x70e44324]
add ebx, ecx
mov dword [ebp - 0x150], eax
mov ecx, eax
mov edx, ebx
or ecx, dword [ebp - 0x148]
and eax, dword [ebp - 0x148]
and ecx, esi
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x14c]
add edx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x140]
mov eax, dword [ebp - 0x148]
add edi, ecx
ror eax, 2
mov ecx, ebx
or ecx, eax
mov dword [ebp - 0x148], eax
and ecx, dword [ebp - 0x150]
mov eax, ebx
and eax, dword [ebp - 0x148]
add edi, edx
or ecx, eax
ror ebx, 2
mov eax, dword [ebp - 0x14c]
mov edx, edi
rol edx, 5
add edx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x13c]
mov eax, ebx
add esi, ecx
and eax, edi
mov ecx, ebx
add esi, edx
or ecx, edi
mov edx, esi
and ecx, dword [ebp - 0x148]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x14c]
ror edi, 2
add ecx, dword [ebp + eax*4 - 0x138]
add ecx, dword [ebp - 0x150]
lea eax, [ecx - 0x70e44324]
mov ecx, edi
add eax, edx
or ecx, esi
mov edx, eax
mov dword [ebp - 0x150], eax
and ecx, ebx
rol edx, 5
mov eax, edi
and eax, esi
ror esi, 2
or ecx, eax
mov eax, dword [ebp - 0x14c]
add ecx, dword [ebp + eax*4 - 0x134]
add ecx, dword [ebp - 0x148]
lea eax, [ecx - 0x70e44324]
mov ecx, dword [ebp - 0x14c]
add ecx, 5
add eax, edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
cmp ecx, 0x3c
jb 0x1008c8e0
mov edx, dword [ebp - 0x150]
cmp ecx, 0x50
jae 0x1008cb51
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x14c]
rol eax, 5
mov dword [ebp - 0x150], eax
mov eax, edi
xor eax, esi
xor eax, edx
ror edx, 2
add eax, dword [ebp + ecx*4 - 0x144]
add eax, ebx
mov ebx, dword [ebp - 0x150]
add ebx, 0xca62c1d6
add ebx, eax
mov eax, esi
xor eax, edx
mov ecx, ebx
xor eax, dword [ebp - 0x148]
rol ecx, 5
ror dword [ebp - 0x148], 2
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x14c]
add eax, dword [ebp + ecx*4 - 0x140]
add eax, edi
mov edi, dword [ebp - 0x150]
add edi, 0xca62c1d6
add edi, eax
mov eax, ebx
xor eax, edx
ror ebx, 2
xor eax, dword [ebp - 0x148]
mov ecx, edi
rol ecx, 5
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x14c]
add eax, dword [ebp + ecx*4 - 0x13c]
add eax, esi
mov esi, dword [ebp - 0x150]
add esi, 0xca62c1d6
add esi, eax
mov eax, ebx
xor eax, edi
mov ecx, esi
xor eax, dword [ebp - 0x148]
rol ecx, 5
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x14c]
ror edi, 2
add eax, dword [ebp + ecx*4 - 0x138]
add eax, edx
mov edx, dword [ebp - 0x150]
add edx, 0xca62c1d6
add edx, eax
mov eax, ebx
mov ecx, edx
mov dword [ebp - 0x150], edx
mov edx, dword [ebp - 0x14c]
xor eax, edi
xor eax, esi
rol ecx, 5
add ecx, 0xca62c1d6
ror esi, 2
add eax, dword [ebp + edx*4 - 0x134]
add eax, dword [ebp - 0x148]
add eax, ecx
mov ecx, edx
mov edx, dword [ebp - 0x150]
add ecx, 5
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
cmp ecx, 0x50
jb 0x1008ca30
mov ecx, dword [ebp - 0x158]
add eax, dword [ebp - 0x154]
add dword [ecx + 0x14], edi
add dword [ecx + 0x10], esi
add dword [ecx + 0x18], ebx
add dword [ecx + 0xc], edx
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1024a596
mov esp, ebp
pop ebp
ret