Function at 0x669c2c
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.004070dc
mov esi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.00669b34
mov dword [ebx], eax
add ebx, 4
dec esi
jne 0x669c5e
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.00669ab0
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x669c76
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.00669ab0
mov edx, edi
xor edx, ebp
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.00669ab0
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 0x669cc7
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00669ab0
mov edx, ebx
xor edx, edi
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.00669ab0
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 0x669d27
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00669ab0
mov edx, ebx
and edx, edi
mov ecx, ebx
or ecx, edi
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.00669ab0
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 0x669d88
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.00669ab0
mov edx, ebx
xor edx, edi
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.00669ab0
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 0x669def
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.00407ed8
mov eax, dword [esp]
add eax, 0x20
xor ecx, ecx
mov edx, 0x40
call fcn.00407ed8
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret