Function at 0x1007ecc0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
mov edx, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x38]
push esi
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x3c]
mov byte [edx + 0x738], 1
mov byte [edx + 0x736], 1
cmp dword [ecx + 0x14], 0x1c
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], 0
jne 0x1007ed8b
add ecx, 4
mov dword [esp + 0x70], 0
mov edx, 3
mov dword [esp + 0x74], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
cmp dword [ecx + 0x10], edx
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0xf
jbe 0x1007ed61
mov ecx, dword [ecx]
push edx
push ecx
lea ecx, [esp + 0x68]
call fcn.10002eb0
mov edx, 0x101cab04
mov dword [esp + 0x1c], 3
lea ecx, [esp + 0x60]
call fcn.1003e010
mov byte [esp + 0x23], 0
test al, al
jne 0x1007ed90
mov byte [esp + 0x23], 1
test byte [esp + 0x1c], 1
je 0x1007edcd
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x1007edcd
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007edc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f2ce
push ecx
push edx
call fcn.10151441
add esp, 8
cmp byte [esp + 0x23], 0
jne 0x1007f2d3
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
jne 0x1007f2dd
xorps xmm0, xmm0
xor esi, esi
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
cmp dword [edi + 0x14], esi
jle 0x1007ee9c
nop dword [eax]
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007ee1c
mov eax, dword [edi + 4]
movsx eax, byte [eax + esi]
push eax
call fcn.10161280
add esp, 4
test eax, eax
je 0x1007ee9c
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007ee39
mov eax, dword [edi + 4]
movsx eax, byte [eax + esi]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
shld esi, ecx, 2
cdq
shl ecx, 2
add dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
adc dword [esp + 0x28], esi
mov esi, dword [esp + 0x28]
shld esi, ecx, 1
add ecx, ecx
add ecx, eax
adc edx, esi
sub ecx, 0x30
mov dword [esp + 0x24], ecx
sbb edx, 0
mov dword [esp + 0x28], edx
test edx, edx
jg 0x1007f2e7
jl 0x1007ee88
cmp ecx, 0xffffffff
ja 0x1007f2e7
mov esi, dword [esp + 0x1c]
mov eax, edi
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [eax + 0x14]
jl 0x1007ee10
mov edi, dword [esp + 0x3c]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, 3
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
nop dword [eax + eax]
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007eedc
mov eax, dword [edi + 4]
movsx eax, byte [eax + ecx]
push eax
call fcn.10161280
add esp, 4
test eax, eax
je 0x1007ef51
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007eef9
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
movsx eax, byte [eax + ecx]
mov ecx, esi
mov esi, dword [esp + 0x14]
shld esi, ecx, 2
cdq
shl ecx, 2
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
adc dword [esp + 0x14], esi
mov esi, dword [esp + 0x14]
shld esi, ecx, 1
add ecx, ecx
add eax, ecx
mov ecx, dword [esp + 0x1c]
adc edx, esi
sub eax, 0x30
mov esi, eax
sbb edx, 0
mov dword [esp + 0x18], esi
inc ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x11
jl 0x1007eed0
jmp 0x1007ef59
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp ecx, 0x11
jne 0x1007f2c4
add esi, 0x37bfd000
adc edx, 0xffffeeb8
cmp edx, 0xa01
ja 0x1007f2c4
jb 0x1007ef88
cmp esi, 0x2317afff
ja 0x1007f2c4
mov eax, dword [esp + 0x34]
mov esi, 0x12
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007efad
mov eax, dword [edi + 4]
movsx eax, byte [eax + esi]
push eax
call fcn.10161280
add esp, 4
test eax, eax
je 0x1007f01e
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007efca
mov eax, dword [edi + 4]
movsx eax, byte [eax + esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shld esi, ecx, 2
cdq
shl ecx, 2
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
adc dword [esp + 0x18], esi
mov esi, dword [esp + 0x18]
shld esi, ecx, 1
add ecx, ecx
add ecx, eax
adc edx, esi
mov esi, dword [esp + 0x1c]
sub ecx, 0x30
mov dword [esp + 0x14], ecx
sbb edx, 0
mov dword [esp + 0x30], ecx
inc esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], esi
cmp esi, 0x1c
jl 0x1007efa1
jmp 0x1007f026
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, 0x1c
jne 0x1007f323
test edx, edx
jg 0x1007f323
jl 0x1007f042
cmp ecx, 0xffffffff
ja 0x1007f323
mov edi, dword [esp + 0x58]
cmp dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
jbe 0x1007f05a
mov dword [edi + 0x14], 0
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 4]
mov esi, dword [esp + 0x24]
xorps xmm0, xmm0
push 0x40
mov dword [edi + 0x18], esi
mov dword [ecx + 0x178c4], eax
lea eax, [esp + 0xa0]
push 0
push eax
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xa4], 0xc3d2e1f0
call fcn.10152e30
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x8c]
add esp, 0xc
mov dword [eax + 0x178c8], ecx
mov eax, dword [esp + 0x3c]
add eax, 4
cmp dword [eax + 0x14], 0xf
jbe 0x1007f0e5
mov eax, dword [eax]
movsx eax, byte [eax + 0x11]
push eax
push 0x101cab84
call fcn.10153900
add esp, 8
test eax, eax
je 0x1007f207
mov eax, dword [ebp + 0x34]
movsd xmm0, qword [eax]
comisd xmm0, xmmword [0x101d2418]
ja 0x1007f2f1
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
call fcn.100d8fc0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
xorps xmm0, xmm0
mov dword [esp + 0x100], 0
push eax
movaps xmmword [esp + 0xf4], xmm0
mov byte [esp + 0x108], 0
call fcn.100d90f0
xor eax, eax
cmp dword [edi + 0x10], esi
jne 0x1007f30f
mov edx, dword [esp + 0x28]
cmp eax, edx
jne 0x1007f30f
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
shrd eax, ecx, 3
shr ecx, 3
cmp esi, eax
jne 0x1007f305
cmp edx, ecx
jne 0x1007f305
cmp byte [esp + 0xf0], 0
je 0x1007f1c5
lea ecx, [esp + 0x80]
call fcn.100d33e0
lea edx, [esp + 0xf1]
mov esi, 0x10
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1007f2fb
add edx, 4
add eax, 4
sub esi, 4
jae 0x1007f1b0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x18]
lea eax, [edx + 4]
cmp ecx, 0xf
jbe 0x1007f1da
mov eax, dword [eax]
cmp byte [eax + 0x11], 0x63
jne 0x1007f216
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x2c]
push dword [esp + 0x60]
push dword [esp + 0x50]
push dword [ebp + 0x10]
push dword [esp + 0x68]
push edi
push esi
call fcn.1007f330
jmp 0x1007f245
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 0
call fcn.100d90f0
jmp 0x1007f1c9
lea eax, [edx + 4]
cmp ecx, 0xf
jbe 0x1007f220
mov eax, dword [eax]
cmp byte [eax + 0x11], 0x68
jne 0x1007f279
push dword [ebp + 0x24]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x60]
push edi
call fcn.1007f6a0
test al, al
je 0x1007f261
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0x38
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0x38
lea eax, [edx + 4]
cmp ecx, 0xf
jbe 0x1007f283
mov eax, dword [eax]
cmp byte [eax + 0x11], 0x69
jne 0x1007f319
push dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
push edi
call fcn.1007fae0
mov ecx, dword [esp + 0x11c]
test al, al
pop edi
setne al
pop esi
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0x38
mov ecx, str.bad_date
call fcn.100d7670
call fcn.10155291
mov ecx, str.bad_journaling_block_name
call fcn.100d7670
mov ecx, str.mixed_journaling_and_streaming_block
call fcn.100d7670
mov ecx, str.journaling_block_too_big
call fcn.100d7670
mov ecx, str.index_block_requires_too_much_memory
call fcn.100d7670
mov ecx, str.bad_checksum
call fcn.100d7670
mov ecx, str.bad_checksum_size
call fcn.100d7670
mov ecx, str.bad_block_size
call fcn.100d7670
mov ecx, str.Unexpected_journaling_block
call fcn.100d7670
mov ecx, str.bad_fragment
call fcn.100d7670
int3