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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 0x50
lea eax, [ebp - 0x160]
call fcn.0050ca2c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x14
jge 0x50cc09
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 - 0xc]
add eax, dword [ebp + edx*4 - 0x160]
add eax, 0x5a827999
add dword [ebp - 0x20], 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
mov eax, dword [ebp - 0x20]
shl eax, 5
mov edx, dword [ebp - 0x20]
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 - 0xc]
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 - 0x20]
xor edx, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 0xc]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x5a827999
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
shr eax, 2
mov edx, dword [ebp - 0x20]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shl eax, 5
mov edx, dword [ebp - 0x18]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0xc]
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 - 0x20]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
add eax, edx
mov edx, dword [ebp - 0xc]
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
add dword [ebp - 0xc], 5
cmp dword [ebp - 0xc], 0x14
jl 0x50cac0
cmp dword [ebp - 0xc], 0x28
jge 0x50cd4d
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 - 0xc]
add eax, dword [ebp + edx*4 - 0x160]
add eax, 0x6ed9eba1
add dword [ebp - 0x20], 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
mov eax, dword [ebp - 0x20]
shl eax, 5
mov edx, dword [ebp - 0x20]
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 - 0xc]
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 - 0x20]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0xc]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x6ed9eba1
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
shr eax, 2
mov edx, dword [ebp - 0x20]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x20], 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 - 0x20]
add eax, edx
mov edx, dword [ebp - 0xc]
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 - 0x20]
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 0xc]
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
add dword [ebp - 0xc], 5
cmp dword [ebp - 0xc], 0x28
jl 0x50cc13
cmp dword [ebp - 0xc], 0x3c
jge 0x50ceb9
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 - 0xc]
add eax, dword [ebp + edx*4 - 0x160]
add eax, 0x8f1bbcdc
add dword [ebp - 0x20], 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
mov eax, dword [ebp - 0x20]
shl eax, 5
mov edx, dword [ebp - 0x20]
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 - 0xc]
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 - 0x20]
and edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
or ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x14]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0x8f1bbcdc
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
shr eax, 2
mov edx, dword [ebp - 0x20]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x20], 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 - 0x20]
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x10]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
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 - 0x20]
or edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
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
add dword [ebp - 0xc], 5
cmp dword [ebp - 0xc], 0x3c
jl 0x50cd57
cmp dword [ebp - 0xc], 0x50
jge 0x50cffd
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 - 0xc]
add eax, dword [ebp + edx*4 - 0x160]
add eax, 0xca62c1d6
add dword [ebp - 0x20], 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
mov eax, dword [ebp - 0x20]
shl eax, 5
mov edx, dword [ebp - 0x20]
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 - 0xc]
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 - 0x20]
xor edx, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0xc]
add eax, dword [ebp + edx*4 - 0x158]
add eax, 0xca62c1d6
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
shr eax, 2
mov edx, dword [ebp - 0x20]
shl edx, 0x1e
or eax, edx
mov dword [ebp - 0x20], 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 - 0x20]
add eax, edx
mov edx, dword [ebp - 0xc]
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 - 0x20]
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 0xc]
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
add dword [ebp - 0xc], 5
cmp dword [ebp - 0xc], 0x50
jl 0x50cec3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
add dword [eax], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
add dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
add dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret