Function at 0x10048a10
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e4d8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x179d8
call fcn.10178bb0
mov eax, dword [0x101e6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [edi + 0x82c]
mov eax, 0x92492493
mov ecx, dword [edi + 0x830]
sub ecx, ebx
mov dword [ebp - 0x179d8], ebx
imul ecx
add edx, ecx
mov ecx, dword [ebp + 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10048e27
lea esi, [ecx*8]
push 0x17940
sub esi, ecx
lea eax, [ebp - 0x179d0]
push 0
shl esi, 3
push eax
mov dword [ebp - 0x179d4], esi
call fcn.10152e30
add esp, 0xc
lea ecx, [ebp - 0x179d0]
call fcn.10047b40
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x101c99e0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74]
push 0x40
push 0
push eax
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
mov dword [ebp - 0x78], 0xc3d2e1f0
call fcn.10152e30
mov ecx, dword [esi + ebx + 0x24]
add esp, 0xc
test ecx, ecx
je 0x10048db5
mov ebx, dword [esi + ebx + 8]
test ebx, ebx
js 0x10048b9c
mov eax, dword [ebp - 0x179d4]
xor ebx, ebx
mov edx, dword [ebp - 0x179d8]
xor esi, esi
mov eax, dword [eax + edx + 0x2c]
mov dword [ebp - 0x179dc], eax
test eax, eax
je 0x10048b96
mov edx, ecx
shl edx, 5
test ecx, ecx
js 0x10048db5
mov eax, dword [edi + 0x824]
sub eax, dword [edi + 0x820]
sar eax, 5
cmp ecx, eax
jge 0x10048db5
jae 0x10048e31
mov eax, dword [edi + 0x820]
mov eax, dword [edx + eax + 0x14]
test eax, eax
js 0x10048db5
inc esi
add ebx, eax
inc ecx
add edx, 0x20
cmp esi, dword [ebp - 0x179dc]
jb 0x10048b50
mov esi, dword [ebp - 0x179d4]
mov ecx, dword [edi + 0x830]
mov eax, 0x92492493
sub ecx, dword [edi + 0x82c]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp + 8]
jbe 0x10048e2c
mov eax, dword [edi + 0x82c]
cmp ebx, 0xffffffff
mov edx, ebx
mov esi, dword [eax + esi + 0x24]
mov eax, SysReAllocString
cmove edx, eax
mov ecx, esi
mov eax, dword [edi + 0x820]
shl ecx, 5
mov eax, dword [ecx + eax + 0x14]
cmp eax, 0xffffffff
mov ecx, SysReAllocString
mov dword [edi + 0x854], edx
cmove eax, ecx
mov dword [edi + 0x858], esi
mov ecx, dword [ebp + 8]
mov dword [edi + 0x85c], eax
lea eax, [ebp - 0x90]
mov dword [edi + 0x850], ecx
mov ecx, edi
mov dword [edi + 0x864], eax
mov dword [edi + 0x860], 0
call fcn.10048920
mov ecx, edi
call fcn.100489b0
lea ecx, [ebp - 0x90]
call fcn.100d33e0
mov eax, dword [ebp - 0x179d4]
push ecx
mov ecx, dword [ebp - 0x179d8]
push dword [eax + ecx + 4]
push dword [eax + ecx]
mov ecx, dword [edi + 0x81c]
call fcn.10047e90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x179d0]
mov eax, dword [edi + 0x81c]
mov dword [ebp - 0x17958], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x179e0]
push eax
call fcn.100d8df0
test al, al
je 0x10048db5
push 0
lea ecx, [ebp - 0x179d0]
call fcn.100d8f30
test al, al
je 0x10048db5
nop word [eax + eax]
mov dword [ebp - 0x98], 3
nop word [eax + eax]
mov eax, dword [ebp - 0x1795c]
lea ecx, [ebp - 0x1795c]
call dword [eax]
cmp eax, 0xffffffff
je 0x10048e36
test eax, eax
jne 0x10048cc0
mov eax, dword [ebp - 0x1795c]
lea ecx, [ebp - 0x1795c]
call dword [eax]
test eax, eax
jne 0x10048e40
mov eax, dword [ebp - 0x18]
mov esi, eax
test ebx, ebx
js 0x10048cfe
cmp eax, ebx
jge 0x10048d46
push 0x4000
lea ecx, [ebp - 0x179d0]
call fcn.100d8fc0
test al, al
jne 0x10048dfd
test ebx, ebx
js 0x10048d21
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jge 0x10048d46
push 0
lea ecx, [ebp - 0x179d0]
call fcn.100d90f0
push 0
lea ecx, [ebp - 0x179d0]
call fcn.100d8f30
test al, al
jne 0x10048d7e
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jl 0x10048db5
cmp dword [edi + 0x74c], 0
jne 0x10048db5
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x20], vtable.libzpaq::Writer.0
call fcn.100d7e60
lea ecx, [ebp - 0x1795c]
call fcn.10047ce0
lea ecx, [ebp - 0x179d0]
call fcn.100d7e60
mov eax, 1
jmp 0x10048ddf
test ebx, ebx
jns 0x10048cb0
cmp esi, dword [ebp - 0x18]
je 0x10048cb0
mov eax, dword [edi + 0x848]
cmp eax, dword [edi + 0x84c]
jae 0x10048cb0
mov ecx, edi
call fcn.10048800
cmp dword [edi + 0x74c], 0
je 0x10048cb0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x20], vtable.libzpaq::Writer.0
call fcn.100d7e60
lea ecx, [ebp - 0x1795c]
call fcn.10047ce0
lea ecx, [ebp - 0x179d0]
call fcn.100d7e60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10151433
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x754]
or eax, dword [edi + 0x750]
jne 0x10048db5
cmp dword [edi + 0x74c], eax
jne 0x10048db5
mov eax, dword [ebp - 0x18]
jmp 0x10048cf6
call fcn.100204e0
call fcn.100204e0
call fcn.100204e0
mov ecx, str.unexpected_EOF
call fcn.100d7670
mov ecx, str.missing_reserved_byte
call fcn.100d7670
int3