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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4c3408]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x158], ecx
lea edi, [ebp - 0x144]
lea esi, [ecx + 0xa]
mov ebx, 0x10
nop word [eax + eax]
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx eax, byte [esi - 5]
lea edi, [edi + 4]
movzx ecx, byte [esi - 3]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [esi - 4]
shl eax, 8
or ecx, eax
or ecx, edx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x468210
lea eax, [ebp - 0x13c]
lea esi, [ebx + 0x40]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
mov edx, ecx
add ecx, ecx
shr edx, 0x1f
or edx, ecx
mov dword [eax + 0x34], edx
sub esi, 1
jne 0x468246
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x14c], 0x14
mov ecx, dword [eax + 0x4c]
mov edi, dword [eax + 0x50]
mov esi, dword [eax + 0x54]
mov ebx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], eax
mov edx, edi
shr ecx, 0x1b
not edx
mov eax, esi
and edx, ebx
and eax, edi
or edx, eax
mov eax, dword [ebp - 0x150]
add edx, dword [ebp - 0x154]
shl eax, 5
or ecx, eax
mov dword [ebp - 0x154], ebx
mov eax, dword [ebp - 0x148]
add ecx, edx
add dword [ebp - 0x148], 4
mov ebx, esi
mov esi, edi
shl edi, 0x1e
shr esi, 2
mov edx, dword [eax]
or esi, edi
mov edi, dword [ebp - 0x150]
add edx, 0x5a827999
add edx, ecx
sub dword [ebp - 0x14c], 1
mov ecx, edx
mov dword [ebp - 0x150], ecx
jne 0x4682a3
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x14c], 0x14
mov dword [ebp - 0x148], eax
nop dword [eax + eax]
mov eax, edx
mov ecx, ebx
shl edx, 5
xor ecx, esi
shr eax, 0x1b
xor ecx, edi
or eax, edx
add eax, dword [ebp - 0x154]
add ecx, eax
mov dword [ebp - 0x154], ebx
mov eax, dword [ebp - 0x148]
mov ebx, esi
add dword [ebp - 0x148], 4
mov esi, edi
shl edi, 0x1e
shr esi, 2
mov edx, dword [eax]
or esi, edi
mov edi, dword [ebp - 0x150]
add edx, 0x6ed9eba1
add edx, ecx
sub dword [ebp - 0x14c], 1
mov dword [ebp - 0x150], edx
jne 0x468320
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x14c], 0x14
mov dword [ebp - 0x148], eax
nop dword [eax]
mov ecx, esi
mov eax, esi
or ecx, edi
and eax, edi
and ecx, ebx
or ecx, eax
mov eax, edx
shl edx, 5
shr eax, 0x1b
or eax, edx
mov edx, dword [ebp - 0x154]
add ecx, eax
mov dword [ebp - 0x154], ebx
mov eax, dword [ebp - 0x148]
mov ebx, esi
add dword [ebp - 0x148], 4
mov esi, edi
shl edi, 0x1e
add edx, 0x8f1bbcdc
shr esi, 2
add ecx, dword [eax]
or esi, edi
mov edi, dword [ebp - 0x150]
add edx, ecx
sub dword [ebp - 0x14c], 1
mov dword [ebp - 0x150], edx
jne 0x468390
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14c], 0x14
mov dword [ebp - 0x148], eax
nop
mov ecx, edx
mov eax, ebx
xor eax, esi
shl edx, 5
shr ecx, 0x1b
xor eax, edi
or ecx, edx
mov edx, dword [ebp - 0x154]
add ecx, eax
mov dword [ebp - 0x154], ebx
mov eax, dword [ebp - 0x148]
mov ebx, esi
add dword [ebp - 0x148], 4
mov esi, edi
shl edi, 0x1e
add edx, 0xca62c1d6
shr esi, 2
add ecx, dword [eax]
or esi, edi
mov edi, dword [ebp - 0x150]
add edx, ecx
sub dword [ebp - 0x14c], 1
mov dword [ebp - 0x150], edx
jne 0x468400
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x15c]
add eax, edx
add dword [ecx + 0x50], edi
add dword [ecx + 0x54], esi
add dword [ecx + 0x58], ebx
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 0x154]
add dword [ecx + 0x5c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439f38
mov esp, ebp
pop ebp
ret