Function at 0x49afe4
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 + 8], edx
lea edx, [esp + 0x20]
mov eax, dword [esp]
add eax, 0x20
mov ecx, 0x140
call fcn.00402d30
mov esi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.0049af68
mov dword [ebx], eax
add ebx, 4
dec esi
jne 0x49b016
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.0049a190
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x49b02e
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x10]
mov edi, dword [esp]
mov edi, dword [edi + 0x14]
mov ebp, dword [esp]
mov ebp, dword [ebp + 0x18]
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
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.0049a190
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.0049a190
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 0x49b07f
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0049a190
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.0049a190
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 0x49b0df
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0049a190
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.0049a190
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 0x49b140
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0049a190
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.0049a190
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 0x49b1a7
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0xc], edx
mov eax, dword [esp]
add dword [eax + 0x10], ebx
mov eax, dword [esp]
add dword [eax + 0x14], edi
mov eax, dword [esp]
add dword [eax + 0x18], ebp
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x1c], edx
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x140
call fcn.004035d4
mov eax, dword [esp]
add eax, 0x20
xor ecx, ecx
mov edx, 0x40
call fcn.004035d4
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret