Function at 0x4827f5
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x67452301
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
mov dword [ebp - 8], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x168], eax
and dword [ebp - 0x15c], 0
cmp dword [ebp + 0xc], 0x40
jb 0x48291c
mov eax, dword [ebp + 0xc]
sub eax, 0x40
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x174]
ja 0x48291c
mov eax, dword [ebp - 0x15c]
add eax, 0x40
mov dword [ebp - 0x16c], eax
and dword [ebp - 0x170], 0
jmp 0x48288a
mov eax, dword [ebp - 0x15c]
add eax, 4
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x16c]
jae 0x482905
mov eax, dword [ebp - 0x168]
add eax, dword [ebp - 0x15c]
movzx eax, byte [eax + 3]
mov ecx, dword [ebp - 0x168]
add ecx, dword [ebp - 0x15c]
movzx ecx, byte [ecx + 2]
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0x168]
add ecx, dword [ebp - 0x15c]
movzx ecx, byte [ecx + 1]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x168]
add ecx, dword [ebp - 0x15c]
movzx ecx, byte [ecx]
shl ecx, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x170]
mov dword [ebp + ecx*4 - 0x158], eax
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
jmp 0x48287b
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044dddb
pop ecx
pop ecx
jmp 0x482851
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x158]
push eax
call fcn.0044ddb9
pop ecx
and dword [ebp - 0x160], 0
jmp 0x48294e
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x16c]
jae 0x4829a9
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x168]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x160]
and ecx, 3
push 3
pop edx
sub edx, ecx
shl edx, 3
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x160]
shr ecx, 2
or eax, dword [ebp + ecx*4 - 0x158]
mov ecx, dword [ebp - 0x160]
shr ecx, 2
mov dword [ebp + ecx*4 - 0x158], eax
jmp 0x482941
mov eax, dword [ebp - 0x160]
and eax, 3
push 3
pop ecx
sub ecx, eax
shl ecx, 3
mov eax, 0x80
shl eax, cl
mov ecx, dword [ebp - 0x160]
shr ecx, 2
or eax, dword [ebp + ecx*4 - 0x158]
mov ecx, dword [ebp - 0x160]
shr ecx, 2
mov dword [ebp + ecx*4 - 0x158], eax
cmp dword [ebp - 0x16c], 0x38
jb 0x482a09
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044dddb
pop ecx
pop ecx
lea eax, [ebp - 0x158]
push eax
call fcn.0044ddb9
pop ecx
mov eax, dword [ebp + 0xc]
shl eax, 3
push 4
pop ecx
imul ecx, ecx, 0xf
mov dword [ebp + ecx - 0x158], eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044dddb
pop ecx
pop ecx
mov dword [ebp - 0x164], 0x14
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
js 0x482a77
mov eax, dword [ebp - 0x164]
sar eax, 2
push 3
pop ecx
sub ecx, dword [ebp - 0x164]
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax*4 - 0x18]
shr eax, cl
and eax, 0xff
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x164]
mov byte [ecx], al
jmp 0x482a38
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051dfa2
leave
ret