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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 0x50
lea eax, [ebp - 0x15c]
call fcn.0047cad4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14
jge 0x47ccb1
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0xc]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x18]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x15c]
add eax, 0x5a827999
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
mov edx, dword [ebp - 0x10]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov edx, dword [ebp - 0x1c]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x5a827999
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
mov edx, dword [ebp - 0xc]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x154]
add eax, 0x5a827999
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
mov edx, dword [ebp - 0x1c]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x150]
add eax, 0x5a827999
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 2
mov edx, dword [ebp - 0x18]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
mov edx, dword [ebp - 0x10]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x14c]
add eax, 0x5a827999
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 0x14]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 5
cmp dword [ebp - 8], 0x14
jl 0x47cb68
cmp dword [ebp - 8], 0x28
jge 0x47cdf5
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0xc]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x15c]
add eax, 0x6ed9eba1
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
mov edx, dword [ebp - 0x10]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov edx, dword [ebp - 0x1c]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x6ed9eba1
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
mov edx, dword [ebp - 0xc]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x154]
add eax, 0x6ed9eba1
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
mov edx, dword [ebp - 0x1c]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x150]
add eax, 0x6ed9eba1
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 2
mov edx, dword [ebp - 0x18]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
mov edx, dword [ebp - 0x10]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x14c]
add eax, 0x6ed9eba1
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 0x14]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 5
cmp dword [ebp - 8], 0x28
jl 0x47ccbb
cmp dword [ebp - 8], 0x3c
jge 0x47cf61
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0xc]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x18]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x15c]
add eax, 0x8f1bbcdc
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
mov edx, dword [ebp - 0x10]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov edx, dword [ebp - 0x1c]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x14]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x8f1bbcdc
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
mov edx, dword [ebp - 0xc]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x10]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x154]
add eax, 0x8f1bbcdc
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
mov edx, dword [ebp - 0x1c]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
or ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0xc]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x150]
add eax, 0x8f1bbcdc
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 2
mov edx, dword [ebp - 0x18]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
mov edx, dword [ebp - 0x10]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
or ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x14c]
add eax, 0x8f1bbcdc
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 0x14]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 5
cmp dword [ebp - 8], 0x3c
jl 0x47cdff
cmp dword [ebp - 8], 0x50
jge 0x47d0a5
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0xc]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x15c]
add eax, 0xca62c1d6
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
mov edx, dword [ebp - 0x10]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov edx, dword [ebp - 0x1c]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0xca62c1d6
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
mov edx, dword [ebp - 0xc]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x154]
add eax, 0xca62c1d6
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
shr eax, 2
mov edx, dword [ebp - 0x1c]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x150]
add eax, 0xca62c1d6
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 2
mov edx, dword [ebp - 0x18]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
mov edx, dword [ebp - 0x10]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
add eax, edx
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x14c]
add eax, 0xca62c1d6
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 0x14]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 5
cmp dword [ebp - 8], 0x50
jl 0x47cf6b
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
add dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret