Function at 0x485a58
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
mov eax, dword [esp]
xor edx, edx
mov dword [eax + 0x50], edx
lea edx, [esp + 0x20]
mov eax, dword [esp]
add eax, 0x68
mov ecx, 0x40
call fcn.00402d38
mov esi, 0x10
lea eax, [esp + 0x20]
mov edx, dword [eax]
mov ecx, edx
shr ecx, 0x18
mov ebx, edx
shr ebx, 8
and ebx, 0xff00
or ecx, ebx
mov ebx, edx
shl ebx, 8
and ebx, 0xff0000
or ecx, ebx
shl edx, 0x18
or ecx, edx
mov dword [eax], ecx
add eax, 4
dec esi
jne 0x485a8a
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.004846a0
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x485ac1
mov eax, dword [esp]
mov eax, dword [eax + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov ebx, dword [eax + 0x58]
mov eax, dword [esp]
mov edi, dword [eax + 0x5c]
mov eax, dword [esp]
mov ebp, dword [eax + 0x60]
mov eax, dword [esp]
mov eax, dword [eax + 0x64]
mov dword [esp + 8], eax
mov esi, 0x14
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.004846a0
mov edx, ebp
xor edx, edi
and edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
add eax, dword [edx]
add eax, 0x5a827999
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.004846a0
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x10], 4
dec esi
jne 0x485b12
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.004846a0
mov edx, edi
xor edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
add eax, dword [edx]
add eax, 0x6ed9eba1
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.004846a0
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x14], 4
dec esi
jne 0x485b72
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.004846a0
mov edx, edi
and edx, ebx
mov ecx, edi
or ecx, ebx
and ecx, ebp
or edx, ecx
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
add eax, dword [edx]
add eax, 0x8f1bbcdc
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.004846a0
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x18], 4
dec esi
jne 0x485bd3
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.004846a0
mov edx, edi
xor edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
add eax, dword [edx]
add eax, 0xca62c1d6
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.004846a0
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x1c], 4
dec esi
jne 0x485c3a
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0x54], edx
mov eax, dword [esp]
add dword [eax + 0x58], ebx
mov eax, dword [esp]
add dword [eax + 0x5c], edi
mov eax, dword [esp]
add dword [eax + 0x60], ebp
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x64], edx
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x140
call fcn.0040355c
mov eax, dword [esp]
add eax, 0x68
xor ecx, ecx
mov edx, 0x40
call fcn.0040355c
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret