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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x40
call fcn.00402a38
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x160]
call fcn.0049d864
mov edx, dword [ebp - 0x20]
mov dword [ebp + edx*4 - 0x160], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x10
jne 0x49d8cc
mov dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x16c]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp + edx*4 - 0x180]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp + edx*4 - 0x198]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp + edx*4 - 0x1a0]
mov edx, 1
call fcn.0049d75c
mov edx, dword [ebp - 0x20]
mov dword [ebp + edx*4 - 0x160], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x50
jne 0x49d8f5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049d7ec
mov ebx, eax
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.0049d75c
add ebx, eax
add ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ebx, dword [ebp + eax*4 - 0x160]
add ebx, 0x5a827999
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, 0x1e
mov eax, dword [ebp - 0xc]
call fcn.0049d75c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x14
jne 0x49d96b
mov dword [ebp - 0x20], 0x14
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049d814
mov ebx, eax
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.0049d75c
add ebx, eax
add ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ebx, dword [ebp + eax*4 - 0x160]
add ebx, 0x6ed9eba1
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, 0x1e
mov eax, dword [ebp - 0xc]
call fcn.0049d75c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x28
jne 0x49d9d8
mov dword [ebp - 0x20], 0x28
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049d838
mov ebx, eax
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.0049d75c
add ebx, eax
add ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ebx, dword [ebp + eax*4 - 0x160]
add ebx, 0x8f1bbcdc
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, 0x1e
mov eax, dword [ebp - 0xc]
call fcn.0049d75c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x3c
jne 0x49da45
mov dword [ebp - 0x20], 0x3c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049d814
mov ebx, eax
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.0049d75c
add ebx, eax
add ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ebx, dword [ebp + eax*4 - 0x160]
add ebx, 0xca62c1d6
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, 0x1e
mov eax, dword [ebp - 0xc]
call fcn.0049d75c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x50
jne 0x49dab2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0x10], edx
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x140
call fcn.00403224
mov eax, dword [ebp - 4]
add eax, 0x1c
xor ecx, ecx
mov edx, 0x40
call fcn.00403224
pop ebx
mov esp, ebp
pop ebp
ret