Function at 0x46a648
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
lea edx, [ebp - 0x160]
mov eax, dword [ebp + 8]
add eax, 0xffffffbc
mov ecx, 0x40
call fcn.0040282c
mov ebx, 0x10
lea esi, [ebp - 0x160]
mov eax, dword [esi]
call fcn.0046a618
mov dword [esi], eax
add esi, 4
dec ebx
jne 0x46a675
mov ebx, 0x10
lea esi, [ebp - 0x120]
mov eax, ebx
sub eax, 3
cmp eax, 0x4f
jbe 0x46a69e
call fcn.00402ef8
mov eax, dword [ebp + eax*4 - 0x160]
mov edx, ebx
sub edx, 8
cmp edx, 0x4f
jbe 0x46a6b4
call fcn.00402ef8
xor eax, dword [ebp + edx*4 - 0x160]
mov edx, ebx
sub edx, 0xe
cmp edx, 0x4f
jbe 0x46a6ca
call fcn.00402ef8
xor eax, dword [ebp + edx*4 - 0x160]
mov edx, ebx
sub edx, 0x10
cmp edx, 0x4f
jbe 0x46a6e0
call fcn.00402ef8
xor eax, dword [ebp + edx*4 - 0x160]
mov edx, 1
call fcn.0046a640
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0x50
jne 0x46a68f
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x60]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
mov dword [ebp - 0xc], eax
mov ebx, 0x14
lea eax, [ebp - 0x160]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046a5f4
push eax
mov edx, 5
mov eax, esi
call fcn.0046a640
pop edx
add edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add edx, dword [eax]
add edx, 0x5a827999
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, 0x1e
mov eax, edi
call fcn.0046a640
mov dword [ebp - 4], eax
mov edi, esi
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x14], 4
dec ebx
jne 0x46a731
mov ebx, 0x14
lea eax, [ebp - 0x110]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046a600
push eax
mov edx, 5
mov eax, esi
call fcn.0046a640
pop edx
add edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add edx, dword [eax]
add edx, 0x6ed9eba1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, 0x1e
mov eax, edi
call fcn.0046a640
mov dword [ebp - 4], eax
mov edi, esi
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x18], 4
dec ebx
jne 0x46a794
mov ebx, 0x14
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046a608
push eax
mov edx, 5
mov eax, esi
call fcn.0046a640
pop edx
add edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
add edx, dword [eax]
add edx, 0x8f1bbcdc
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, 0x1e
mov eax, edi
call fcn.0046a640
mov dword [ebp - 4], eax
mov edi, esi
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x1c], 4
dec ebx
jne 0x46a7f7
mov ebx, 0x14
lea eax, [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046a600
push eax
mov edx, 5
mov eax, esi
call fcn.0046a640
pop edx
add edx, eax
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
add edx, dword [eax]
add edx, 0xca62c1d6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov edx, 0x1e
mov eax, edi
call fcn.0046a640
mov dword [ebp - 4], eax
mov edi, esi
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x20], 4
dec ebx
jne 0x46a857
mov eax, dword [ebp + 8]
add dword [eax - 0x60], esi
mov eax, dword [ebp + 8]
add dword [eax - 0x5c], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
add dword [eax - 0x58], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
add dword [eax - 0x54], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add dword [eax - 0x50], edx
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x140
call fcn.00402c18
mov eax, dword [ebp + 8]
add eax, 0xffffffbc
xor ecx, ecx
mov edx, 0x40
call fcn.00402c18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret