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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
cmp dword [ebp + 8], 0
mov dword [ebp - 0x40], 0xfffffffe
je 0x4b8169
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x4b8169
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4b8169
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x38], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
jne 0x4b6f0a
test eax, eax
jne 0x4b8169
cmp dword [ebx], 0xb
jne 0x4b6f15
mov dword [ebx], 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov esi, dword [ebx]
cmp esi, 0x1c
ja case.default.0x4b6f44
jmp dword [esi*4 + 0x529f08]
mov dword [ebp - 0x40], 0xfffffffd
jmp 0x4b807d
mov dword [ebp - 0x40], 0xfffffffe
jmp 0x4b8169
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4b6f95
mov dword [ebx], 0xc
jmp 0x4b6f3d
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx edx, byte [edi - 1]
add dword [ebp - 0x2c], 8
shl edx, cl
add dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], 0xf
jbe 0x4b6f72
test al, 2
je 0x4b6ff8
cmp dword [ebp - 0x30], 0x8b1f
jne 0x4b6ff8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004b909f
lea edx, [ebp - 0x1c]
mov word [ebp - 0x1c], 0x8b1f
mov dword [ebx + 0x18], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx], 1
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
jmp 0x4b6f3d
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x10], 0
test edx, edx
je 0x4b700d
mov dword [edx + 0x30], 0xffffffff
test al, 1
je 0x4b702f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov ecx, 0x1f
shl eax, 8
shr edx, 8
movzx eax, ax
add eax, edx
xor edx, edx
div ecx
test edx, edx
je 0x4b703b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x529d60
jmp 0x4b7050
mov eax, dword [ebp - 0x30]
and eax, 0xf
cmp eax, 8
je 0x4b705b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [ebx], 0x1b
jmp 0x4b6f3d
shr dword [ebp - 0x30], 4
mov ecx, dword [ebp - 0x30]
and ecx, 0xf
add ecx, 8
cmp dword [ebx + 0x24], ecx
jae 0x4b707d
mov eax, dword [ebp + 8]
sub dword [ebp - 0x2c], 4
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x4b7050
mov eax, 1
shl eax, cl
mov dword [ebx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004b8d44
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], 0
and eax, 0x200
cmp eax, 1
sbb eax, eax
and eax, 2
add eax, 9
mov dword [ebx], eax
jmp 0x4b6f3d
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0xf
jbe 0x4b70d4
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x30], 8
mov dword [ebx + 0x10], eax
jne 0x4b7046
test dword [ebp - 0x30], 0xe000
je 0x4b7125
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x4b7050
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x4b7137
mov eax, dword [ebp - 0x30]
shr eax, 8
and eax, 1
mov dword [edx], eax
bt dword [ebp - 0x30], 9
jae 0x4b7162
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 2
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx + 0x18], eax
mov dword [ebx], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp case.0x4b6f44.2
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0x1f
jbe 0x4b7178
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b71ae
mov esi, dword [ebp - 0x30]
mov dword [eax + 4], esi
test byte [ebx + 0x11], 2
je 0x4b71d7
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx + 0x18], eax
mov dword [ebx], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp case.0x4b6f44.3
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0xf
jbe 0x4b71ed
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b722d
movzx edx, byte [ebp - 0x30]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x30]
shr edx, 8
mov dword [eax + 0xc], edx
test byte [ebx + 0x11], 2
je 0x4b7257
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 2
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx + 0x18], eax
mov dword [ebx], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebx + 0x10]
bt edx, 0xa
jae 0x4b72de
cmp dword [ebp - 0x2c], 0xf
ja 0x4b729f
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7274
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b72b2
mov esi, dword [ebp - 0x30]
mov dword [eax + 0x14], esi
bt edx, 9
jae 0x4b72ee
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 2
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx + 0x18], eax
jmp 0x4b72ee
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b72fc
mov dword [eax + 0x10], 0
jmp 0x4b72fc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebx], 5
test byte [ebx + 0x11], 4
je 0x4b738f
mov esi, dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], esi
cmova eax, esi
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4b7385
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x4b7357
mov edi, dword [edx + 0x10]
test edi, edi
je 0x4b7357
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x54], eax
sub eax, esi
add ecx, eax
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x58], edx
jbe 0x4b734e
lea ecx, [edx + esi]
sub ecx, dword [ebp - 0x54]
add eax, edi
mov esi, dword [ebp - 0x38]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
test byte [ebx + 0x11], 2
je 0x4b7379
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 0x4c]
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
sub dword [ebx + 0x40], esi
cmp dword [ebx + 0x40], 0
jne 0x4b807d
mov dword [ebx + 0x40], 0
mov dword [ebx], 6
test byte [ebx + 0x11], 8
je 0x4b7412
cmp dword [ebp - 0x34], 0
je 0x4b807d
xor esi, esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x20]
inc esi
mov dl, byte [eax + esi - 1]
test ecx, ecx
je 0x4b73d5
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x4b73d5
mov eax, dword [ebx + 0x40]
cmp eax, dword [ecx + 0x20]
jae 0x4b73d5
lea ecx, [eax + 1]
mov dword [ebx + 0x40], ecx
mov byte [edi + eax], dl
test dl, dl
je 0x4b73de
cmp dword [ebp - 0x34], esi
ja 0x4b73ae
test byte [ebx + 0x11], 2
je 0x4b7403
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], esi
mov byte [ebp - 0x4c], dl
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dl, byte [ebp - 0x4c]
mov dword [ebx + 0x18], eax
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
test dl, dl
je 0x4b7420
jmp 0x4b807d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b7420
mov dword [eax + 0x1c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx], 7
test byte [ebx + 0x11], 0x10
je 0x4b74a3
cmp dword [ebp - 0x34], 0
je 0x4b807d
xor esi, esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x20]
inc esi
mov dl, byte [eax + esi - 1]
test ecx, ecx
je 0x4b7466
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x4b7466
mov eax, dword [ebx + 0x40]
cmp eax, dword [ecx + 0x28]
jae 0x4b7466
lea ecx, [eax + 1]
mov dword [ebx + 0x40], ecx
mov byte [edi + eax], dl
test dl, dl
je 0x4b746f
cmp dword [ebp - 0x34], esi
ja 0x4b743f
test byte [ebx + 0x11], 2
je 0x4b7494
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], esi
mov byte [ebp - 0x4c], dl
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.004b909f
mov dl, byte [ebp - 0x4c]
mov dword [ebx + 0x18], eax
sub dword [ebp - 0x34], esi
add dword [ebp - 0x38], esi
test dl, dl
je 0x4b74b1
jmp 0x4b807d
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4b74b1
mov dword [eax + 0x24], 0
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
bt eax, 9
jae 0x4b7511
cmp dword [ebp - 0x2c], 0xf
ja 0x4b74eb
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx edx, byte [edi - 1]
add dword [ebp - 0x2c], 8
shl edx, cl
add dword [ebp - 0x30], edx
jmp 0x4b74c0
movzx edx, word [ebx + 0x18]
cmp edx, dword [ebp - 0x30]
je 0x4b7503
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x4b7050
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x4b7528
sar eax, 9
mov dword [edx + 0x30], 1
and eax, 1
mov dword [edx + 0x2c], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004b909f
mov esi, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
jmp 0x4b7cc5
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0x1f
jbe 0x4b7552
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
shr edx, 0x18
shl ecx, 0x18
shr eax, 8
add ecx, edx
and eax, 0xff00
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], 0
shl eax, 8
and eax, 0xff0000
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xa
cmp dword [ebx + 0xc], 0
jne 0x4b75f9
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x40], 2
mov edi, dword [ebp - 0x3c]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x34]
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
jmp 0x4b8169
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004b8d44
mov esi, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x4b807d
cmp dword [ebx + 4], 0
je 0x4b766f
mov ecx, dword [ebp - 0x2c]
mov dword [ebx], 0x18
and dword [ebp - 0x2c], 0xfffffff8
and ecx, 7
shr dword [ebp - 0x30], cl
jmp 0x4b6f3d
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 2
jbe 0x4b764c
mov eax, dword [ebp - 0x30]
and eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
shr eax, 1
and eax, 3
cmp eax, 2
je 0x4b76bf
cmp eax, 3
je 0x4b76c7
dec eax
je 0x4b769b
mov dword [ebx], 0xd
jmp 0x4b76d7
mov dword [ebx + 0x4c], 0x52a000
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x529f80
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x4b76d7
mov dword [ebx], 0xf
jmp 0x4b76d7
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
sub dword [ebp - 0x2c], 3
shr dword [ebp - 0x30], 3
jmp 0x4b6f3d
mov ecx, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0xfffffff8
and ecx, 7
shr dword [ebp - 0x30], cl
cmp dword [ebp - 0x2c], 0x1f
ja 0x4b771c
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b76f1
mov eax, dword [ebp - 0x30]
movzx edx, word [ebp - 0x30]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x4b773e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x4b7050
mov dword [ebx + 0x40], edx
mov dword [ebx], 0xe
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4b7cc5
cmp dword [ebp - 0x3c], eax
cmovbe eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x34], eax
cmovbe eax, dword [ebp - 0x34]
test eax, eax
je 0x4b807d
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x38]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x3c], eax
sub dword [ebx + 0x40], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], edi
jmp 0x4b6f3d
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0xd
jbe 0x4b7794
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub dword [ebp - 0x2c], 0xe
shr eax, 5
shr edx, 0xa
and ecx, 0x1f
and eax, 0x1f
and edx, 0xf
shr dword [ebp - 0x30], 0xe
add ecx, 0x101
inc eax
add edx, 4
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x5c], edx
cmp eax, 0x1e
ja 0x4b77fd
cmp ecx, 0x11e
jbe 0x4b780c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4b7050
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x10
mov esi, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x68]
cmp eax, esi
jae 0x4b7871
cmp dword [ebp - 0x2c], 2
ja 0x4b784e
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx edx, byte [edi - 1]
add dword [ebp - 0x2c], 8
shl edx, cl
add dword [ebp - 0x30], edx
jmp 0x4b7823
lea edx, [eax + 1]
movzx eax, word [eax + eax + 0x52a800]
sub dword [ebp - 0x2c], 3
mov dword [ebx + 0x68], edx
mov edx, dword [ebp - 0x30]
shr dword [ebp - 0x30], 3
and edx, 7
mov word [ebx + eax*2 + 0x70], dx
jmp 0x4b781c
mov eax, dword [ebx + 0x68]
cmp eax, 0x12
ja 0x4b7890
lea edx, [eax + 1]
movzx eax, word [eax + eax + 0x52a800]
mov dword [ebx + 0x68], edx
mov word [ebx + eax*2 + 0x70], 0
jmp 0x4b7871
lea eax, [ebx + 0x530]
mov dword [ebx + 0x54], 7
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x2f0]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x54]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x6c]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x70]
mov dword [esp + 8], 0x13
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004b84f8
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4b78ec
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x4b7050
mov dword [ebx + 0x68], 0
mov dword [ebx], 0x11
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x4c], eax
add eax, dword [ebx + 0x64]
mov dword [ebp - 0x54], eax
mov edx, dword [ebx + 0x68]
cmp edx, dword [ebp - 0x54]
jae 0x4b7aa7
mov ecx, dword [ebx + 0x54]
or esi, 0xffffffff
mov edi, dword [ebx + 0x4c]
shl esi, cl
not esi
mov eax, dword [ebp - 0x30]
and eax, esi
lea ecx, [edi + eax*4]
movzx eax, byte [ecx + 1]
cmp eax, dword [ebp - 0x2c]
jbe 0x4b7954
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b791e
mov si, word [ecx + 2]
cmp si, 0xf
ja 0x4b7973
mov ecx, eax
sub dword [ebp - 0x2c], eax
lea eax, [edx + 1]
mov dword [ebx + 0x68], eax
shr dword [ebp - 0x30], cl
mov word [ebx + edx*2 + 0x70], si
jmp 0x4b7905
lea edi, [eax + 2]
cmp si, 0x10
jne 0x4b79d1
cmp edi, dword [ebp - 0x2c]
jbe 0x4b79a6
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx esi, byte [esi - 1]
add dword [ebp - 0x2c], 8
shl esi, cl
add dword [ebp - 0x30], esi
jmp 0x4b797c
mov ecx, eax
sub dword [ebp - 0x2c], eax
shr dword [ebp - 0x30], cl
test edx, edx
je 0x4b7a7b
mov ecx, dword [ebp - 0x30]
movzx eax, word [ebx + edx*2 + 0x6e]
shr dword [ebp - 0x30], 2
sub dword [ebp - 0x2c], 2
and ecx, 3
add ecx, 3
jmp 0x4b7a74
lea edi, [eax + 3]
cmp si, 0x11
je 0x4b7a02
lea edi, [eax + 7]
jmp 0x4b7a4e
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx esi, byte [esi - 1]
add dword [ebp - 0x2c], 8
shl esi, cl
add dword [ebp - 0x30], esi
cmp edi, dword [ebp - 0x2c]
ja 0x4b79df
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov ecx, eax
shr esi, cl
sub edi, eax
mov ecx, esi
mov eax, edi
shr esi, 3
and ecx, 7
sub eax, 3
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add ecx, 3
jmp 0x4b7a72
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx esi, byte [esi - 1]
add dword [ebp - 0x2c], 8
shl esi, cl
add dword [ebp - 0x30], esi
cmp edi, dword [ebp - 0x2c]
ja 0x4b7a2b
mov esi, dword [ebp - 0x30]
mov ecx, eax
mov edi, 0xfffffff9
sub edi, eax
add dword [ebp - 0x2c], edi
shr esi, cl
mov ecx, esi
shr esi, 7
mov dword [ebp - 0x30], esi
and ecx, 0x7f
add ecx, 0xb
xor eax, eax
add edx, ecx
cmp edx, dword [ebp - 0x54]
jbe 0x4b7a8d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x4b7aa7
dec ecx
mov edx, dword [ebx + 0x68]
cmp ecx, 0xffffffff
je 0x4b7905
lea esi, [edx + 1]
mov dword [ebx + 0x68], esi
mov word [ebx + edx*2 + 0x70], ax
jmp 0x4b7a8d
cmp dword [ebx], 0x1b
je 0x4b6f3d
lea eax, [ebx + 0x530]
mov dword [ebx + 0x54], 9
lea edx, [ebx + 0x2f0]
mov dword [ebx + 0x6c], eax
lea edi, [ebx + 0x6c]
lea esi, [ebx + 0x70]
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 1
mov dword [ebp - 0x54], edx
call fcn.004b84f8
mov edx, dword [ebp - 0x54]
test eax, eax
mov dword [ebp - 0x40], eax
je 0x4b7b11
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x4b7050
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x58], 6
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x60]
mov dword [esp], 2
add eax, eax
add eax, esi
mov dword [esp + 4], eax
call fcn.004b84f8
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4b7b61
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x4b7050
mov dword [ebx], 0x12
cmp dword [ebp - 0x34], 5
jbe 0x4b7b76
cmp dword [ebp - 0x3c], 0x101
ja 0x4b7b8b
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x4c], eax
or eax, 0xffffffff
shl eax, cl
not eax
jmp 0x4b7c1a
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [eax], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004b88cc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x2c], eax
jmp 0x4b6f3d
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx edx, byte [edi - 1]
add dword [ebp - 0x2c], 8
shl edx, cl
add dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x4c]
and edx, eax
lea ecx, [edi + edx*4]
movzx edi, byte [ecx + 1]
mov edx, edi
cmp edi, dword [ebp - 0x2c]
ja 0x4b7bf7
mov al, byte [ecx]
movzx esi, word [ecx + 2]
test al, al
je 0x4b7ca4
test al, 0xf0
jne 0x4b7ca4
lea ecx, [eax + edi]
or edx, 0xffffffff
movzx eax, si
shl edx, cl
mov dword [ebp - 0x58], eax
not edx
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x4c]
mov ecx, edi
mov eax, dword [ebp - 0x54]
and eax, dword [ebp - 0x30]
shr eax, cl
add eax, dword [ebp - 0x58]
lea ecx, [edx + eax*4]
mov dl, byte [ecx + 1]
mov al, byte [ecx]
movzx esi, word [ecx + 2]
movzx ecx, dl
add ecx, edi
cmp ecx, dword [ebp - 0x2c]
jbe 0x4b7c9c
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7c51
sub dword [ebp - 0x2c], edi
mov ecx, edi
shr dword [ebp - 0x30], cl
movzx edi, dl
mov ecx, edx
sub dword [ebp - 0x2c], edi
mov dword [ebx + 0x40], esi
shr dword [ebp - 0x30], cl
test al, al
jne 0x4b7cc1
mov dword [ebx], 0x17
jmp 0x4b6f3d
test al, 0x20
je 0x4b7cd0
mov dword [ebx], 0xb
jmp 0x4b6f3d
test al, 0x40
je 0x4b7ce3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x529e8c
jmp 0x4b7050
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x4b7d35
cmp edx, dword [ebp - 0x2c]
jbe 0x4b7d20
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7cf6
mov ecx, edx
or eax, 0xffffffff
sub dword [ebp - 0x2c], edx
shl eax, cl
not eax
and eax, dword [ebp - 0x30]
add dword [ebx + 0x40], eax
shr dword [ebp - 0x30], cl
mov dword [ebx], 0x14
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x4c], eax
or eax, 0xffffffff
shl eax, cl
not eax
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x4c]
and edx, eax
lea ecx, [edi + edx*4]
movzx edi, byte [ecx + 1]
mov edx, edi
cmp edi, dword [ebp - 0x2c]
jbe 0x4b7d86
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx edx, byte [edx - 1]
add dword [ebp - 0x2c], 8
shl edx, cl
add dword [ebp - 0x30], edx
jmp 0x4b7d4b
mov al, byte [ecx]
movzx esi, word [ecx + 2]
test al, 0xf0
jne 0x4b7df6
lea ecx, [eax + edi]
or edx, 0xffffffff
movzx eax, si
shl edx, cl
mov dword [ebp - 0x58], eax
not edx
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x4c]
mov ecx, edi
mov eax, dword [ebp - 0x54]
and eax, dword [ebp - 0x30]
shr eax, cl
add eax, dword [ebp - 0x58]
lea ecx, [edx + eax*4]
mov dl, byte [ecx + 1]
mov al, byte [ecx]
movzx esi, word [ecx + 2]
movzx ecx, dl
add ecx, edi
cmp ecx, dword [ebp - 0x2c]
jbe 0x4b7dee
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7da3
sub dword [ebp - 0x2c], edi
mov ecx, edi
shr dword [ebp - 0x30], cl
movzx edi, dl
mov ecx, edx
sub dword [ebp - 0x2c], edi
shr dword [ebp - 0x30], cl
test al, 0x40
je 0x4b7e14
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x529ea8
jmp 0x4b7050
and eax, 0xf
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], eax
mov dword [ebx], 0x15
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x4b7e69
cmp edx, dword [ebp - 0x2c]
jbe 0x4b7e54
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7e2a
mov ecx, edx
or eax, 0xffffffff
sub dword [ebp - 0x2c], edx
shl eax, cl
not eax
and eax, dword [ebp - 0x30]
add dword [ebx + 0x44], eax
shr dword [ebp - 0x30], cl
mov eax, dword [ebp - 0x48]
add eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x3c]
cmp dword [ebx + 0x44], eax
jbe 0x4b7e86
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x529ebe
jmp 0x4b7050
mov dword [ebx], 0x16
cmp dword [ebp - 0x3c], 0
je 0x4b807d
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x40]
cmp eax, ecx
jbe 0x4b7ed8
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebx + 0x30]
lea ecx, [eax + edi]
mov edi, dword [ebx + 0x34]
mov eax, ecx
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x48]
sub edi, ecx
mov ecx, edi
cmp esi, eax
jae 0x4b7eca
sub eax, esi
add esi, dword [ebx + 0x28]
add ecx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
cmp eax, edx
cmova eax, edx
jmp 0x4b7edf
mov esi, dword [ebp - 0x44]
sub esi, eax
mov eax, edx
cmp dword [ebp - 0x3c], eax
cmovbe eax, dword [ebp - 0x3c]
sub dword [ebp - 0x3c], eax
sub edx, eax
add eax, dword [ebp - 0x44]
mov dword [ebx + 0x40], edx
mov edi, dword [ebp - 0x44]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x44], edi
cmp edi, eax
jne 0x4b7ef1
cmp dword [ebx + 0x40], 0
jne 0x4b6f3d
mov dword [ebx], 0x12
jmp 0x4b6f3d
cmp dword [ebp - 0x3c], 0
je 0x4b807d
mov esi, dword [ebp - 0x44]
mov eax, dword [ebx + 0x40]
dec dword [ebp - 0x3c]
mov byte [esi], al
mov eax, esi
inc eax
mov dword [ebx], 0x12
mov dword [ebp - 0x44], eax
jmp 0x4b6f3d
cmp dword [ebx + 8], 0
je 0x4b8012
cmp dword [ebp - 0x2c], 0x1f
ja 0x4b7f6c
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b7f41
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x3c]
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
test eax, eax
je 0x4b7fb1
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
cmp dword [ebx + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
je 0x4b7fa3
call fcn.004b909f
jmp 0x4b7fa8
call fcn.004b8d44
mov edx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [edx + 0x30], eax
cmp dword [ebx + 0x10], 0
mov eax, dword [ebp - 0x30]
jne 0x4b7fde
mov edx, eax
mov ecx, eax
shr eax, 8
shr edx, 0x18
shl ecx, 0x18
and eax, 0xff00
add ecx, edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x30]
shl eax, 8
and eax, 0xff0000
add eax, edx
cmp dword [ebx + 0x18], eax
je 0x4b7ffe
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [ebp - 0x3c]
mov dword [ebx], 0x1b
mov dword [ebp - 0x48], eax
jmp 0x4b6f3d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], eax
mov dword [ebx], 0x19
cmp dword [ebx + 8], 0
je 0x4b8070
cmp dword [ebx + 0x10], 0
je 0x4b8070
cmp dword [ebp - 0x2c], 0x1f
ja 0x4b804b
cmp dword [ebp - 0x34], 0
je 0x4b807d
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x2c]
dec dword [ebp - 0x34]
movzx eax, byte [eax - 1]
add dword [ebp - 0x2c], 8
shl eax, cl
add dword [ebp - 0x30], eax
jmp 0x4b8024
mov eax, dword [ebp - 0x30]
cmp dword [ebx + 0x1c], eax
je 0x4b8062
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_length_check
jmp 0x4b7050
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebx], 0x1a
mov dword [ebp - 0x40], 1
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x34]
mov dword [eax + 0x10], edx
cmp dword [ebx + 0x28], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
jne 0x4b80b3
cmp dword [ebx], 0x17
ja 0x4b80cd
cmp dword [ebp - 0x48], edx
je 0x4b80cd
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
call fcn.004b6baa
test eax, eax
je 0x4b80cd
mov dword [ebx], 0x1c
jmp case.0x4b6f44.28
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x48]
sub esi, dword [eax + 4]
mov eax, dword [eax + 0x10]
add dword [edx + 8], esi
sub edi, eax
add dword [edx + 0x14], edi
add dword [ebx + 0x1c], edi
cmp dword [ebx + 8], 0
je 0x4b8123
test edi, edi
je 0x4b8123
sub eax, dword [ebp - 0x48]
add eax, dword [edx + 0xc]
mov edx, dword [ebx + 0x18]
cmp dword [ebx + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], edx
je 0x4b8115
call fcn.004b909f
jmp 0x4b811a
call fcn.004b8d44
mov edx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [edx + 0x30], eax
cmp dword [ebx + 4], 1
mov edx, pe_nt_image_headers32
mov ecx, 0
sbb eax, eax
not eax
and eax, 0x40
add eax, dword [ebx + 0x3c]
cmp dword [ebx], 0xb
cmovne edx, ecx
mov ebx, dword [ebp + 8]
add eax, edx
or esi, edi
mov dword [ebx + 0x2c], eax
je 0x4b8153
cmp dword [ebp + 0xc], 4
jne 0x4b8169
cmp dword [ebp - 0x40], 0
jne 0x4b8169
mov dword [ebp - 0x40], 0xfffffffb
jmp 0x4b8169
mov dword [ebp - 0x40], 0xfffffffc
mov eax, dword [ebp - 0x40]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret