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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], esi
push edi
test esi, esi
je case.default.0x4e1723
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x38], ebx
test ebx, ebx
je case.default.0x4e1723
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x24], eax
test eax, eax
je case.default.0x4e1723
mov eax, dword [esi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4e16b6
cmp dword [esi + 4], eax
jne case.default.0x4e1723
mov eax, dword [ebx]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x4e16cf
mov dword [ebx], ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], ecx
cmp eax, 0x1e
ja case.default.0x4e1723
mov ecx, eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x40], 0x1f
mov dword [ebp - 0x58], 0x1d
mov dword [ebp - 0x4c], 0x11
mov dword [ebp - 0x54], 0x12
jmp dword [eax*4 + 0x4e2afb]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x4e173c
mov dword [ebx], 0xc
jmp 0x4e29ec
cmp edi, dword [ebp - 0x28]
jae 0x4e1774
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x28]
jb 0x4e1744
mov ecx, dword [ebx + 8]
test cl, 2
je 0x4e17bf
cmp edx, 0x8b1f
jne 0x4e17bf
xor edi, edi
xor edx, edx
push edi
xor ecx, ecx
call fcn.004e7a7b
mov dword [ebx + 0x18], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x8b
mov ecx, dword [ebx + 0x18]
push 2
call fcn.004e7a7b
pop ecx
mov edx, edi
mov dword [ebx + 0x18], eax
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
mov dword [ebx], 1
jmp 0x4e29ec
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e17d1
or dword [eax + 0x30], 0xffffffff
mov ecx, dword [ebx + 8]
test cl, 1
je 0x4e186d
movzx ecx, dl
mov eax, edx
shr eax, 8
xor edx, edx
shl ecx, 8
add eax, ecx
div dword [ebp - 0x40]
test edx, edx
mov edx, dword [ebp - 0x10]
jne 0x4e186d
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4e1807
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x4e29e6
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0x10], edx
and ecx, 0xf
mov dword [ebp - 0x18], edi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x4e185c
mov dword [ebx + 0x24], ecx
xor eax, eax
xor edi, edi
inc eax
xor edx, edx
shl eax, cl
xor ecx, ecx
push edi
mov dword [ebx + 0x14], eax
call fcn.00484d32
mov edx, dword [ebp - 0x10]
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [esi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, edi
pop ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
jmp 0x4e29ec
cmp ecx, dword [ebx + 0x24]
jbe 0x4e1824
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x4e29e6
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x4e29e6
cmp edi, dword [ebp - 0x28]
jae 0x4e18ae
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x28]
jb 0x4e1881
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x4e17fb
test edx, 0xe000
je 0x4e18ce
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x4e29e6
mov edi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test edi, edi
je 0x4e18e6
mov eax, ecx
and eax, 1
mov dword [edi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x4e1904
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.004e7a7b
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 2
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
cmp edi, 0x20
jae 0x4e1945
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x4e191b
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e194f
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x4e1982
mov eax, edx
mov byte [ebp - 0x20], dl
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1e], al
mov ecx, dword [ebx + 0x18]
push 4
call fcn.004e7a7b
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x28]
jae 0x4e19c3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x28]
jb 0x4e1999
mov edi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x4e19db
movzx eax, dl
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x4e19fb
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.004e7a7b
pop ecx
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
jmp 0x4e1a11
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x4e1a88
cmp edi, dword [ebp - 0x28]
jae 0x4e1a4c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x28]
jb 0x4e1a22
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x4e1a59
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x4e1a7c
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
mov ecx, dword [ebx + 0x18]
push 2
call fcn.004e7a7b
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
jmp 0x4e1a92
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e1a92
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov eax, dword [ebx + 0x10]
test eax, 0x400
je 0x4e1b42
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
cmovbe ecx, edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x4e1b37
cmp dword [ebx + 0x20], 0
mov esi, dword [ebp - 0x2c]
je 0x4e1b0a
mov esi, dword [ebx + 0x20]
mov esi, dword [esi + 0x10]
test esi, esi
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x2c]
je 0x4e1b0a
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + 0x14]
sub esi, edx
mov edx, dword [eax + 0x18]
mov eax, esi
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x2c]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x3c]
jbe 0x4e1af1
sub edx, eax
jmp 0x4e1af3
mov edx, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x50]
push edx
push ecx
push eax
call fcn.00552b30
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x44]
test eax, 0x200
je 0x4e1b21
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.004e7a7b
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [ebx + 0x40], eax
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0xc], ecx
jmp 0x4e1b3a
mov ecx, dword [ebp - 0xc]
test edx, edx
jne 0x4e1bd4
xor edx, edx
mov dword [ebx], 6
mov dword [ebx + 0x40], edx
jmp 0x4e1b51
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x4e1c45
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x4e1b9d
cmp dword [ecx + 0x1c], 0
je 0x4e1b9a
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x4e1b9a
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x4e1ba7
cmp eax, esi
jb 0x4e1b6c
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0x2c]
je 0x4e1bc3
mov ecx, dword [ebx + 0x18]
push eax
call fcn.004e7a7b
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x44]
pop ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
je 0x4e1c4f
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x3c], edi
xor edi, edi
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], edi
jne 0x4e1c21
cmp eax, dword [esi + 0x10]
je 0x4e2a5a
cmp dword [ebx], 0x1d
jge 0x4e2a5a
cmp dword [ebx], 0x1a
jl 0x4e1c21
cmp edx, 4
je 0x4e2a5a
sub eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [esi + 0xc]
push eax
call fcn.004e15a0
pop ecx
test eax, eax
je 0x4e2a57
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x4e29fb
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e1c4f
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx], 7
mov dword [ebx + 0x40], edx
jmp 0x4e1c5e
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x4e1ceb
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x4e1cae
cmp dword [ecx + 0x24], 0
je 0x4e1cab
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x4e1cab
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x4e1cb8
cmp eax, esi
jb 0x4e1c7d
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0x2c]
je 0x4e1cd4
mov ecx, dword [ebx + 0x18]
push eax
call fcn.004e7a7b
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x44]
pop ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
jne 0x4e1bd4
jmp 0x4e1cf5
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4e1cf5
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x4e1d60
cmp edi, dword [ebp - 0x28]
jae 0x4e1d3d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x28]
jb 0x4e1d10
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x4e1d51
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x4e29e6
mov eax, dword [ebx + 0x10]
xor edx, edx
mov edi, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
jmp 0x4e1d62
xor edx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4e1d7c
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
push edx
xor edx, edx
xor ecx, ecx
call fcn.004e7a7b
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
pop ecx
mov dword [ebx], 0xb
mov edx, dword [ebp - 0x10]
jmp 0x4e29ec
cmp edi, 0x20
jae 0x4e1dcd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x4e1da3
mov ecx, edx
mov edi, 0xff00
mov eax, edx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 0x10], edx
mov edi, eax
jmp 0x4e1e07
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x4e2a01
push eax
xor edx, edx
xor ecx, ecx
call fcn.00484d32
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
pop ecx
mov dword [ebx], 0xb
mov eax, dword [ebp - 0x14]
cmp eax, 5
je 0x4e2a4d
cmp eax, 6
je 0x4e2a4d
cmp dword [ebx + 4], 0
je 0x4e1e5f
mov ecx, edi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
jmp 0x4e29ec
cmp edi, 3
jae 0x4e1e91
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x4e1e67
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x4e1f03
sub eax, 1
je 0x4e1eca
sub eax, 1
je 0x4e1ec3
sub eax, 1
jne 0x4e1f09
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x4e1f09
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
jmp 0x4e1f09
cmp dword [ebp - 0x14], 6
mov dword [ebx + 0x4c], 0x77d220
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x77da20
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jne 0x4e1f09
shr edx, 2
sub edi, 3
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0xc]
jmp 0x4e1bd4
mov dword [ebx], 0xd
shr edx, 2
sub edi, 3
jmp 0x4e1851
mov ecx, edi
and ecx, 7
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
cmp edi, 0x20
jae 0x4e1f58
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x4e1f2b
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4e1f72
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x4e29e6
xor eax, eax
mov dword [ebx + 0x40], ecx
cmp dword [ebp - 0x14], 6
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
mov dword [ebx], 0xe
je 0x4e1efb
mov dword [ebx], 0xf
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x4e25cb
mov eax, dword [ebp - 0xc]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x4e1efb
push ecx
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.00552b30
mov eax, dword [ebp - 0x50]
add esp, 0xc
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x1c], eax
add dword [ebp - 0x24], eax
sub dword [ebx + 0x40], eax
jmp 0x4e1d93
cmp edi, 0xe
jae 0x4e2015
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x4e1feb
mov ecx, edx
sub edi, 0xe
and ecx, dword [ebp - 0x40]
shr edx, 5
add ecx, 0x101
mov eax, edx
mov dword [ebx + 0x60], ecx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x50], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x10], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x4e2065
cmp dword [ebp - 0x50], 0x1e
ja 0x4e2065
mov eax, dword [ebp - 0x4c]
and dword [ebx + 0x68], 0
mov dword [ebx], eax
jmp case.0x4e1723.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4e29e6
cmp edi, 3
jae 0x4e20a3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x4e2079
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x10], edx
movzx eax, word [eax*2 + 0x77daa0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x4e2071
cmp eax, 0x13
jae 0x4e20ef
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x77daa0]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x4e20d4
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.004e7702
mov edx, dword [ebp - 0x10]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4e2136
mov dword [esi + 0x18], str.invalid_code_lengths_set
jmp 0x4e29e6
mov eax, dword [ebp - 0x54]
mov ecx, eax
and dword [ebx + 0x68], 0
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x4e2344
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x50], eax
jmp 0x4e2185
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0x50]
add edi, 8
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx + 0x4c]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x44], eax
cmp ecx, edi
ja 0x4e215e
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x50], ecx
cmp cx, word [ebp - 0x28]
jae 0x4e21d0
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x68]
sub edi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x18], edi
jmp 0x4e231a
jne 0x4e2244
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [ebp - 0x50], ecx
cmp edi, ecx
jae 0x4e220e
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 0x10], edx
inc dword [ebp - 8]
cmp edi, dword [ebp - 0x50]
jb 0x4e21e4
mov edx, dword [ebp - 0x10]
movzx ecx, ah
mov eax, dword [ebx + 0x68]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
test eax, eax
je 0x4e232c
movzx eax, word [ebx + eax*2 + 0x6e]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
sub edi, 2
jmp 0x4e22e2
mov ecx, dword [ebp - 0x4c]
cmp word [ebp - 0x42], cx
movzx ecx, ah
jne 0x4e2294
mov dword [ebp - 0x50], ecx
jmp 0x4e227c
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
lea eax, [ecx + 3]
cmp edi, eax
jb 0x4e2255
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x4e22d6
mov dword [ebp - 0x50], ecx
jmp 0x4e22c0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
lea eax, [ecx + 7]
cmp edi, eax
jb 0x4e2299
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
push 0xfffffffffffffff9
mov dword [ebp - 0x3c], eax
pop eax
sub eax, ecx
add edi, eax
and dword [ebp - 0x44], 0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, dword [ebp - 0x3c]
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
cmp ecx, eax
ja 0x4e2338
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub esi, 1
jne 0x4e22fe
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x4e2150
mov ecx, dword [ebx]
jmp 0x4e2344
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x4e29e6
mov ecx, dword [ebp - 0x58]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], ecx
cmp ecx, 0x1d
je 0x4e29ec
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x4e2364
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4e29e6
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
push dword [ebx + 0x60]
xor ecx, ecx
mov dword [eax], 9
lea edx, [ebx + 0x70]
inc ecx
call fcn.004e7702
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4e23ad
mov dword [esi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0x10]
jmp 0x4e29e6
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
push edx
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.004e7702
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4e23f0
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x4e23a5
mov edx, dword [ebp - 0x14]
mov dword [ebx], 0x13
cmp edx, 6
je 0x4e2a45
mov edx, dword [ebp - 0x10]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0xc]
cmp eax, 6
jb 0x4e2478
cmp dword [ebp - 0x1c], 0x102
jb 0x4e2478
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, esi
mov dword [esi + 4], eax
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x3c], edi
call fcn.004e7320
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
jne 0x4e29ec
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x4e29ec
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
dec eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], ecx
jmp 0x4e24c0
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x4c]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x4e2493
test al, al
je 0x4e2591
test al, 0xf0
jne 0x4e2591
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x44], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x18]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x4e257b
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e2a3d
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x18], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x42]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0x10], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x18]
cmp ecx, edi
ja 0x4e2522
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
movzx ecx, dh
mov edx, dword [ebp - 0x10]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x4e25c0
mov dword [ebx], 0x19
jmp 0x4e29ec
test al, 0x20
je 0x4e25d6
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x4e29ec
test al, 0x40
je 0x4e25e6
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x4e29e6
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x4e2649
cmp edi, esi
jae 0x4e262c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x4e2603
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x18], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x3c], ecx
jmp 0x4e2694
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x4e266a
test al, 0xf0
jne 0x4e275d
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x44], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x3c]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x18]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x4e274a
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e2a3d
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x18], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x42]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0x10], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x18]
cmp ecx, edi
ja 0x4e26f1
mov ebx, dword [ebp - 0x38]
movzx ecx, dh
mov edx, dword [ebp - 0x10]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov esi, dword [ebp - 0x2c]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
test al, 0x40
je 0x4e2788
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x4e29e6
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x4e27f4
cmp edi, ecx
jae 0x4e27d9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebx + 0x48]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x4e27ad
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0x18], edi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebx], 0x18
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e1efb
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x4e285d
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x4e282d
cmp dword [ebx + 0x1bc0], 0
je 0x4e282d
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x4e29e6
cmp eax, dword [ebx + 0x30]
jbe 0x4e283f
sub eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
sub ecx, eax
add ecx, dword [ebx + 0x34]
jmp 0x4e2847
mov ecx, dword [ebx + 0x34]
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x40]
cmp eax, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x3c], esi
cmovbe esi, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], esi
jmp 0x4e2868
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x1c]
mov ebx, esi
cmp dword [ebp - 0x3c], ebx
cmovbe esi, dword [ebp - 0x3c]
sub ebx, esi
sub eax, esi
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x38]
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp - 0x24]
sub ecx, ebx
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x4e2886
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 0x40], 0
jne 0x4e29ec
mov dword [ebx], 0x14
jmp 0x4e29ec
cmp dword [ebp - 0x1c], 0
je 0x4e1efb
mov ecx, dword [ebp - 0x24]
mov al, byte [ebx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
jmp 0x4e28a4
cmp dword [ebx + 8], 0
je 0x4e2989
cmp edi, 0x20
jae 0x4e2909
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x4e28dc
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x1c]
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
test eax, eax
je 0x4e293e
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 0x18]
sub edx, eax
cmp dword [ebx + 0x10], 0
push eax
je 0x4e292f
call fcn.004e7a7b
jmp 0x4e2934
call fcn.00484d32
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
pop ecx
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 0x30], eax
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
je 0x4e297f
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x4e29e6
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x4e2a27
cmp dword [ebx + 0x10], eax
je 0x4e2a27
cmp edi, 0x20
jae 0x4e29da
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4e1bd4
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x4e29ab
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x4e2a22
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1e
jbe switch.0x004e1723
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x4e29fb
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebx], 0x1c
xor ecx, ecx
inc ecx
mov dword [ebp - 0x34], ecx
jmp 0x4e1efb
push 0xfffffffffffffffd
pop ecx
jmp 0x4e2a30
mov ebx, dword [ebp - 0x38]
jmp 0x4e1bd4
mov ecx, dword [ebp - 0xc]
jmp 0x4e1bd7
mov ecx, dword [ebp - 0xc]
mov edx, eax
jmp 0x4e1bd7
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x48]
sub edx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x30], eax
cmp dword [ebx + 8], edi
je 0x4e2a9f
test eax, eax
je 0x4e2a9f
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, eax
push eax
cmp dword [ebx + 0x10], edi
je 0x4e2a90
call fcn.004e7a7b
jmp 0x4e2a95
call fcn.00484d32
mov edx, dword [ebp - 0x48]
mov dword [ebx + 0x18], eax
pop ecx
mov dword [esi + 0x30], eax
cmp dword [ebx], 0x13
je 0x4e2aa9
cmp dword [ebx], 0xe
jne 0x4e2aae
mov edi, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp - 0x58], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp - 0x58]
add ecx, eax
add ecx, dword [ebx + 0x3c]
add ecx, edi
mov dword [esi + 0x2c], ecx
test edx, edx
jne 0x4e2adb
cmp dword [ebp - 0x30], edx
je 0x4e2ae1
cmp dword [ebp - 0x14], 4
jne 0x4e2af1
mov eax, dword [ebp - 0x34]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x4e29fc
mov eax, dword [ebp - 0x34]
jmp 0x4e29fc