Function at 0x487920
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
xor esi, esi
lea ebx, [esp + 0x20]
mov eax, dword [esp]
mov eax, dword [eax + esi*4 + 0x1c]
call fcn.004878cc
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x10
jne 0x487933
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.004878b4
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x487953
mov eax, dword [esp]
mov ebx, dword [eax + 8]
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
mov eax, dword [esp]
mov ebp, dword [eax + 0x10]
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
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.004878fc
push eax
mov edx, 5
mov eax, ebx
call fcn.004878b4
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.004878b4
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x10], 4
dec esi
jne 0x4879a4
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.00487908
push eax
mov edx, 5
mov eax, ebx
call fcn.004878b4
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.004878b4
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x14], 4
dec esi
jne 0x487a0a
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.00487910
push eax
mov edx, 5
mov eax, ebx
call fcn.004878b4
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.004878b4
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x18], 4
dec esi
jne 0x487a73
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.00487908
push eax
mov edx, 5
mov eax, ebx
call fcn.004878b4
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.004878b4
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x1c], 4
dec esi
jne 0x487adc
mov eax, dword [esp]
add dword [eax + 8], ebx
mov eax, dword [esp]
add dword [eax + 0xc], edi
mov eax, dword [esp]
add dword [eax + 0x10], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0x14], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x18], edx
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret