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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 4]
add eax, 0x5c
mov ecx, 0x40
call fcn.00404a5c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x15c]
call fcn.005b4b9c
mov edx, dword [ebp - 0x1c]
mov dword [ebp + edx*4 - 0x15c], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x10
jne 0x5b4c13
mov dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x168]
mov edx, dword [ebp - 0x1c]
xor eax, dword [ebp + edx*4 - 0x17c]
mov edx, dword [ebp - 0x1c]
xor eax, dword [ebp + edx*4 - 0x194]
mov edx, dword [ebp - 0x1c]
xor eax, dword [ebp + edx*4 - 0x19c]
add eax, eax
mov edx, dword [ebp - 0x1c]
mov edx, dword [ebp + edx*4 - 0x168]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ebp + ecx*4 - 0x17c]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ebp + ecx*4 - 0x194]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ebp + ecx*4 - 0x19c]
shr edx, 0x1f
or eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp + edx*4 - 0x15c], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x50
jne 0x5b4c3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
shl eax, 5
mov edx, dword [ebp - 8]
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
add eax, 0x5a827999
add eax, dword [ebp - 0x15c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1e
mov edx, dword [ebp - 0xc]
shr edx, 2
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 - 8]
xor edx, dword [ebp - 0x10]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x158]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
shl eax, 0x1e
mov edx, dword [ebp - 8]
shr edx, 2
or eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x154]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x1e
mov edx, dword [ebp - 0x18]
shr edx, 2
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 - 8]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 8]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x150]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x1e
mov edx, dword [ebp - 0x14]
shr edx, 2
or eax, edx
mov dword [ebp - 0x14], eax
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
add eax, 0x5a827999
add eax, dword [ebp - 0x14c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x1e
mov edx, dword [ebp - 0x10]
shr edx, 2
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
shl eax, 5
mov edx, dword [ebp - 8]
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
add eax, 0x5a827999
add eax, dword [ebp - 0x148]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1e
mov edx, dword [ebp - 0xc]
shr edx, 2
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 - 8]
xor edx, dword [ebp - 0x10]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x144]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
shl eax, 0x1e
mov edx, dword [ebp - 8]
shr edx, 2
or eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x140]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x1e
mov edx, dword [ebp - 0x18]
shr edx, 2
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 - 8]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 8]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x13c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x1e
mov edx, dword [ebp - 0x14]
shr edx, 2
or eax, edx
mov dword [ebp - 0x14], eax
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
add eax, 0x5a827999
add eax, dword [ebp - 0x138]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x1e
mov edx, dword [ebp - 0x10]
shr edx, 2
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
shl eax, 5
mov edx, dword [ebp - 8]
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
add eax, 0x5a827999
add eax, dword [ebp - 0x134]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1e
mov edx, dword [ebp - 0xc]
shr edx, 2
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 - 8]
xor edx, dword [ebp - 0x10]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x130]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
shl eax, 0x1e
mov edx, dword [ebp - 8]
shr edx, 2
or eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
shl eax, 5
mov edx, dword [ebp - 0x14]
shr edx, 0x1b
or eax, edx
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x12c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x1e
mov edx, dword [ebp - 0x18]
shr edx, 2
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 - 8]
and edx, dword [ebp - 0x14]
xor edx, dword [ebp - 8]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x128]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x1e
mov edx, dword [ebp - 0x14]
shr edx, 2
or eax, edx
mov dword [ebp - 0x14], eax
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
add eax, 0x5a827999
add eax, dword [ebp - 0x124]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x1e
mov edx, dword [ebp - 0x10]
shr edx, 2
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
shl eax, 5
mov edx, dword [ebp - 8]
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
add eax, 0x5a827999
add eax, dword [ebp - 0x120]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1e
mov edx, dword [ebp - 0xc]
shr edx, 2
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 - 8]
xor edx, dword [ebp - 0x10]
add eax, edx
add eax, 0x5a827999
add eax, dword [ebp - 0x11c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
inc ebp
clc