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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea0
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, dword [esp]
add eax, 0x1c
mov ecx, 0x40
call fcn.004029fc
mov esi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.00578ee0
mov dword [ebx], eax
add ebx, 4
dec esi
jne 0x578f32
mov esi, 0x40
lea ebx, [esp + 0x54]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
mov edx, 1
call fcn.00578e70
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x578f4a
mov ebx, dword [esp]
mov ebx, dword [ebx]
mov edi, dword [esp]
mov edi, dword [edi + 4]
mov ebp, dword [esp]
mov ebp, dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov esi, 0x14
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00578ebc
push eax
mov edx, 5
mov eax, ebx
call fcn.00578e70
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
add edx, dword [eax]
add edx, 0x5a827999
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.00578e70
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x10], 4
dec esi
jne 0x578f9a
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00578ec8
push eax
mov edx, 5
mov eax, ebx
call fcn.00578e70
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
add edx, dword [eax]
add edx, 0x6ed9eba1
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.00578e70
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x14], 4
dec esi
jne 0x579000
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00578ed0
push eax
mov edx, 5
mov eax, ebx
call fcn.00578e70
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
add edx, dword [eax]
add edx, 0x8f1bbcdc
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.00578e70
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x18], 4
dec esi
jne 0x579069
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00578ec8
push eax
mov edx, 5
mov eax, ebx
call fcn.00578e70
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
add edx, dword [eax]
add edx, 0xca62c1d6
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.00578e70
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x1c], 4
dec esi
jne 0x5790d2
mov eax, dword [esp]
add dword [eax], ebx
mov eax, dword [esp]
add dword [eax + 4], edi
mov eax, dword [esp]
add dword [eax + 8], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x10], edx
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x140
call fcn.00402e40
mov eax, dword [esp]
add eax, 0x1c
xor ecx, ecx
mov edx, 0x40
call fcn.00402e40
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret