Function at 0x4c9900
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push ebx
push esi
push edi
lea edi, [ebp - 0x2b4]
mov ecx, 0xad
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
shl eax, 3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
and eax, 0x8000003f
jns 0x4c9957
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4c9969
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0x40
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x4c9988
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
shl eax, 6
cmp dword [ebp - 8], eax
jge 0x4c999e
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4c997f
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov byte [eax], 0x80
mov eax, dword [ebp - 0x38]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
shl ecx, 6
mov edx, dword [ebp + 8]
mov byte [edx + ecx - 1], al
mov eax, dword [ebp - 0x38]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x14]
shl ecx, 6
mov edx, dword [ebp + 8]
mov byte [edx + ecx - 2], al
mov eax, dword [ebp - 0x38]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0x14]
shl ecx, 6
mov edx, dword [ebp + 8]
mov byte [edx + ecx - 3], al
mov eax, dword [ebp - 0x38]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 0x14]
shl ecx, 6
mov edx, dword [ebp + 8]
mov byte [edx + ecx - 4], al
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
mov dword [ebp - 8], 0
jmp 0x4c9a39
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jge 0x4c9c7b
mov dword [ebp - 0x44], 0
jmp 0x4c9a57
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x50
jae 0x4c9b47
cmp dword [ebp - 0x44], 0x10
jae 0x4c9aff
mov eax, dword [ebp - 8]
shl eax, 6
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
movzx edx, byte [eax + ecx*4]
shl edx, 0x18
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1e4], edx
mov eax, dword [ebp - 8]
shl eax, 6
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
movzx edx, byte [eax + ecx*4 + 1]
shl edx, 0x10
mov eax, dword [ebp - 0x44]
add edx, dword [ebp + eax*4 - 0x1e4]
mov ecx, dword [ebp - 0x44]
mov dword [ebp + ecx*4 - 0x1e4], edx
mov eax, dword [ebp - 8]
shl eax, 6
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
movzx edx, byte [eax + ecx*4 + 2]
shl edx, 8
mov eax, dword [ebp - 0x44]
add edx, dword [ebp + eax*4 - 0x1e4]
mov ecx, dword [ebp - 0x44]
mov dword [ebp + ecx*4 - 0x1e4], edx
mov eax, dword [ebp - 8]
shl eax, 6
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp + eax*4 - 0x1e4]
mov ecx, dword [ebp - 0x44]
mov dword [ebp + ecx*4 - 0x1e4], edx
jmp 0x4c9b42
cmp dword [ebp - 0x44], 0x50
jae 0x4c9b42
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + eax*4 - 0x1f0]
xor edx, dword [ebp + ecx*4 - 0x204]
mov eax, dword [ebp - 0x44]
xor edx, dword [ebp + eax*4 - 0x21c]
mov ecx, dword [ebp - 0x44]
xor edx, dword [ebp + ecx*4 - 0x224]
push edx
push 1
call fcn.004bd14e
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp + edx*4 - 0x1e4], eax
jmp 0x4c9a4e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x44], 0
jmp 0x4c9b80
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x50
jae 0x4c9c40
mov eax, dword [ebp - 0x6c]
push eax
push 5
call fcn.004bd14e
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004be5f3
add esp, 0x10
add esi, eax
mov dword [ebp - 0x1f0], esi
mov eax, dword [ebp - 0x1f0]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x44]
push eax
call fcn.004bee27
add esp, 4
add eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1f0]
add ecx, dword [ebp + eax*4 - 0x1e4]
mov dword [ebp - 0x1f0], ecx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
push eax
push 0x1e
call fcn.004bd14e
add esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x6c], eax
jmp 0x4c9b77
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
jmp 0x4c9a30
mov eax, dword [ebp - 0x60]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 3], al
mov eax, dword [ebp - 0x60]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x60]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x60]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp - 0x5c]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 7], al
mov eax, dword [ebp - 0x5c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 6], al
mov eax, dword [ebp - 0x5c]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x58]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xb], al
mov eax, dword [ebp - 0x58]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xa], al
mov eax, dword [ebp - 0x58]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 9], al
mov eax, dword [ebp - 0x58]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x54]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xf], al
mov eax, dword [ebp - 0x54]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x54]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xd], al
mov eax, dword [ebp - 0x54]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0xc], al
mov eax, dword [ebp - 0x50]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x13], al
mov eax, dword [ebp - 0x50]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x12], al
mov eax, dword [ebp - 0x50]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x11], al
mov eax, dword [ebp - 0x50]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x10], al
push edx
mov ecx, ebp
push eax
lea edx, [0x4c9de4]
call fcn.004c0eed
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x2b4
cmp ebp, esp
call fcn.004bf697
mov esp, ebp
pop ebp
ret