Function at 0x466b30
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, 0x40
call fcn.00402978
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 0x466b62
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.00466af0
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x466b99
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.00466af0
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.00466af0
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 0x466bea
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00466af0
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.00466af0
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 0x466c4a
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00466af0
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.00466af0
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 0x466cab
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00466af0
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.00466af0
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 0x466d12
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.00402d20
mov eax, dword [esp]
add eax, 0x20
xor ecx, ecx
mov edx, 0x40
call fcn.00402d20
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret