Function at 0x4c8be0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4c8c05
mov dword [ebp - 0x64], 0xfffffffe
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x1c]
test edi, edi
je case.default.0x4c8c7a
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x74], edx
test edx, edx
je case.default.0x4c8c7a
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x4c9c3a
mov eax, dword [edi]
cmp eax, 0xb
je 0x4c9c07
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
mov esi, dword [esi + 0x10]
mov edx, dword [edx + 4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x68], esi
lea edx, [edi + 0x2f0]
lea esi, [edi + 0x530]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
cmp eax, 0x1e
ja case.default.0x4c8c7a
jmp dword [eax*4 + 0x5cbaf0]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov cl, bl
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
add ebx, 8
mov dword [ebp - 0x34], ecx
cmp ebx, 0xf
jbe 0x4c8c81
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x10], eax
cmp al, 8
je 0x4ca287
mov edx, dword [ebp + 8]
mov dword [edi], 0x1d
mov dword [edx + 0x18], str.unknown_compression_method
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov cl, bl
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
add ebx, 8
mov dword [ebp - 0x34], ecx
cmp ebx, 0xd
jbe 0x4c8cd4
mov eax, dword [ebp - 0x34]
sub ebx, 0xe
and eax, 0x1f
add eax, 0x101
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x34]
shr eax, 5
and eax, 0x1f
inc eax
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x34]
shr eax, 0xa
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
and eax, 0xf
add eax, 4
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x34]
shr eax, 4
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x60], 0x11e
ja 0x4ca046
cmp dword [edi + 0x64], 0x1e
ja 0x4ca046
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x68]
mov dword [ebp - 0xb8], eax
cmp dword [edi + 0x5c], eax
lea esi, [eax + eax + 0x5cbb80]
jbe 0x4c8de8
cmp ebx, 2
ja 0x4c8dab
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
add ebx, 8
mov dword [ebp - 0x34], ecx
mov ax, word [esi]
mov edx, dword [ebp - 0x34]
and eax, 0xffff
mov ecx, dword [ebp - 0xb8]
and edx, 7
inc ecx
mov word [edi + eax*2 + 0x70], dx
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xb8]
shr edx, 3
sub ebx, 3
add esi, 2
mov dword [edi + 0x68], eax
mov dword [ebp - 0x34], edx
cmp dword [edi + 0x5c], eax
ja 0x4c8d7a
cmp dword [ebp - 0xb8], 0x12
ja 0x4c8e2b
mov esi, dword [ebp - 0xb8]
lea edx, [esi + esi + 0x5cbb80]
mov ax, word [edx]
add edx, 2
and eax, 0xffff
mov word [edi + eax*2 + 0x70], 0
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x68], eax
cmp eax, 0x13
jne 0x4c8dfe
mov eax, dword [ebp - 0x9c]
mov dword [edi + 0x54], 7
mov dword [edi + 0x6c], eax
mov dword [edi + 0x4c], eax
push eax
push eax
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [edi + 0x54]
push eax
lea eax, [edi + 0x6c]
push eax
lea eax, [edi + 0x70]
push 0x13
push eax
push 0
call fcn.004ca760
add esp, 0x20
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4c9866
mov edx, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [edx + 0x18], str.invalid_code_lengths_set
jmp 0x4c8c71
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
xor eax, eax
dec ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x78]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
add edx, eax
inc esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], esi
add ebx, 8
cmp ebx, 0x1f
jbe 0x4c8e81
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
shr eax, 8
mov ecx, dword [ebp - 0x34]
shr edx, 0x18
and eax, 0xff00
add eax, edx
mov edx, dword [ebp - 0x34]
and edx, 0xff00
mov esi, dword [ebp + 8]
shl ecx, 0x18
mov dword [edi], 0xa
shl edx, 8
mov dword [ebp - 0x34], ecx
add eax, edx
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ebp - 0x34], 0
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4ca4e4
push eax
push 0
push 0
push 0
call fcn.004cba90
mov esi, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [edi], 0xb
mov dword [esi + 0x30], eax
add esp, 0x10
mov eax, dword [ebp + 0xc]
sub eax, 5
cmp eax, 1
ja case.0x4c8c7a.12
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0xc], esi
mov esi, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], esi
mov eax, dword [ebp - 0x34]
mov esi, dword [edi + 0x28]
mov dword [ecx], edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebx
test esi, esi
jne 0x4c8f78
mov edx, dword [ebp - 0x68]
cmp dword [ecx + 0x10], edx
je 0x4c8f95
mov eax, dword [edi]
cmp eax, 0x1c
ja 0x4c8f95
cmp eax, 0x19
jbe 0x4c8f78
cmp dword [ebp + 0xc], 4
je 0x4c8f95
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
mov eax, esi
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
sub ecx, ebx
call fcn.004c89e0
test eax, eax
jne 0x4c9854
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0x10]
sub ebx, edx
sub esi, ecx
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 8]
add ecx, esi
add edx, ebx
mov dword [eax + 0x14], edx
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 8]
add ecx, ebx
test edx, edx
mov dword [edi + 0x1c], ecx
je 0x4c8ff3
test ebx, ebx
je 0x4c8ff3
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4c9c1e
push edx
push ebx
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
cmp dword [edi + 4], 1
sbb eax, eax
mov edx, dword [edi + 0x3c]
xor eax, 0xffffffff
and eax, 0x40
add eax, edx
mov edx, dword [edi]
cmp edx, 0xb
je 0x4c9c14
cmp edx, 0x13
je 0x4c9bfd
xor ecx, ecx
cmp edx, 0xe
je 0x4c9bfd
add eax, ecx
mov ecx, dword [ebp + 8]
or ebx, esi
mov dword [ecx + 0x2c], eax
je 0x4c9039
cmp dword [ebp + 0xc], 4
jne 0x4c8bfa
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x4c8bfa
mov dword [ebp - 0x64], 0xfffffffb
jmp 0x4c8bfa
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4c9062
mov eax, dword [ebp - 0x34]
shr eax, 8
and eax, 1
mov dword [edx], eax
test byte [edi + 0x11], 2
jne 0x4ca49d
mov dword [edi], 2
xor ebx, ebx
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
xor eax, eax
dec ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x78]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
add edx, eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], eax
add ebx, 8
cmp ebx, 0x1f
jbe 0x4c907b
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c90bc
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], edx
test byte [edi + 0x11], 2
jne 0x4ca239
mov dword [edi], 3
xor ebx, ebx
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x78]
dec ecx
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov cl, bl
mov al, byte [esi]
mov edx, dword [ebp - 0x34]
shl eax, cl
add edx, eax
inc esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], esi
add ebx, 8
cmp ebx, 0xf
jbe 0x4c90d5
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4c911d
movzx eax, byte [ebp - 0x34]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
shr eax, 8
mov dword [edx + 0xc], eax
test byte [edi + 0x11], 2
jne 0x4ca0a0
mov dword [edi], 4
mov dword [ebp - 0x34], 0
xor ebx, ebx
test byte [edi + 0x11], 4
jne 0x4c93c2
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c914e
mov dword [eax + 0x10], 0
mov dword [edi], 5
mov edx, dword [edi + 0x10]
test dh, 4
je 0x4c91ed
mov eax, dword [edi + 0x40]
mov esi, dword [ebp - 0x2c]
cmp esi, eax
jbe 0x4c916c
mov esi, eax
test esi, esi
je 0x4c91e5
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xa4], ecx
test ecx, ecx
je 0x4c91c4
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x94], ecx
test ecx, ecx
je 0x4c91c4
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x40], esi
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub edx, eax
lea eax, [esi + edx]
cmp eax, ecx
jbe 0x4c91a7
sub ecx, edx
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x40]
add eax, edx
push edx
mov edx, dword [ebp - 0x78]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [edi + 0x10]
add esp, 0x10
and dh, 2
jne 0x4ca21f
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x2c]
add eax, esi
sub edx, esi
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x40]
sub eax, esi
mov dword [ebp - 0x2c], edx
mov dword [edi + 0x40], eax
test eax, eax
jne 0x4c8f34
mov dword [edi + 0x40], 0
mov dword [edi], 6
test byte [edi + 0x11], 8
je 0x4c9c79
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
xor esi, esi
mov edx, dword [ebp - 0x78]
mov dl, byte [esi + edx]
inc esi
mov byte [ebp - 0x8d], dl
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4c9241
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x4c9241
mov eax, dword [edi + 0x40]
cmp eax, dword [edx + 0x20]
jae 0x4c9241
mov dl, byte [ebp - 0x8d]
mov byte [ecx + eax], dl
inc eax
mov dword [edi + 0x40], eax
cmp byte [ebp - 0x8d], 0
jne 0x4c9bef
test byte [edi + 0x11], 2
jne 0x4c9f59
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
sub eax, esi
add ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x78], ecx
cmp byte [ebp - 0x8d], 0
jne 0x4c8f34
mov dword [edi + 0x40], 0
mov dword [edi], 7
test byte [edi + 0x11], 0x10
je 0x4c9c4a
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x4c8f34
xor esi, esi
mov ecx, dword [ebp - 0x78]
mov edx, dword [edi + 0x20]
mov cl, byte [esi + ecx]
inc esi
mov byte [ebp - 0x2d], cl
test edx, edx
je 0x4c92c3
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x4c92c3
mov eax, dword [edi + 0x40]
cmp eax, dword [edx + 0x28]
jae 0x4c92c3
mov dl, byte [ebp - 0x2d]
mov byte [ecx + eax], dl
inc eax
mov dword [edi + 0x40], eax
cmp byte [ebp - 0x2d], 0
jne 0x4c9be1
test byte [edi + 0x11], 2
jne 0x4c9e28
mov eax, dword [ebp - 0x2c]
sub eax, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
add eax, esi
mov dword [ebp - 0x78], eax
cmp byte [ebp - 0x2d], 0
jne 0x4c8f34
mov dword [edi], 8
mov edx, dword [edi + 0x10]
test dh, 2
jne 0x4c936a
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c9316
sar edx, 9
mov dword [eax + 0x30], 1
and edx, 1
mov dword [eax + 0x2c], edx
push eax
push 0
push 0
push 0
call fcn.004cb320
mov edx, dword [ebp + 8]
mov dword [edi], 0xb
mov dword [edi + 0x18], eax
add esp, 0x10
mov dword [edx + 0x30], eax
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov al, byte [ecx]
mov cl, bl
shl eax, cl
mov ecx, dword [ebp - 0x34]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x78], eax
cmp ebx, 0xf
jbe 0x4c933b
movzx eax, word [edi + 0x18]
cmp eax, dword [ebp - 0x34]
je 0x4ca05d
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x4c8c71
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
xor eax, eax
dec ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x78]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
add edx, eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], eax
add ebx, 8
cmp ebx, 0xf
jbe 0x4c9393
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c93da
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x14], edx
test byte [edi + 0x11], 2
jne 0x4ca2c2
xor ebx, ebx
mov dword [ebp - 0x34], 0
jmp 0x4c914e
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9c61
cmp ebx, 2
ja 0x4c942e
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov cl, bl
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
add ebx, 8
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
and eax, 1
lea ecx, [ebx - 1]
shr edx, 1
mov dword [edi + 4], eax
mov eax, edx
and eax, 3
cmp eax, 1
je 0x4ca1c3
jae 0x4ca06b
mov dword [edi], 0xd
shr edx, 2
lea ebx, [ecx - 2]
mov eax, dword [edi]
mov dword [ebp - 0x34], edx
jmp 0x4c8c71
mov dword [edi + 0x40], edx
mov dword [edi], 0xe
cmp dword [ebp + 0xc], 6
je 0x4ca591
mov dword [ebp - 0x34], 0
xor ebx, ebx
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4c9daa
mov edx, dword [ebp - 0x6c]
cmp edx, eax
jbe 0x4c949f
mov edx, eax
mov esi, edx
cmp edx, dword [ebp - 0x2c]
jbe 0x4c94a9
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
push eax
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x2c]
sub eax, esi
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
add eax, esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
sub eax, esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
add eax, esi
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x40]
sub eax, esi
mov dword [edi + 0x40], eax
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [ebp - 0x38]
mov dword [edi], 0x17
and eax, 0xffff
mov dword [edi + 0x44], eax
mov al, byte [ebp - 0xb8]
and eax, 0xf
mov dword [edi + 0x48], eax
mov esi, dword [edi + 0x48]
test esi, esi
je 0x4c9574
cmp ebx, esi
jae 0x4c954a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
add ebx, 8
shl eax, cl
mov ecx, dword [ebp - 0x34]
inc edx
add ecx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
cmp esi, ebx
ja 0x4c951a
mov ecx, esi
mov eax, 1
shl eax, cl
mov edx, dword [ebp - 0x34]
dec eax
and eax, edx
mov edx, dword [edi + 0x44]
add edx, eax
mov eax, dword [edi + 0x1bc4]
shr dword [ebp - 0x34], cl
add eax, esi
mov dword [edi + 0x44], edx
sub ebx, esi
mov dword [edi + 0x1bc4], eax
mov dword [edi], 0x18
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
sub edx, eax
mov eax, dword [edi + 0x44]
cmp edx, eax
jae 0x4c9db7
sub eax, edx
mov edx, eax
cmp eax, dword [edi + 0x2c]
jbe 0x4c9e08
mov eax, dword [edi + 0x1bc0]
test eax, eax
je 0x4c9e08
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], 0x5cbaa5
jmp 0x4c8c71
mov dword [edi], 0x13
cmp dword [ebp + 0xc], 6
je 0x4c8f34
mov dword [edi], 0x14
cmp dword [ebp - 0x2c], 5
jbe 0x4c9c90
cmp dword [ebp - 0x6c], 0x101
jbe 0x4c9c90
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x6c]
mov dword [edx + 0xc], ecx
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x10], esi
mov dword [edx + 4], ecx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebx
push eax
push eax
mov eax, dword [ebp - 0x68]
push eax
push edx
call fcn.004cad80
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x74], edx
mov ecx, dword [ecx + 0x10]
mov esi, dword [esi]
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x38]
add esp, 0x10
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
mov ebx, dword [edi + 0x3c]
cmp dword [edi], 0xb
jne 0x4c8cd0
mov eax, dword [edi]
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x4c8c71
and eax, 0xf
mov dword [edi], 0x15
mov dword [edi + 0x48], eax
mov esi, dword [edi + 0x48]
test esi, esi
je 0x4c96e0
cmp ebx, esi
jae 0x4c96b6
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
add ebx, 8
shl eax, cl
mov ecx, dword [ebp - 0x34]
inc edx
add ecx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
cmp esi, ebx
ja 0x4c9686
mov ecx, esi
mov eax, 1
shl eax, cl
mov edx, dword [ebp - 0x34]
dec eax
and eax, edx
mov edx, dword [edi + 0x40]
add edx, eax
mov eax, dword [edi + 0x1bc4]
shr dword [ebp - 0x34], cl
add eax, esi
mov dword [edi + 0x40], edx
sub ebx, esi
mov dword [edi + 0x1bc4], eax
mov eax, dword [edi + 0x40]
mov dword [edi], 0x16
mov dword [edi + 0x1bc8], eax
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov esi, dword [edi + 0x50]
mov dword [ebp - 0x7c], esi
lea esi, [eax - 1]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
and eax, esi
lea eax, [edx + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x38], cx
mov dl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp - 0xb8], al
xor eax, eax
mov al, dl
cmp ebx, eax
jae 0x4c977a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x34], ecx
add ebx, 8
mov eax, dword [ebp - 0x34]
and eax, esi
lea eax, [edx + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x38], cx
mov dl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp - 0xb8], al
xor eax, eax
mov al, dl
cmp eax, ebx
ja 0x4c9728
mov al, byte [ebp - 0xb8]
and eax, 0xff
mov dword [ebp - 0x60], eax
test al, 0xf0
je 0x4c9e42
mov cl, dl
and ecx, 0xff
mov esi, ecx
xor eax, eax
mov ecx, esi
mov al, dl
sub ebx, eax
mov eax, dword [edi + 0x1bc4]
add eax, esi
shr dword [ebp - 0x34], cl
mov dword [edi + 0x1bc4], eax
test byte [ebp - 0x60], 0x40
je 0x4c94f2
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], 0x5cba8f
jmp 0x4c8c71
mov eax, dword [edi + 8]
test eax, eax
jne 0x4c99f3
mov dword [edi], 0x1b
mov eax, dword [edi + 8]
test eax, eax
je 0x4c9943
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c982c
jmp 0x4c9943
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x78]
dec ecx
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov cl, bl
mov al, byte [esi]
mov edx, dword [ebp - 0x34]
shl eax, cl
add edx, eax
inc esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], esi
add ebx, 8
cmp ebx, 0x1f
jbe 0x4c9800
mov eax, dword [ebp - 0x34]
cmp dword [edi + 0x1c], eax
je 0x4c993a
mov edx, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x4c8c71
mov dword [edi], 0x1e
mov dword [ebp - 0x64], 0xfffffffc
jmp 0x4c8bfa
mov dword [edi + 0x68], 0
mov dword [edi], 0x12
mov esi, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x68]
add esi, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x5c], eax
jae 0x4ca513
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
dec eax
mov edx, dword [edi + 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
and eax, ecx
lea eax, [edx + eax*4]
mov cl, byte [eax + 1]
mov dx, word [eax + 2]
mov al, cl
and eax, 0xff
mov esi, eax
cmp ebx, eax
jae 0x4c9917
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov cl, bl
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x34]
add ebx, 8
and eax, edx
lea eax, [esi + eax*4]
mov cl, byte [eax + 1]
mov dx, word [eax + 2]
mov al, cl
and eax, 0xff
mov esi, eax
cmp eax, ebx
ja 0x4c98c9
cmp dx, 0xf
ja 0x4c9f73
shr dword [ebp - 0x34], cl
mov ecx, dword [ebp - 0x5c]
sub ebx, esi
mov word [edi + ecx*2 + 0x70], dx
inc ecx
mov dword [ebp - 0x5c], ecx
mov dword [edi + 0x68], ecx
jmp 0x4c9887
mov dword [ebp - 0x34], 0
xor ebx, ebx
mov dword [edi], 0x1c
mov dword [ebp - 0x64], 1
jmp 0x4c8f34
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [ebp - 0x34], cl
cmp ebx, 0x1f
ja 0x4c9996
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov cl, bl
mov al, byte [edx]
add ebx, 8
shl eax, cl
mov ecx, dword [ebp - 0x34]
inc edx
add ecx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
cmp ebx, 0x1f
jbe 0x4c9965
mov eax, dword [ebp - 0x34]
shr eax, 0x10
movzx edx, word [ebp - 0x34]
xor eax, 0xffff
cmp edx, eax
je 0x4c9469
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x4c8c71
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4c8f34
mov ecx, dword [ebp - 0x2c]
xor eax, eax
dec ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x78]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
add edx, eax
inc esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x78], esi
add ebx, 8
cmp ebx, 0x1f
jbe 0x4c99c4
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [esi + 0x14]
sub eax, ecx
add edx, eax
mov dword [esi + 0x14], edx
mov esi, dword [edi + 0x1c]
add esi, eax
test eax, eax
mov dword [edi + 0x1c], esi
je 0x4c9a3f
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4ca44e
push edx
mov edx, dword [ebp - 0x74]
sub edx, eax
push eax
push edx
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov esi, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x34]
test edx, edx
jne 0x4c9a6f
mov edx, eax
shr edx, 8
shr eax, 0x18
and edx, 0xff00
add edx, eax
mov eax, dword [ebp - 0x34]
and eax, 0xff00
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x34]
shl eax, 0x18
lea eax, [edx + eax]
cmp eax, dword [edi + 0x18]
je 0x4ca467
mov eax, dword [ebp + 8]
mov dword [edi], 0x1d
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [edi]
mov dword [ebp - 0x68], edx
jmp 0x4c8c71
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4c8f34
mov edx, dword [ebp - 0x74]
mov eax, dword [edi + 0x40]
mov byte [edx], al
inc edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], edx
dec eax
mov dword [ebp - 0x6c], eax
mov dword [edi], 0x14
mov eax, dword [edi]
jmp 0x4c8c71
mov edx, dword [edi + 8]
test edx, edx
jne 0x4c9b03
mov dword [edi], 0xc
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
dec eax
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [ecx]
mov cl, bl
shl eax, cl
mov ecx, dword [ebp - 0x78]
add esi, eax
inc ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x78], ecx
add ebx, 8
cmp ebx, 0xf
jbe 0x4c9ad4
and edx, 2
je 0x4c9b1a
cmp dword [ebp - 0x34], 0x8b1f
je 0x4ca306
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x4c9b2f
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x4ca2ab
movzx eax, byte [ebp - 0x34]
shl eax, 8
mov edx, dword [ebp - 0x34]
shr edx, 8
add eax, edx
mov edx, 0x1f
mov esi, edx
xor edx, edx
div esi
test edx, edx
jne 0x4ca2ab
mov eax, dword [ebp - 0x34]
and eax, 0xf
cmp eax, 8
jne 0x4c8cc0
mov eax, dword [ebp - 0x34]
shr eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
and eax, 0xf
lea ecx, [eax + 8]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4ca47b
mov dword [edi + 0x24], ecx
mov eax, 1
shl eax, cl
mov dword [edi + 0x14], eax
push eax
push 0
push 0
push 0
call fcn.004cba90
mov esi, dword [ebp + 8]
mov dword [edi + 0x18], eax
add esp, 0x10
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x34]
and eax, 0x200
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
sbb eax, eax
xor ebx, ebx
and eax, 2
mov dword [ebp - 0x34], 0
add eax, 9
mov dword [edi], eax
mov eax, dword [edi]
jmp 0x4c8c71
mov dword [ebp - 0x64], 0xfffffffd
jmp 0x4c8f34
cmp esi, dword [ebp - 0x2c]
jb 0x4c9299
jmp 0x4c92cd
cmp esi, dword [ebp - 0x2c]
jb 0x4c9211
jmp 0x4c924e
mov ecx, 0x100
jmp 0x4c9023
mov al, 0xc
mov dword [edi], 0xc
jmp 0x4c8c31
sub eax, 0xffffff80
xor ecx, ecx
jmp 0x4c9023
mov ecx, dword [ebp + 8]
push eax
push ebx
mov eax, dword [ecx + 0xc]
sub eax, ebx
push eax
mov ecx, dword [edi + 0x18]
push ecx
call fcn.004cba90
add esp, 0x10
jmp 0x4c8fea
mov eax, dword [eax + 4]
test eax, eax
je 0x4c8c26
jmp case.default.0x4c8c7a
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c92f1
mov dword [eax + 0x24], 0
jmp 0x4c92f1
mov ecx, ebx
mov dword [edi], 0x1a
and ecx, 7
and ebx, 0xfffffff8
shr dword [ebp - 0x34], cl
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4c9275
mov dword [eax + 0x1c], 0
jmp 0x4c9275
mov ecx, dword [edi + 0x4c]
mov eax, 1
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi + 0x54]
shl eax, cl
mov edx, dword [ebp - 0x8c]
mov dword [edi + 0x1bc4], 0
lea esi, [eax - 1]
mov eax, dword [ebp - 0x34]
and eax, esi
lea eax, [edx + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x36], cx
mov dl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp - 0xb8], al
xor eax, eax
mov al, dl
cmp ebx, eax
jae 0x4c9d2e
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
add ecx, eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x34], ecx
add ebx, 8
mov eax, dword [ebp - 0x34]
and eax, esi
lea eax, [edx + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x36], cx
mov dl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp - 0xb8], al
xor eax, eax
mov al, dl
cmp eax, ebx
ja 0x4c9cd9
cmp byte [ebp - 0xb8], 0
je 0x4ca038
xor eax, eax
mov al, byte [ebp - 0xb8]
test al, 0xf0
je 0x4ca0d0
mov cl, dl
and ecx, 0xff
mov esi, ecx
xor eax, eax
mov ecx, esi
mov al, dl
sub ebx, eax
mov eax, dword [edi + 0x1bc4]
add eax, esi
mov dword [edi + 0x1bc4], eax
mov ax, word [ebp - 0x36]
and eax, 0xffff
shr dword [ebp - 0x34], cl
mov dword [edi + 0x40], eax
cmp byte [ebp - 0xb8], 0
jne 0x4c9d90
mov dword [edi], 0x19
mov eax, dword [edi]
jmp 0x4c8c71
xor eax, eax
mov al, byte [ebp - 0xb8]
test al, 0x20
je 0x4ca200
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
mov eax, dword [edi]
jmp 0x4c8c71
mov esi, dword [ebp - 0x74]
sub esi, eax
mov eax, dword [edi + 0x40]
mov edx, eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], edx
cmp edx, ecx
jbe 0x4c9dce
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x6c]
sub ecx, edx
sub eax, edx
mov dword [ebp - 0x6c], ecx
mov dword [edi + 0x40], eax
mov ecx, dword [ebp - 0x74]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
dec edx
jne 0x4c9de1
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x40]
lea esi, [ecx + esi]
test eax, eax
mov dword [ebp - 0x74], esi
je 0x4c9ab3
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [edi + 0x30]
cmp edx, eax
jbe 0x4ca092
sub edx, eax
mov esi, dword [edi + 0x28]
sub esi, edx
mov eax, dword [edi + 0x34]
add esi, eax
mov eax, dword [edi + 0x40]
cmp edx, eax
jbe 0x4c9dc1
jmp 0x4c9dbf
push eax
mov eax, dword [ebp - 0x78]
push esi
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c92d7
xor eax, eax
mov esi, dword [ebp - 0x38]
mov al, dl
and esi, 0xffff
mov dword [ebp - 0x84], eax
mov ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], esi
add ecx, eax
mov eax, 1
shl eax, cl
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
and eax, ecx
mov cl, byte [ebp - 0x84]
shr eax, cl
add eax, esi
mov esi, dword [ebp - 0x7c]
lea eax, [esi + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x38], cx
mov cl, byte [eax + 1]
mov byte [ebp - 0x4e], cl
mov al, byte [eax]
mov byte [ebp - 0xb8], al
mov al, cl
and eax, 0xff
mov esi, eax
mov eax, dword [ebp - 0x84]
add eax, esi
cmp ebx, eax
jae 0x4c9f1f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x4c]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
mov ecx, dword [ebp - 0x34]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], ecx
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
and eax, esi
mov cl, byte [ebp - 0x84]
shr eax, cl
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x7c]
add eax, ecx
lea eax, [esi + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x38], cx
mov cl, byte [eax + 1]
mov byte [ebp - 0x4e], cl
mov al, byte [eax]
mov byte [ebp - 0xb8], al
mov al, cl
and eax, 0xff
mov esi, eax
mov eax, dword [ebp - 0x84]
add eax, esi
cmp eax, ebx
ja 0x4c9eaa
xor eax, eax
mov cl, byte [ebp - 0x84]
mov al, dl
mov edx, dword [edi + 0x1bc4]
sub ebx, eax
mov eax, dword [ebp - 0x84]
add edx, eax
mov dword [edi + 0x1bc4], edx
mov dl, byte [ebp - 0xb8]
shr dword [ebp - 0x34], cl
and edx, 0xff
mov dword [ebp - 0x60], edx
mov dl, byte [ebp - 0x4e]
jmp 0x4c979a
push eax
mov eax, dword [ebp - 0x78]
push esi
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c9258
cmp dx, 0x10
je 0x4ca3bf
cmp dx, 0x11
je 0x4ca34b
and ecx, 0xff
mov edx, ecx
mov dword [ebp - 0xb8], ecx
add edx, 7
cmp ebx, edx
jae 0x4c9fcf
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [ecx]
mov cl, bl
shl eax, cl
mov ecx, dword [ebp - 0x34]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x78], eax
cmp ebx, edx
jb 0x4c9f9c
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0xb8]
shr eax, cl
mov ecx, ebx
mov edx, eax
sub ecx, esi
and edx, 0x7f
shr eax, 7
add edx, 0xb
lea ebx, [ecx - 7]
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov esi, dword [ebp - 0x5c]
lea eax, [edx + esi]
cmp dword [ebp - 0x98], eax
jb 0x4ca4cd
mov eax, dword [edi + 0x68]
mov word [ebp - 0xba], cx
mov word [edi + eax*2 + 0x70], cx
inc eax
mov dword [edi + 0x68], eax
mov ecx, 1
mov si, word [ebp - 0xba]
inc ecx
mov word [edi + eax*2 + 0x70], si
inc eax
mov dword [ebp - 0x5c], eax
mov dword [edi + 0x68], eax
cmp ecx, edx
jne 0x4ca01b
jmp 0x4c9887
mov al, dl
and eax, 0xff
mov esi, eax
jmp 0x4c9d55
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4c8c71
xor ebx, ebx
mov dword [ebp - 0x34], 0
jmp 0x4c92ff
cmp eax, 2
je 0x4ca2fb
cmp eax, 3
jne 0x4c9459
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov dword [esi + 0x18], str.invalid_block_type
jmp 0x4c9459
mov esi, eax
mov eax, dword [edi + 0x34]
sub esi, edx
add esi, eax
jmp 0x4c9e1f
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x34]
shr eax, 8
mov dword [ebp - 0x34], eax
push eax
mov dl, byte [ebp - 0x34]
lea eax, [ebp - 0x1c]
push 2
mov byte [ebp - 0x1b], dl
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c9127
xor ecx, ecx
mov si, word [ebp - 0x36]
mov cl, dl
and esi, 0xffff
mov dword [ebp - 0x44], ecx
add ecx, eax
mov eax, 1
mov dword [ebp - 0x88], esi
shl eax, cl
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x80], eax
and eax, ecx
mov cl, byte [ebp - 0x44]
shr eax, cl
add eax, esi
mov esi, dword [ebp - 0x8c]
lea eax, [esi + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x36], cx
mov cl, byte [eax + 1]
mov byte [ebp - 0x4d], cl
mov al, byte [eax]
mov byte [ebp - 0xb8], al
mov al, cl
and eax, 0xff
mov esi, eax
mov eax, dword [ebp - 0x44]
add eax, esi
cmp ebx, eax
jae 0x4ca1a6
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
dec esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x80]
mov al, byte [ecx]
mov cl, bl
shl eax, cl
mov ecx, dword [ebp - 0x34]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], ecx
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
and eax, esi
mov cl, byte [ebp - 0x44]
shr eax, cl
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
add eax, ecx
lea eax, [esi + eax*4]
mov cx, word [eax + 2]
mov word [ebp - 0x36], cx
mov cl, byte [eax + 1]
mov byte [ebp - 0x4d], cl
mov al, byte [eax]
mov byte [ebp - 0xb8], al
mov al, cl
and eax, 0xff
mov esi, eax
mov eax, dword [ebp - 0x44]
add eax, esi
cmp eax, ebx
ja 0x4ca131
mov cl, byte [ebp - 0x44]
xor eax, eax
shr dword [ebp - 0x34], cl
mov al, dl
mov dl, byte [ebp - 0x4d]
sub ebx, eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x1bc4], eax
jmp 0x4c9d55
mov dword [edi + 0x4c], 0x5cbc40
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x5cbbc0
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
cmp dword [ebp + 0xc], 6
jne 0x4c9459
mov eax, dword [ebp - 0x34]
sub ebx, 3
shr eax, 3
mov dword [ebp - 0x34], eax
jmp 0x4c8f34
test al, 0x40
je 0x4c966f
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], 0x5cba73
jmp 0x4c8c71
push eax
mov eax, dword [ebp - 0x78]
push esi
push eax
mov ecx, dword [edi + 0x18]
push ecx
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c91cd
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x34]
shr eax, 8
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x34], eax
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x34]
shr eax, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dl, byte [ebp - 0x34]
shr eax, 8
mov byte [ebp - 0x1a], dl
mov dword [ebp - 0x34], eax
push eax
mov cl, byte [ebp - 0x34]
lea eax, [ebp - 0x1c]
push 4
mov byte [ebp - 0x19], cl
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c90c6
test dword [ebp - 0x34], 0xe000
je 0x4c9050
mov ecx, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [ecx + 0x18], str.unknown_header_flags_set
jmp 0x4c8c71
mov eax, dword [ebp + 8]
mov dword [edi], 0x1d
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [edi]
jmp 0x4c8c71
mov esi, dword [ebp - 0x34]
mov cl, byte [ebp - 0x34]
shr esi, 8
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x34], esi
push ebx
mov al, byte [ebp - 0x34]
push 2
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
mov ecx, dword [edi + 0x18]
push ecx
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
mov dword [ebp - 0x34], 0
jmp 0x4c914e
mov dword [edi], 0x10
jmp 0x4c9459
push eax
push 0
push 0
push 0
call fcn.004cb320
add esp, 0xc
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x1c]
push 2
mov byte [ebp - 0x1c], 0x1f
push eax
mov byte [ebp - 0x1b], 0x8b
mov eax, dword [edi + 0x18]
xor ebx, ebx
push eax
call fcn.004cb320
mov dword [edi], 1
mov dword [edi + 0x18], eax
add esp, 0x10
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
jmp 0x4c8c71
and ecx, 0xff
mov dword [ebp - 0xb8], ecx
add ecx, 3
mov dword [ebp - 0xc0], ecx
cmp ebx, ecx
jae 0x4ca398
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
add ebx, 8
shl eax, cl
mov ecx, dword [ebp - 0x34]
inc edx
add ecx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
cmp ebx, dword [ebp - 0xc0]
jb 0x4ca364
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0xb8]
shr eax, cl
mov ecx, ebx
mov edx, eax
sub ecx, esi
and edx, 7
shr eax, 3
add edx, 3
lea ebx, [ecx - 3]
xor ecx, ecx
mov dword [ebp - 0x34], eax
jmp 0x4c9ff1
and ecx, 0xff
mov eax, ecx
mov dword [ebp - 0xb8], ecx
add eax, 2
mov dword [ebp - 0xc0], eax
cmp ebx, eax
jae 0x4ca40e
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c8f34
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
dec eax
mov cl, bl
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [edx]
add ebx, 8
shl eax, cl
mov ecx, dword [ebp - 0x34]
inc edx
add ecx, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
cmp ebx, dword [ebp - 0xc0]
jb 0x4ca3da
mov cl, byte [ebp - 0xb8]
mov eax, dword [ebp - 0x5c]
shr dword [ebp - 0x34], cl
sub ebx, esi
test eax, eax
je 0x4ca59f
mov edx, dword [ebp - 0x5c]
sub ebx, 2
mov ax, word [edi + edx*2 + 0x6e]
mov ecx, eax
mov eax, dword [ebp - 0x34]
and eax, 3
and ecx, 0xffff
lea edx, [eax + 3]
mov eax, dword [ebp - 0x34]
shr eax, 2
mov dword [ebp - 0x34], eax
jmp 0x4c9ff1
mov ecx, dword [ebp - 0x74]
push esi
sub ecx, eax
push eax
push ecx
mov ecx, dword [edi + 0x18]
push ecx
call fcn.004cba90
add esp, 0x10
jmp 0x4c9a36
mov ecx, dword [ebp - 0x6c]
xor ebx, ebx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x34], 0
jmp 0x4c97df
cmp ecx, eax
jbe 0x4c9b8a
mov ecx, dword [ebp + 8]
mov dword [edi], 0x1d
sub ebx, 4
mov eax, dword [edi]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x4c8c71
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x34]
shr eax, 8
mov dword [ebp - 0x34], eax
push eax
mov dl, byte [ebp - 0x34]
lea eax, [ebp - 0x1c]
push 2
mov byte [ebp - 0x1b], dl
push eax
mov eax, dword [edi + 0x18]
push eax
call fcn.004cb320
add esp, 0x10
mov dword [edi + 0x18], eax
jmp 0x4c906c
mov eax, dword [ebp + 8]
mov dword [edi], 0x1d
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [edi]
jmp 0x4c8c71
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov dword [eax], esi
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ebx
mov dword [ebp - 0x64], 2
jmp 0x4c8bfa
cmp dword [edi], 0x1d
je 0x4c8cd0
cmp word [edi + 0x270], 0
jne 0x4ca53d
mov edx, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4c8c71
mov ecx, dword [ebp - 0x9c]
mov dword [edi + 0x54], 9
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x4c], ecx
push eax
push eax
mov eax, dword [ebp - 0xa0]
lea esi, [edi + 0x6c]
push eax
lea eax, [edi + 0x54]
push eax
push esi
mov ecx, dword [edi + 0x60]
lea eax, [edi + 0x70]
push ecx
push eax
push 1
call fcn.004ca760
add esp, 0x20
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4ca5b6
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x4c8c71
xor ebx, ebx
mov dword [ebp - 0x34], 0
jmp 0x4c8f34
mov esi, dword [ebp + 8]
mov dword [edi], 0x1d
mov eax, dword [edi]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x4c8c71
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x58], 6
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0xa0]
push edx
push edx
push eax
lea eax, [edi + 0x58]
push eax
push esi
mov eax, dword [edi + 0x64]
push eax
mov eax, dword [edi + 0x60]
lea eax, [edi + eax*2 + 0x70]
push eax
push 2
call fcn.004ca760
add esp, 0x20
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4c95ca
mov eax, dword [ebp + 8]
mov dword [edi], 0x1d
mov dword [eax + 0x18], str.invalid_distances_set
mov eax, dword [edi]
jmp 0x4c8c71