Function at 0x49e690
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x180], eax
push esi
mov dword [ebp - 0x17c], ebx
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 0x24
jb 0x49e6ee
lea eax, [ecx + 0x24]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x49e6d5
mov eax, dword [ebx]
push 0x24
lea esi, [eax + ecx]
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
push esi
call fcn.0061a6c0
add esp, 0xc
mov byte [esi + 0x24], 0
jmp 0x49e70b
push 0x24
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
mov byte [ebp - 0x174], 0
mov ecx, ebx
push dword [ebp - 0x174]
push 0x24
call fcn.0044ebc0
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], ebx
jb 0x49e72a
mov edx, dword [ebx]
mov dword [ebp - 0x178], edx
xor esi, esi
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
push edi
cmp eax, 0x40
jb 0x49e7cc
mov ebx, dword [ebp - 0x178]
nop dword [eax + eax]
lea edi, [esi + 0x40]
cmp esi, edi
jae 0x49e79f
lea edx, [ebp - 0x170]
nop dword [eax]
movzx ecx, byte [ebx + esi]
lea edx, [edx + 4]
movzx eax, byte [ebx + esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 3]
shl ecx, 8
add esi, 4
or ecx, eax
mov dword [edx - 4], ecx
cmp esi, edi
jb 0x49e770
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x2c]
call fcn.0047c7b0
mov eax, dword [ebp - 0x174]
add eax, 0xffffffc0
cmp esi, eax
jbe 0x49e760
mov ebx, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x174]
mov ecx, eax
mov eax, 0xf
sub ecx, esi
mov dword [ebp - 0x174], ecx
nop dword [eax + eax]
mov dword [ebp + eax*4 - 0x170], 0
sub eax, 1
jns 0x49e7e0
xor edi, edi
test ecx, ecx
je 0x49e845
lea eax, [esi + edx]
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
lea ebx, [edi + 3]
nop dword [eax + eax]
mov eax, edi
lea edx, [ebp - 0x170]
shr eax, 2
mov ecx, ebx
lea edx, [edx + eax*4]
mov eax, edi
and eax, 3
sub ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 3
movzx eax, byte [eax + edi]
inc edi
shl eax, cl
or dword [edx], eax
cmp edi, esi
jb 0x49e810
mov ebx, dword [ebp - 0x17c]
jmp 0x49e84b
mov esi, dword [ebp - 0x174]
mov eax, edi
lea edx, [ebp - 0x170]
shr eax, 2
and edi, 3
mov ecx, 3
lea edx, [edx + eax*4]
sub ecx, edi
mov eax, 0x80
shl ecx, 3
shl eax, cl
or dword [edx], eax
pop edi
cmp esi, 0x38
jb 0x49e8a0
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x2c]
call fcn.0047c7b0
mov eax, 0xf
nop dword [eax + eax]
mov dword [ebp + eax*4 - 0x170], 0
sub eax, 1
jns 0x49e890
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x170]
shl eax, 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x134], eax
call fcn.0047c7b0
mov edx, 0x13
nop
mov eax, edx
mov ecx, edx
sar eax, 2
not ecx
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax*4 - 0x2c]
shr eax, cl
mov byte [ebp + edx - 0x18], al
sub edx, 1
jns 0x49e8c0
push 0x14
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0047b080
mov esi, eax
add esp, 4
cmp ebx, esi
je 0x49e91c
mov ecx, ebx
call fcn.0044e190
movups xmm0, xmmword [esi]
movups xmmword [ebx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x49e94c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49e942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e98e
push edx
push ecx
call fcn.0060223e
add esp, 8
mov ebx, dword [ebp - 0x180]
push 0x6efa14
push 0x450a50
push 0x6efa4c
mov dword [ebx], 0
call fcn.005fe6fd
add esp, 0xc
test eax, eax
je 0x49e993
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
mov dword [ebx + 4], 0x6efa14
xor ecx, ebp
pop ebx
call fcn.006021fd
mov esp, ebp
pop ebp
ret 8
call fcn.00621ffe
call fcn.0062204e
int3