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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x3c], edx
push edi
mov dword [ebp - 0x20], esi
call fcn.0048c12f
test eax, eax
jne case.0x48c4d2.16211
cmp dword [esi + 0xc], eax
je case.0x48c4d2.16211
cmp dword [esi], eax
jne 0x48c46c
cmp dword [esi + 4], eax
jne case.0x48c4d2.16211
mov ebx, dword [esi + 0x1c]
mov ecx, 0x3f40
mov eax, dword [ebx + 4]
cmp eax, 0x3f3f
jne 0x48c483
mov dword [ebx + 4], ecx
mov eax, ecx
mov ecx, dword [esi + 0xc]
add eax, 0xffffc0cc
and dword [ebp - 0x2c], 0
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x18]
push 0x1f
mov dword [ebp - 0x28], ecx
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp eax, ecx
ja case.0x48c4d2.16211
mov dword [ebp - 0x44], 0x10
mov ecx, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], ecx
jmp dword [eax*4 + 0x48d960]
cmp dword [ebx + 0xc], 0
jne 0x48c512
mov dword [ebx + 4], 0x3f40
jmp 0x48cd4a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
push 0x10
pop eax
cmp edi, eax
jb 0x48c4eb
test byte [ebx + 0xc], 2
je 0x48c566
cmp edx, 0x8b1f
jne 0x48c566
xor edi, edi
cmp dword [ebx + 0x28], edi
jne 0x48c535
mov dword [ebx + 0x28], 0xf
mov dword [ebx + 0x1c], edi
mov byte [ebp - 0x1c], dl
shr edx, 8
mov byte [ebp - 0x1b], dl
lea edx, [ebp - 0x1c]
mov ecx, dword [ebx + 0x1c]
push 2
call fcn.0048f5cc
mov edx, edi
mov dword [ebx + 0x1c], eax
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebx + 4], 0x3f35
jmp 0x48cd4a
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48c571
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 0xc], 1
je 0x48c626
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x10]
jne 0x48c626
mov eax, edx
and al, 0xf
cmp al, 8
je 0x48c5b5
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x48cd4a
mov eax, dword [ebx + 0x28]
sub edi, 4
shr edx, 4
mov ecx, edx
mov dword [ebp - 0x10], edx
and ecx, 0xf
mov dword [ebp - 0xc], edi
add ecx, 8
test eax, eax
jne 0x48c5d5
mov eax, ecx
mov dword [ebx + 0x28], eax
cmp ecx, 0xf
ja 0x48c613
cmp ecx, eax
ja 0x48c613
xor edi, edi
shr edx, 8
inc edi
not edx
mov eax, edi
mov dword [ebx + 0x1c], edi
shl eax, cl
and edx, 2
xor ecx, ecx
mov dword [ebx + 0x18], eax
or edx, 0x3f3d
mov dword [ebx + 0x14], ecx
mov dword [esi + 0x30], edi
mov edi, ecx
mov dword [ebx + 4], edx
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
jmp 0x48cd4a
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x48cd4a
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x48cd4a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
push 0x10
pop eax
cmp edi, eax
jb 0x48c639
mov dword [ebx + 0x14], edx
cmp dl, 8
jne 0x48c5a2
test edx, 0xe000
je 0x48c68e
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x48cd4a
mov edi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x48c6a1
mov eax, ecx
and eax, 1
mov dword [edi], eax
test dword [ebx + 0x14], 0x200
je 0x48c6d5
test byte [ebx + 0xc], 4
je 0x48c6d5
mov eax, dword fs:[0x2c]
push 0
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x1c]
push 2
mov eax, dword [eax]
push ecx
mov byte [ebp - 0x1c], dl
push dword [ebx + 0x1c]
call dword [eax + 0x1c]
add esp, 0x10
mov dword [ebx + 0x1c], eax
mov edi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx + 4], 0x3f36
mov dword [ebp - 0x10], edx
mov ecx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d837
dec eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edi]
shl eax, cl
add ecx, 8
add edx, eax
inc edi
cmp ecx, 0x20
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
jb 0x48c6e8
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48c717
mov dword [eax + 4], edx
test dword [ebx + 0x14], 0x200
je 0x48c75e
test byte [ebx + 0xc], 4
je 0x48c75e
mov eax, edx
mov byte [ebp - 0x1c], dl
shr eax, 8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1a], al
mov eax, dword fs:[0x2c]
push 0
push 4
shr edx, 0x18
mov eax, dword [eax]
push ecx
mov byte [ebp - 0x19], dl
push dword [ebx + 0x1c]
call dword [eax + 0x1c]
add esp, 0x10
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f37
mov edx, eax
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
test eax, eax
je 0x48d837
dec eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edi]
shl eax, cl
add ecx, 8
add edx, eax
inc edi
push 0x10
pop eax
cmp ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
jb 0x48c771
mov edi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x48c7b0
movzx eax, dl
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x14], 0x200
je 0x48c7e4
test byte [ebx + 0xc], 4
je 0x48c7e4
mov eax, dword fs:[0x2c]
push 0
mov byte [ebp - 0x1b], cl
lea ecx, [ebp - 0x1c]
push 2
mov eax, dword [eax]
push ecx
mov byte [ebp - 0x1c], dl
push dword [ebx + 0x1c]
call dword [eax + 0x1c]
add esp, 0x10
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
jmp 0x48c827
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x20
mov edi, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], edx
jmp 0x48c705
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], edx
jmp 0x48c790
xor ecx, ecx
test dword [ebx + 0x14], 0x400
jne 0x48c8d0
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48c83e
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
test dword [ebx + 0x14], 0x400
je 0x48c979
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x48c971
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x48c943
mov esi, dword [edx + 0x10]
test esi, esi
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x20]
je 0x48c943
mov edx, dword [edx + 0x14]
sub edx, eax
mov dword [ebp - 0x30], edx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x30]
add eax, ecx
mov edx, dword [edx + 0x18]
cmp eax, edx
mov eax, dword [ebp - 0x30]
jbe 0x48c92d
sub edx, eax
jmp 0x48c92f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
push 0x10
pop eax
cmp edi, eax
jb 0x48c8a9
mov ecx, dword [ebx + 0x24]
movzx eax, dx
mov dword [ebx + 0x44], eax
test ecx, ecx
je 0x48c8e7
mov dword [ecx + 0x14], eax
test dword [ebx + 0x14], 0x200
je 0x48c91e
test byte [ebx + 0xc], 4
je 0x48c91e
mov eax, dword fs:[0x2c]
lea ecx, [ebp - 0x1c]
push 0
mov byte [ebp - 0x1c], dl
push 2
mov eax, dword [eax]
shr edx, 8
push ecx
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x1c]
call dword [eax + 0x1c]
add esp, 0x10
mov dword [ebx + 0x1c], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
jmp 0x48c83e
mov edx, ecx
add eax, dword [ebp - 0x40]
push edx
mov edx, dword [ebp - 8]
push edx
push eax
call fcn.006f6760
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test dword [ebx + 0x14], 0x200
je 0x48c962
test byte [ebx + 0xc], 4
je 0x48c962
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebx + 0x1c]
call fcn.0048f5cc
pop ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
sub dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x48d831
xor ecx, ecx
mov dword [ebx + 4], 0x3f3a
mov dword [ebx + 0x44], ecx
jmp 0x48c989
xor ecx, ecx
test dword [ebx + 0x14], 0x800
je 0x48ca18
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
mov esi, dword [ebp - 0x14]
mov eax, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x48c9da
cmp dword [ecx + 0x1c], 0
je 0x48c9d7
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0x48c9d7
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x48c9e4
cmp eax, esi
jb 0x48c9a9
test dword [ebx + 0x14], 0x200
mov esi, dword [ebp - 0x20]
je 0x48ca06
test byte [ebx + 0xc], 4
je 0x48ca06
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.0048f5cc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x34]
pop ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x48d831
jmp 0x48ca22
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48ca22
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx + 4], 0x3f3b
mov dword [ebx + 0x44], ecx
jmp 0x48ca32
xor ecx, ecx
test dword [ebx + 0x14], 0x1000
je 0x48cac1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
mov esi, dword [ebp - 0x14]
mov eax, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x48ca83
cmp dword [ecx + 0x24], 0
je 0x48ca80
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0x48ca80
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x48ca8d
cmp eax, esi
jb 0x48ca52
test dword [ebx + 0x14], 0x200
mov esi, dword [ebp - 0x20]
je 0x48caaf
test byte [ebx + 0xc], 4
je 0x48caaf
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.0048f5cc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x34]
pop ecx
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x48d831
jmp 0x48cacb
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x48cacb
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 4], 0x3f3c
mov eax, dword [ebx + 0x14]
test eax, 0x200
je 0x48cb3f
jmp 0x48cb08
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
push 0x10
pop eax
cmp edi, eax
jb 0x48cae1
test byte [ebx + 0xc], 4
je 0x48cb30
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0x48cb30
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x48cd4a
xor eax, eax
mov edx, eax
mov edi, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48cb59
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
jmp 0x48cd4a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp edi, 0x20
jb 0x48cb6d
bswap edx
mov dword [ebx + 0x1c], edx
xor ecx, ecx
mov dword [esi + 0x30], edx
mov edi, ecx
mov edx, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
mov dword [ebx + 4], 0x3f3e
jmp 0x48cbb8
xor ecx, ecx
cmp dword [ebx + 0x10], ecx
je 0x48d7e6
xor eax, eax
inc eax
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
jmp 0x48cbd5
xor ecx, ecx
cmp dword [ebx + 8], ecx
je 0x48cbf5
mov ecx, edi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
jmp 0x48cd4a
cmp edi, 3
jae 0x48cc28
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp edi, 3
jb 0x48cbfa
xor ecx, ecx
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, ecx
je 0x48cc88
sub eax, 1
je 0x48cc63
sub eax, 1
je 0x48cc5a
sub eax, 1
jne 0x48cc8f
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_block_type
jmp 0x48cc8f
mov dword [ebx + 4], 0x3f44
jmp 0x48cc8f
mov dword [ebx + 0x50], 0xccfb48
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0xcd0348
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jmp 0x48cc8f
mov dword [ebx + 4], 0x3f41
shr edx, 2
add edi, 0xfffffffd
jmp 0x48c608
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x48ccc6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
cmp edi, 0x20
jb 0x48cca5
mov ecx, edx
movzx eax, dx
not ecx
shr ecx, 0x10
cmp eax, ecx
je 0x48ccef
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x48cd4a
movzx eax, dx
mov dword [ebx + 0x44], eax
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebx + 4], 0x3f43
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x48cd65
mov eax, dword [ebp - 0x14]
cmp esi, eax
cmova esi, eax
cmp esi, dword [ebp - 0x18]
cmova esi, dword [ebp - 0x18]
test esi, esi
je 0x48d834
push esi
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.006f6760
sub dword [ebp - 0x14], esi
add esp, 0xc
add dword [ebp - 8], esi
sub dword [ebp - 0x18], esi
add dword [ebp - 0x24], esi
sub dword [ebx + 0x44], esi
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
push 0x1f
sub eax, 0x3f34
pop ecx
cmp eax, ecx
jbe 0x48c4ca
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
mov dword [ebx + 4], 0x3f3f
mov esi, dword [ebp - 0x20]
jmp 0x48cd4a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp edi, 0xe
jb 0x48cd71
mov eax, edx
sub edi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0xc], edi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], ecx
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x10], edx
mov dword [ebx + 0x60], eax
cmp ecx, 0x11e
ja 0x48cdf1
cmp dword [ebp - 0x40], 0x1e
ja 0x48cdf1
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f45
jmp case.0x48c4d2.16197
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x48cd4a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp edi, 3
jb 0x48ce04
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x10], edx
movzx eax, word [eax*2 + 0xccfb20]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
sub edi, 3
mov dword [ebp - 0xc], edi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x60]
jb 0x48ce2b
jmp 0x48ce73
movzx eax, word [eax*2 + 0xccfb20]
xor ecx, ecx
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
mov eax, dword [ebx + 0x6c]
cmp eax, 0x13
jb 0x48ce5e
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebx + 0x74]
xor ecx, ecx
call fcn.0048ebdf
mov edx, dword [ebp - 0x10]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x48cec6
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_code_lengths_set
jmp 0x48cd4a
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f46
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp dword [ebx + 0x6c], eax
jae 0x48d0d0
mov eax, dword [ebx + 0x50]
mov esi, dword [ebx + 0x58]
mov ecx, esi
mov dword [ebp - 0x30], eax
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x50]
jmp 0x48cf2c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, esi
add edx, eax
inc dword [ebp - 8]
xor eax, eax
mov dword [ebp - 0x10], edx
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x30]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, edi
ja 0x48cef5
mov esi, eax
shr esi, 0x10
mov ecx, esi
cmp si, word [ebp - 0x44]
jae 0x48cf71
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov word [ebx + eax*2 + 0x74], si
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
jmp 0x48d0bf
push 0x10
pop esi
cmp cx, si
jne 0x48cfe4
mov ecx, eax
shr ecx, 8
movzx esi, cl
add esi, 2
cmp edi, esi
jae 0x48cfb4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48d831
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0xc], edi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x10], edx
inc dword [ebp - 8]
cmp edi, esi
jb 0x48cf88
mov edx, dword [ebp - 0x10]
movzx ecx, ah
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
test eax, eax
je 0x48d0fb
movzx eax, word [ebx + eax*2 + 0x72]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
sub edi, 2
jmp 0x48d085
cmp word [ebp - 0x32], 0x11
movzx ecx, ah
jne 0x48d037
lea esi, [ecx + 3]
mov dword [ebp - 0x40], ecx
cmp edi, esi
jae 0x48d026
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp edi, esi
jb 0x48cff8
mov ecx, dword [ebp - 0x40]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x48d07e
lea esi, [ecx + 7]
mov dword [ebp - 0x40], ecx
cmp edi, esi
jae 0x48d06f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp edi, esi
jb 0x48d041
mov ecx, dword [ebp - 0x40]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add edi, eax
xor eax, eax
mov ecx, dword [ebx + 0x64]
add ecx, dword [ebx + 0x68]
movzx eax, ax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x40], eax
add eax, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp eax, ecx
ja 0x48d0fb
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov word [ebx + ecx*2 + 0x74], dx
mov ecx, dword [ebx + 0x6c]
lea ecx, [ecx + 1]
mov dword [ebx + 0x6c], ecx
sub esi, 1
jne 0x48d0a9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x68]
cmp ecx, eax
jb 0x48cee0
mov esi, dword [ebp - 0x20]
cmp dword [ebx + 4], 0x3f51
je 0x48cd4a
xor eax, eax
cmp word [ebx + 0x274], ax
jne 0x48d10e
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x48cd4a
mov esi, dword [ebp - 0x20]
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x48d0d0
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [ebx + 0x64]
xor ecx, ecx
lea edx, [ebx + 0x74]
inc ecx
call fcn.0048ebdf
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x48d159
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x48cd47
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
lea edx, [ebx + 0x5c]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x2f4]
push eax
mov eax, dword [ebx + 0x64]
push edx
push ecx
push dword [ebx + 0x68]
add eax, 0x3a
mov dword [edx], 6
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0048ebdf
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je case.0x48c4d2.16199
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x48cd4a
mov dword [ebx + 4], 0x3f48
cmp dword [ebp - 0x14], 8
jb 0x48d21f
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x102
jb 0x48d21f
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], ecx
mov ecx, esi
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x40], edi
call fcn.0048efcf
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
jne 0x48cd4a
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x48cd4a
mov ecx, dword [ebx + 0x58]
mov esi, dword [ebx + 0x50]
and dword [ebx + 0x1bc8], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
jmp 0x48d264
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x34]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x48d234
mov dword [ebp - 0x40], eax
test al, al
je 0x48d33f
test al, 0xf0
jne 0x48d33f
mov ecx, eax
xor edi, edi
shr ecx, 8
inc edi
movzx esi, cl
mov edx, eax
movzx ecx, al
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, edx
mov edi, dword [ebp - 0xc]
shr ecx, 8
movzx esi, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add esi, ecx
cmp esi, edi
jbe 0x48d32f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
mov esi, dword [ebp - 8]
dec eax
mov dword [ebp - 0x14], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0xc], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x10], eax
inc esi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 8], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x10]
shr esi, cl
mov ecx, dword [ebp - 0x30]
add esi, eax
mov eax, dword [ecx + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0xc]
cmp ecx, edi
ja 0x48d2d1
movzx ecx, dh
mov edx, dword [ebp - 0x10]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebx + 0x44], ecx
test al, al
jne 0x48d36f
mov dword [ebx + 4], 0x3f4d
jmp 0x48cd6c
test al, 0x20
je 0x48d37f
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x48cd65
test al, 0x40
je 0x48d399
mov esi, dword [ebp - 0x20]
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x48cd4a
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x48d3fa
jmp 0x48d3d9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp edi, esi
jb 0x48d3b2
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0xc], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
jmp 0x48d448
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x34]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x48d418
mov dword [ebp - 0x40], eax
test al, 0xf0
jne 0x48d51e
mov ecx, eax
xor edi, edi
shr ecx, 8
inc edi
movzx esi, cl
mov edx, eax
movzx ecx, al
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, edx
mov edi, dword [ebp - 0xc]
shr ecx, 8
movzx esi, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add esi, ecx
cmp esi, edi
jbe 0x48d50b
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
mov esi, dword [ebp - 8]
dec eax
mov dword [ebp - 0x14], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0xc], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0x10], eax
inc esi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 8], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x10]
shr esi, cl
mov ecx, dword [ebp - 0x30]
add esi, eax
mov eax, dword [ecx + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0xc]
cmp ecx, edi
ja 0x48d4ad
movzx edx, dh
mov ecx, edx
sub edi, edx
shr dword [ebp - 0x10], cl
add dword [ebx + 0x1bc8], edx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
test al, 0x40
je 0x48d550
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x48cd4a
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x48d5ba
jmp 0x48d59b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x4c]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
cmp edi, ecx
jb 0x48d571
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0xc], edi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebx + 4], 0x3f4c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48d831
mov eax, dword [ebp - 0x28]
sub eax, ecx
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jbe 0x48d648
sub ecx, eax
cmp ecx, dword [ebx + 0x30]
jbe 0x48d5fb
cmp dword [ebx + 0x1bc4], 0
je 0x48d5fb
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x48cd4a
cmp ecx, dword [ebx + 0x34]
jbe 0x48d60d
sub ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x2c]
sub edx, ecx
add edx, dword [ebx + 0x38]
jmp 0x48d615
mov edx, dword [ebx + 0x38]
sub edx, ecx
add edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x44]
cmp ecx, eax
cmovbe eax, ecx
cmp eax, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x34]
push edx
push dword [ebp - 0x24]
call dword [ecx + 0x38]
mov esi, dword [ebp - 0x20]
jmp 0x48d66b
mov edx, dword [ebx + 0x44]
cmp edx, dword [ebp - 0x18]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x18]
mov eax, dword fs:[0x2c]
push edx
push ecx
push dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x34], edx
call dword [eax + 0x44]
mov dword [ebp - 0x24], eax
add esp, 0x10
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x18], eax
sub dword [ebx + 0x44], eax
jne 0x48cd47
mov dword [ebx + 4], 0x3f48
jmp 0x48cd47
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48d831
mov esi, dword [ebp - 0x24]
mov al, byte [ebx + 0x44]
inc dword [ebp - 0x24]
dec ecx
mov dword [ebp - 0x18], ecx
mov byte [esi], al
mov dword [ebx + 4], 0x3f48
jmp 0x48cd6c
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
je 0x48d779
cmp edi, 0x20
jae 0x48d6f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp edi, 0x20
jb 0x48d6c2
xor ecx, ecx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
mov dword [ebp - 0x28], eax
je 0x48d740
test eax, eax
je 0x48d740
mov edx, dword [ebp - 0x24]
sub edx, eax
cmp dword [ebx + 0x14], ecx
je 0x48d71f
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.0048f5cc
pop ecx
jmp 0x48d737
mov eax, dword fs:[0x2c]
push dword [ebp - 0x28]
push edx
mov eax, dword [eax]
push dword [ebx + 0x1c]
call dword [eax + 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
test byte [ebx + 0xc], 4
mov dword [ebp - 0x28], eax
je 0x48d76f
mov eax, edx
cmp dword [ebx + 0x14], ecx
jne 0x48d757
bswap eax
cmp eax, dword [ebx + 0x1c]
je 0x48d76f
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x48cd4a
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebx + 4], 0x3f4f
cmp dword [ebx + 0xc], 0
je 0x48d80f
xor ecx, ecx
cmp dword [ebx + 0x14], ecx
je 0x48d80f
cmp edi, 0x20
jae 0x48d7c8
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48d834
dec eax
mov dword [ebp - 0x14], eax
movzx eax, byte [ecx]
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebp - 8]
add edx, eax
inc ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
cmp edi, 0x20
jb 0x48d799
xor ecx, ecx
test byte [ebx + 0xc], 4
je 0x48d80a
cmp edx, dword [ebx + 0x20]
je 0x48d80a
mov dword [ebx + 4], 0x3f51
mov dword [esi + 0x18], str.incorrect_length_check
jmp 0x48cd4a
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
push 2
jmp 0x48cd5f
mov dword [ebp - 0x10], ecx
jmp 0x48d812
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f50
jmp 0x48d81e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 1
jmp 0x48d837
mov dword [ebp - 0x2c], 0xfffffffd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
xor edi, edi
mov edx, dword [ebp - 0x24]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], edx
mov dword [ebx + 0x40], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x2c], edi
jne 0x48d87e
cmp ecx, dword [esi + 0x10]
je 0x48d8a2
cmp dword [ebx + 4], 0x3f51
jge 0x48d8a2
cmp dword [ebx + 4], 0x3f4e
jl 0x48d87e
cmp dword [ebp - 0x3c], 4
je 0x48d8a2
sub ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, esi
call fcn.0048c395
pop ecx
test eax, eax
je 0x48d89f
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x48cd5f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
sub edx, dword [esi + 4]
sub ecx, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], ecx
add dword [ebx + 0x20], ecx
test byte [ebx + 0xc], 4
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], ecx
je 0x48d8f8
test ecx, ecx
je 0x48d8f8
mov edx, dword [esi + 0xc]
sub edx, ecx
push ecx
cmp dword [ebx + 0x14], edi
je 0x48d8da
mov ecx, dword [ebx + 0x1c]
call fcn.0048f5cc
pop ecx
jmp 0x48d8ef
mov eax, dword fs:[0x2c]
push edx
push dword [ebx + 0x1c]
mov eax, dword [eax]
call dword [eax + 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f47
je 0x48d90a
cmp dword [ebx + 4], 0x3f42
jne 0x48d90f
mov edi, 0x100
mov ecx, dword [ebx + 8]
neg ecx
mov dword [ebp - 0x44], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx + 4], 0x3f3f
cmove eax, dword [ebp - 0x44]
add ecx, eax
add ecx, dword [ebx + 0x40]
add ecx, edi
mov dword [esi + 0x2c], ecx
test edx, edx
jne 0x48d940
cmp dword [ebp - 0x28], edx
je 0x48d946
cmp dword [ebp - 0x3c], 4
jne 0x48d956
mov eax, dword [ebp - 0x2c]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x48cd60
mov eax, dword [ebp - 0x2c]
jmp 0x48cd60