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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea0
mov ebx, edx
mov dword [esp], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x56cacd
cmp eax, 0x40
je 0x56cae3
mov ecx, 0xf5
mov edx, 0x56cd14
mov eax, 0x56cd58
call fcn.0040530c
mov eax, dword [esp]
add dword [eax + 0x28], 0x200
adc dword [eax + 0x2c], 0
lea edx, [esp + 0x20]
mov eax, dword [ebx + 4]
mov ecx, 0x40
call fcn.004032f0
mov edi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.0056c3c8
mov dword [ebx], eax
add ebx, 4
dec edi
jne 0x56cb0b
mov edi, 0x40
lea ebx, [esp + 0x54]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
call fcn.0056c44c
mov dword [ebx + 0xc], eax
add ebx, 4
dec edi
jne 0x56cb23
mov eax, dword [esp]
mov edx, dword [eax + 0xc]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x18]
mov esi, dword [esp]
mov esi, dword [esi + 0x1c]
mov dword [esp + 0xc], esi
mov edi, 0x14
lea esi, [esp + 0x20]
mov dword [esp + 0x10], esi
mov esi, edx
shl esi, 5
mov ebp, edx
shr ebp, 0x1b
or esi, ebp
mov dword [esp + 8], esi
mov esi, ecx
and esi, eax
mov ebp, eax
not ebp
and ebp, ebx
or esi, ebp
add esi, dword [esp + 8]
add esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
add esi, dword [ebp]
add esi, 0x5a827999
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
mov ebx, ecx
mov ecx, eax
shl ecx, 0x1e
shr eax, 2
or ecx, eax
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0x10], 4
dec edi
jne 0x56cb6b
mov edi, 0x14
lea esi, [esp + 0x70]
mov dword [esp + 0x14], esi
mov esi, edx
shl esi, 5
mov ebp, edx
shr ebp, 0x1b
or esi, ebp
mov dword [esp + 8], esi
mov esi, ecx
xor esi, eax
xor esi, ebx
add esi, dword [esp + 8]
add esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
add esi, dword [ebp]
add esi, 0x6ed9eba1
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
mov ebx, ecx
mov ecx, eax
shl ecx, 0x1e
shr eax, 2
or ecx, eax
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0x14], 4
dec edi
jne 0x56cbcb
mov edi, 0x14
lea esi, [esp + 0xc0]
mov dword [esp + 0x18], esi
mov esi, edx
shl esi, 5
mov ebp, edx
shr ebp, 0x1b
or esi, ebp
mov dword [esp + 8], esi
mov esi, ecx
and esi, eax
mov ebp, ebx
and ebp, eax
or esi, ebp
mov ebp, ebx
and ebp, ecx
or esi, ebp
add esi, dword [esp + 8]
add esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
add esi, dword [ebp]
add esi, 0x8f1bbcdc
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
mov ebx, ecx
mov ecx, eax
shl ecx, 0x1e
shr eax, 2
or ecx, eax
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0x18], 4
dec edi
jne 0x56cc28
mov edi, 0x14
lea esi, [esp + 0x110]
mov dword [esp + 0x1c], esi
mov esi, edx
shl esi, 5
mov ebp, edx
shr ebp, 0x1b
or esi, ebp
mov dword [esp + 8], esi
mov esi, ecx
xor esi, eax
xor esi, ebx
add esi, dword [esp + 8]
add esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
add esi, dword [ebp]
add esi, 0xca62c1d6
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
mov ebx, ecx
mov ecx, eax
shl ecx, 0x1e
shr eax, 2
or ecx, eax
mov eax, edx
mov edx, dword [esp + 4]
add dword [esp + 0x1c], 4
dec edi
jne 0x56cc8f
mov esi, dword [esp]
add dword [esi + 0xc], edx
mov edx, dword [esp]
add dword [edx + 0x10], eax
mov eax, dword [esp]
add dword [eax + 0x14], ecx
mov eax, dword [esp]
add dword [eax + 0x18], ebx
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
add dword [eax + 0x1c], edx
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret