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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov ecx, dword [ebp + 8]
test ecx, ecx
je case.default.0x508940
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
test eax, eax
mov dword [ebp - 0x4c], eax
je case.default.0x508940
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.default.0x508940
mov ebx, dword [edx]
test ebx, ebx
je 0x508947
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi]
cmp eax, 0xb
je 0x50895d
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
mov esi, dword [edi + 0x30]
mov edi, dword [ebx + 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
cmp eax, 0x1c
ja case.default.0x508940
jmp dword [eax*4 + 0x559a6c]
mov edx, dword [edx + 4]
test edx, edx
je 0x508903
mov esi, esi
mov eax, 0xfffffffe
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esi], 0xc
mov eax, 0xc
jmp 0x50890d
cmp edi, 0xf
ja 0x508996
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0xf
jbe 0x50896f
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x4c]
cmp bl, 8
mov dword [esi + 0x10], ebx
je 0x509d54
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x509630
cmp edi, 0xd
ja 0x5089e3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0xd
jbe 0x5089bc
mov eax, dword [ebp - 0x24]
sub edi, 0xe
mov esi, dword [ebp - 0x24]
shr dword [ebp - 0x24], 0xa
mov ebx, dword [ebp - 0x4c]
and eax, 0x1f
shr esi, 5
add eax, 0x101
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x58], eax
and esi, 0x1f
lea ecx, [esi + 1]
mov dword [ebx + 0x5c], ecx
mov esi, dword [ebp - 0x4c]
and edx, 0xf
shr dword [ebp - 0x24], 4
cmp eax, 0x11e
lea ebx, [edx + 4]
mov dword [esi + 0x54], ebx
ja 0x508a2d
cmp ecx, 0x1e
jbe 0x509d97
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edx], 0x1b
mov eax, 0x1b
jmp switch.0x00508940
cmp edi, 0x1f
ja 0x508a76
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0x1f
jbe 0x508a4f
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shl dword [ebp - 0x24], 0x18
shr ecx, 8
mov edx, dword [ebp - 0x4c]
shr esi, 0x18
and ecx, 0xff00
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x24]
and eax, 0xff00
add esi, ecx
mov dword [ebp - 0x24], 0
shl eax, 8
add esi, eax
mov dword [edx], 0xa
add esi, ebx
mov dword [edx + 0x14], esi
mov dword [edi + 0x30], esi
xor edi, edi
mov esi, dword [ebp - 0x4c]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x50a007
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._adler32
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebx], 0xb
mov dword [ecx + 0x30], eax
cmp dword [ebp + 0xc], 5
jne case.0x508940.12
lea esi, [esi]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], esi
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x34], edi
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x30], eax
test edi, edi
jne 0x508b50
cmp dword [ebx], 0x17
ja 0x509a6f
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x508bee
nop
lea esi, [esi]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [esi + 0x2c]
mov dword [ebp - 0x48], ebx
test ebx, ebx
je 0x5090b0
mov edx, dword [esi + 0x20]
test edx, edx
jne 0x508b86
mov dword [esi + 0x28], 0
mov ecx, dword [esi + 0x1c]
mov edx, 1
mov dword [esi + 0x24], 0
shl edx, cl
mov dword [esi + 0x20], edx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [eax + 0x10]
sub ebx, edi
cmp edx, ebx
jbe 0x509a9d
mov eax, dword [esi + 0x28]
mov edi, edx
sub edi, eax
cmp edi, ebx
jbe 0x508ba6
mov edi, ebx
sub dword [ebp - 0x68], ebx
mov edx, dword [ebp - 0x48]
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x68]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
sub ebx, edi
jne 0x509ac5
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
add eax, edi
cmp eax, edx
je 0x509b2f
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
cmp eax, edx
jae 0x508be8
add eax, edi
mov dword [esi + 0x24], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
sub ebx, eax
sub esi, ecx
add dword [edx + 8], esi
mov ecx, dword [ebp - 0x4c]
add dword [edx + 0x14], ebx
mov edi, dword [ecx + 8]
add dword [ecx + 0x18], ebx
test edi, edi
setne al
xor edx, edx
test ebx, ebx
setne dl
test eax, edx
je 0x508c4f
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x509a7a
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x14]
mov dword [esp], edi
call sym._crc32
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edi + 0x30], eax
mov edi, dword [ebp - 0x4c]
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x34]
test edx, edx
je 0x508c5f
add eax, 0x40
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0xb
je 0x5098dd
mov edx, dword [ebp + 8]
or esi, ebx
mov dword [edx + 0x2c], eax
sete al
cmp dword [ebp + 0xc], 4
sete bl
or eax, ebx
test al, 1
je 0x508ca0
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x508ca0
mov dword [ebp - 0x30], 0xfffffffb
jmp 0x508ca0
mov eax, dword [ebp - 0x30]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
test dword [ebp - 0x24], 0x200
jne 0x509ec2
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], 2
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0x1f
jbe 0x508cca
mov edi, dword [ebp - 0x4c]
test byte [edi + 0x11], 2
jne 0x509cba
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], 3
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx edx, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl edx, cl
add dword [ebp - 0x24], edx
cmp edi, 0xf
jbe 0x508d10
mov edi, dword [ebp - 0x4c]
mov eax, dword [edi + 0x10]
test ah, 2
mov dword [ebp - 0x6c], eax
jne 0x509c15
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], 4
test dword [ebp - 0x6c], 0x400
je 0x508dae
cmp edi, 0xf
ja 0x508d8f
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx edx, byte [esi]
inc dword [ebp - 0x14]
shl edx, cl
add dword [ebp - 0x24], edx
cmp edi, 0xf
jbe 0x508d69
test dword [ebp - 0x6c], 0x200
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x4c]
mov dword [esi + 0x38], ebx
jne 0x509c83
mov dword [ebp - 0x24], 0
xor edi, edi
mov esi, dword [ebp - 0x4c]
mov dword [esi], 5
test dword [ebp - 0x6c], 0x400
je 0x508e00
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x38]
cmp eax, dword [ebp - 0x1c]
mov ebx, eax
jbe 0x508dd0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508def
test dword [ebp - 0x6c], 0x200
jne 0x509d08
sub dword [ebp - 0x1c], ebx
sub eax, ebx
add dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x508b00
mov esi, dword [ebp - 0x4c]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x4c]
mov dword [eax], 6
test dword [ebp - 0x6c], 0x800
je 0x508e5d
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
xor ebx, ebx
nop
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebx + ecx]
inc ebx
test esi, esi
setne al
xor edx, edx
cmp ebx, dword [ebp - 0x1c]
setb dl
test eax, edx
jne 0x508e20
test dword [ebp - 0x6c], 0x2000
jne 0x509bf4
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x508b00
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x6c], esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 7
test dword [ebp - 0x6c], 0x1000
je 0x508ebd
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x508b00
xor ebx, ebx
lea esi, [esi]
mov edx, dword [ebp - 0x14]
movzx esi, byte [ebx + edx]
inc ebx
test esi, esi
setne cl
xor eax, eax
cmp ebx, dword [ebp - 0x1c]
setb al
test ecx, eax
jne 0x508e80
test dword [ebp - 0x6c], 0x2000
jne 0x509b0b
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x508b00
mov esi, dword [ebp - 0x4c]
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x4c]
mov dword [eax], 8
test dword [ebp - 0x6c], 0x200
je 0x5098a9
cmp edi, 0xf
ja 0x508f07
nop
lea esi, [esi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0xf
jbe 0x508ee0
mov ebx, dword [ebp - 0x4c]
movzx edx, word [ebx + 0x14]
cmp edx, dword [ebp - 0x24]
je 0x5098a0
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.header_crc_mismatch
mov dword [ebx], 0x1b
mov eax, 0x1b
jmp switch.0x00508940
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebx + 4]
test esi, esi
je 0x50986d
mov dword [ebx], 0x18
mov ecx, edi
mov eax, 0x18
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
jmp switch.0x00508940
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x508fa7
cmp ebx, edi
jbe 0x508f8d
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [edx]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
cmp ebx, edi
ja 0x508f68
mov cl, bl
mov edx, dword [ebp - 0x24]
mov eax, 1
shr dword [ebp - 0x24], cl
sub edi, ebx
shl eax, cl
mov esi, dword [ebp - 0x4c]
dec eax
and eax, edx
add dword [esi + 0x38], eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0x4c]
mov esi, 1
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x50]
mov edx, dword [ebx + 0x48]
shl esi, cl
mov dword [ebp - 0x64], edx
lea edx, [esi - 1]
jmp 0x508ff1
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [eax]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x64]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx esi, cl
cmp esi, edi
ja 0x508fd0
test bl, 0xf0
jne 0x509088
mov ecx, ebx
movzx edx, bl
shr ecx, 0x10
mov dword [ebp - 0x40], ecx
mov esi, ebx
mov dword [ebp - 0x44], edx
jmp 0x50903f
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
mov edx, esi
mov eax, dword [ebp - 0x44]
movzx ebx, dh
movzx ecx, bl
add ecx, eax
mov ebx, dword [ebp - 0x24]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
movzx ecx, dh
mov ebx, dword [ebp - 0x40]
shr eax, cl
mov ecx, dword [ebp - 0x64]
add eax, ebx
mov ebx, dword [ecx + eax*4]
movzx eax, dh
movzx eax, al
movzx ecx, bh
movzx edx, cl
add eax, edx
cmp eax, edi
ja 0x50901d
mov eax, esi
movzx ecx, ah
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
movzx ecx, bh
movzx eax, bl
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
test al, 0x40
je 0x509c67
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0x18], 0x559914
jmp 0x509555
mov ebx, 1
mov edi, 1
mov dword [esp + 8], ebx
mov ecx, dword [esi + 0x1c]
shl edi, cl
mov dword [esp + 4], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [esp], eax
call dword [edx + 0x20]
mov dword [ebp - 0x48], eax
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x509aeb
mov esi, dword [ebp - 0x4c]
mov dword [esi], 0x1c
mov eax, 0xfffffffc
jmp 0x508955
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x508b00
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x3c]
sub edx, esi
cmp eax, edx
jbe 0x509af9
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 0x28]
cmp eax, edx
jae 0x509c56
mov ebx, ecx
mov ecx, dword [ecx + 0x20]
sub edx, eax
mov eax, dword [ebx + 0x2c]
sub ecx, edx
add ecx, eax
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x38]
cmp eax, edx
jae 0x509147
mov edx, eax
cmp edx, dword [ebp - 0x20]
jbe 0x50914f
mov edx, dword [ebp - 0x20]
sub dword [ebp - 0x20], edx
sub eax, edx
mov esi, dword [ebp - 0x4c]
mov dword [esi + 0x38], eax
lea esi, [esi]
movzx eax, byte [ecx]
inc ecx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], al
inc ebx
dec edx
mov dword [ebp - 0x18], ebx
jne 0x509160
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x38]
test edx, edx
jne 0x509ffd
mov dword [eax], 0x12
mov eax, 0x12
jmp switch.0x00508940
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x60], 0
mov dword [eax], 0x11
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ecx + 0x5c]
mov ebx, dword [edx + 0x58]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], ebx
add ebx, esi
mov esi, dword [ecx + 0x60]
cmp esi, ebx
jae 0x50929d
mov edx, dword [ecx + 0x44]
mov eax, 1
mov ecx, dword [ecx + 0x4c]
mov dword [ebp - 0x50], edx
shl eax, cl
dec eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
jbe 0x509225
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
add edi, 8
movzx edx, byte [eax]
inc dword [ebp - 0x14]
shl edx, cl
add dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x50]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x5091ec
mov eax, ebx
shr eax, 0x10
cmp ax, 0xf
ja 0x5098e5
movzx ecx, bh
movzx edx, cl
cmp edx, edi
jbe 0x50926c
mov esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx ecx, bh
movzx edx, cl
cmp edx, edi
ja 0x509240
mov edx, dword [ebp - 0x4c]
movzx ecx, bh
movzx eax, cl
shr dword [ebp - 0x24], cl
sub edi, eax
shr ebx, 0x10
mov word [edx + esi*2 + 0x68], bx
lea eax, [esi + 1]
mov esi, dword [ebp - 0x4c]
mov dword [esi + 0x60], eax
mov esi, eax
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
add ebx, edx
cmp esi, ebx
jb 0x5091d4
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x4c]
add esi, 0x528
mov dword [ebx + 0x64], esi
mov eax, ebx
add eax, 0x4c
mov dword [ebx + 0x44], esi
mov esi, ebx
add esi, 0x2e8
mov dword [ebx + 0x4c], 9
add ebx, 0x64
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x58]
mov dword [esp], 1
mov eax, ecx
add eax, 0x68
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._inflate_table
mov dword [ebp - 0x30], eax
test eax, eax
je 0x509e13
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.invalid_literal_lengths_set
mov ebx, dword [ebp - 0x4c]
jmp 0x508f21
mov edx, dword [ebp - 0x4c]
mov dword [edx], 0x12
cmp dword [ebp - 0x1c], 5
seta cl
xor eax, eax
cmp dword [ebp - 0x20], 0x101
seta al
test ecx, eax
jne 0x50a08d
mov esi, dword [ebp - 0x4c]
mov eax, 1
mov edx, dword [ebp - 0x4c]
mov ecx, dword [esi + 0x4c]
mov ebx, dword [edx + 0x44]
shl eax, cl
mov dword [ebp - 0x60], ebx
lea edx, [eax - 1]
jmp 0x509372
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x60]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x509350
test bl, bl
je 0x509411
test bl, 0xf0
jne 0x509411
mov ecx, ebx
mov esi, ebx
shr ecx, 0x10
mov dword [ebp - 0x38], ecx
movzx ebx, bl
mov dword [ebp - 0x3c], ebx
jmp 0x5093c8
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
mov edx, esi
mov eax, dword [ebp - 0x3c]
movzx ebx, dh
movzx ecx, bl
add ecx, eax
mov ebx, dword [ebp - 0x24]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
movzx ecx, dh
mov ebx, dword [ebp - 0x38]
shr eax, cl
mov ecx, dword [ebp - 0x60]
add eax, ebx
mov ebx, dword [ecx + eax*4]
movzx eax, dh
movzx eax, al
movzx ecx, bh
movzx edx, cl
add eax, edx
cmp eax, edi
ja 0x5093a6
mov eax, esi
movzx ecx, ah
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
movzx ecx, bh
mov esi, ebx
movzx edx, cl
shr dword [ebp - 0x24], cl
sub edi, edx
mov edx, dword [ebp - 0x4c]
shr esi, 0x10
test bl, bl
mov dword [edx + 0x38], esi
jne 0x509d2f
mov dword [edx], 0x17
mov eax, 0x17
jmp switch.0x00508940
mov dword [ebp - 0x24], 0
xor edi, edi
mov esi, dword [ebp - 0x4c]
mov dword [esi], 0x1a
mov dword [ebp - 0x30], 1
jmp 0x508b00
mov edx, dword [ebp - 0x4c]
mov ebx, dword [edx + 0x54]
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 0x60]
cmp eax, ebx
jae 0x509b46
cmp edi, 2
ja 0x5094a6
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc dword [ebp - 0x14]
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 2
jbe 0x509480
mov esi, dword [ebp - 0x4c]
sub edi, 3
mov eax, dword [ebp - 0x24]
shr dword [ebp - 0x24], 3
mov ecx, dword [esi + 0x60]
and eax, 7
movzx edx, word [ecx + ecx + 0x559000]
mov word [esi + edx*2 + 0x68], ax
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
jmp 0x509469
mov dword [ebp - 0x30], 0xfffffffd
jmp 0x508b00
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x40]
test ebx, ebx
je 0x509b3b
cmp ebx, edi
jbe 0x509512
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
cmp ebx, edi
ja 0x5094ec
mov esi, dword [ebp - 0x24]
mov cl, bl
mov eax, 1
shr dword [ebp - 0x24], cl
sub edi, ebx
shl eax, cl
lea edx, [eax - 1]
and edx, esi
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 0x3c]
add edx, eax
mov dword [esi + 0x3c], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ecx + 0x24]
add eax, ebx
sub eax, esi
cmp edx, eax
jbe 0x5090f4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x559946
mov dword [ecx], 0x1b
mov eax, 0x1b
jmp switch.0x00508940
mov ecx, edi
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
cmp edi, 0x1f
ja 0x50959c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0x1f
jbe 0x509575
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x509d73
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x509630
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 8]
test eax, eax
je 0x509448
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x509448
cmp edi, 0x1f
ja 0x509617
lea esi, [esi]
lea edi, [edi]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0x1f
jbe 0x5095f0
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
cmp dword [esi + 0x18], edx
je 0x50943f
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.incorrect_length_check
mov dword [esi], 0x1b
mov eax, 0x1b
jmp switch.0x00508940
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x6c], eax
jmp 0x508db7
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x508b00
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x20]
mov eax, 0x12
mov dword [ebp - 0x18], ebx
mov dword [esi], 0x12
jmp switch.0x00508940
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
test eax, eax
je 0x509be6
cmp edi, 0x1f
ja 0x5096b5
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0x1f
jbe 0x50968e
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
sub eax, esi
mov esi, dword [ebp - 0x4c]
add dword [edx + 0x14], eax
add dword [esi + 0x18], eax
test eax, eax
je 0x5096fc
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x509e6f
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x18]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sym._crc32
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [edx + 0x30], eax
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x14]
test eax, eax
jne 0x509d8f
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr ebx, 8
mov esi, dword [ebp - 0x24]
shr edx, 0x18
and ebx, 0xff00
and eax, 0xff00
add edx, ebx
shl eax, 8
add edx, eax
shl esi, 0x18
add edx, esi
cmp edx, ecx
je 0x509bd7
mov edx, dword [ebp + 8]
mov eax, 0x1b
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x18], str.incorrect_data_check
mov dword [ecx], 0x1b
jmp switch.0x00508940
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x38]
test eax, eax
mov ebx, eax
jne 0x509fb4
mov ebx, dword [ebp - 0x4c]
mov eax, 0xb
mov dword [ebx], 0xb
jmp switch.0x00508940
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x6c], eax
jmp 0x508e66
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x6c], edx
jmp 0x508e09
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x6c], edx
jmp 0x508ec6
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x6c], ecx
jmp 0x508d5b
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x5097d6
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x00508940
cmp edi, 0xf
ja 0x509802
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 0xf
jbe 0x5097db
mov eax, ebx
xor edx, edx
shr eax, 1
cmp dword [ebp - 0x24], 0x8b1f
sete dl
test edx, eax
jne 0x509dac
mov esi, dword [ebp - 0x4c]
test bl, 1
mov dword [esi + 0x10], 0
je 0x50985b
movzx ecx, byte [ebp - 0x24]
mov esi, 0x8421085
mov edx, dword [ebp - 0x24]
shl ecx, 8
shr edx, 8
add ecx, edx
mov eax, ecx
mul esi
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
cmp ecx, edx
je 0x509e8f
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_header_check
mov ecx, dword [ebp - 0x4c]
jmp 0x509555
cmp edi, 2
ja 0x509f58
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
jmp 0x50986d
mov dword [ebp - 0x24], 0
xor edi, edi
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._crc32
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x30], eax
mov eax, 0xb
mov dword [ebx], 0xb
jmp switch.0x00508940
sub eax, 0xffffff80
jmp 0x508c6b
cmp ax, 0x10
je 0x50999b
cmp ax, 0x11
je 0x509a09
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
jbe 0x509935
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
ja 0x509906
mov edx, dword [ebp - 0x24]
movzx ecx, bh
movzx ebx, cl
shr edx, cl
mov ecx, edi
mov edi, edx
and edi, 0x7f
sub ecx, ebx
add edi, 0xb
mov dword [ebp - 0x5c], edi
shr edx, 7
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 7]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
lea edx, [esi + eax]
mov eax, dword [ebp - 0x54]
add eax, ecx
cmp edx, eax
ja 0x509efd
mov edx, dword [ebp - 0x5c]
dec edx
cmp edx, 0xffffffff
jne 0x509982
jmp 0x50928d
mov esi, eax
mov ecx, dword [ebp - 0x4c]
dec edx
lea eax, [esi + 1]
cmp edx, 0xffffffff
mov word [ecx + esi*2 + 0x68], bx
mov dword [ecx + 0x60], eax
jne 0x509980
jmp 0x50928b
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
jbe 0x5099d6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc dword [ebp - 0x14]
shl eax, cl
add dword [ebp - 0x24], eax
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
ja 0x5099a8
movzx ecx, bh
movzx ebx, cl
sub edi, ebx
shr dword [ebp - 0x24], cl
test esi, esi
je 0x509f40
mov eax, dword [ebp - 0x4c]
sub edi, 2
mov edx, dword [ebp - 0x24]
shr dword [ebp - 0x24], 2
movzx ebx, word [eax + esi*2 + 0x66]
and edx, 3
add edx, 3
mov dword [ebp - 0x5c], edx
jmp 0x50995a
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
jbe 0x509a45
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x508b00
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
ja 0x509a16
mov edx, dword [ebp - 0x24]
movzx ecx, bh
movzx ebx, cl
shr edx, cl
mov ecx, edi
mov edi, edx
and edi, 7
sub ecx, ebx
add edi, 3
mov dword [ebp - 0x5c], edi
shr edx, 3
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 3]
jmp 0x50995a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
jmp 0x508bee
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ecx + 0x14]
mov dword [esp], edi
call sym._adler32
jmp 0x508c43
sub dword [ebp - 0x68], edx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 4], edx
mov ebx, dword [ebp - 0x48]
mov dword [esp], ebx
call sym._memcpy
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x20]
jmp 0x508be5
mov ecx, dword [ebp + 8]
mov edi, dword [esi + 0x2c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], edi
sub eax, ebx
mov dword [esp + 4], eax
call sym._memcpy
mov dword [esi + 0x28], ebx
mov eax, dword [esi + 0x20]
jmp 0x508be5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x68], edx
jmp 0x508b64
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x38]
mov eax, edx
jmp 0x509147
mov dword [esp + 8], ebx
mov ecx, dword [ebp - 0x14]
mov dword [esp + 4], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x14]
mov dword [esp], eax
call sym._crc32
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
jmp 0x508ea6
mov dword [esi + 0x28], 0
jmp 0x508bdc
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebx + 0x3c]
jmp 0x509533
cmp eax, 0x12
ja 0x509b6b
lea edx, [eax + 1]
movzx ebx, word [edx + edx + 0x558ffe]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
inc edx
cmp eax, 0x12
mov word [ecx + ebx*2 + 0x68], 0
jbe 0x509b4e
mov dword [ecx + 0x60], eax
mov ebx, dword [ebp - 0x4c]
mov ecx, 0x13
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 0x4c], 7
mov esi, ebx
add edx, 0x528
mov dword [ebx + 0x64], edx
add esi, 0x2e8
mov dword [ebx + 0x44], edx
mov dword [esp + 0x14], esi
sub esi, 0x29c
mov dword [esp + 0x10], esi
add esi, 0x18
mov dword [esp + 0xc], esi
add esi, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], 0
call sym._inflate_table
mov dword [ebp - 0x30], eax
test eax, eax
je 0x50918e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x508f21
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov eax, dword [esi + 8]
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], 0x19
jmp 0x5095c8
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x14]
mov dword [esp], eax
call sym._crc32
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
jmp 0x508e46
movzx edx, byte [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edi, 2
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], dl
movzx ebx, byte [ebp - 0x24]
mov byte [ebp - 0xf], bl
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
call sym._crc32
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x6c], esi
jmp 0x508d49
mov esi, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, edx
mov eax, dword [esi + 0x2c]
add ecx, eax
jmp 0x50913b
mov esi, dword [ebp - 0x4c]
shr ebx, 0x10
mov dword [esi + 0x3c], ebx
mov ebx, eax
and ebx, 0xf
mov dword [esi + 0x40], ebx
mov dword [esi], 0x15
jmp 0x5094e0
shr dword [ebp - 0x24], 8
mov edx, 2
mov byte [ebp - 0x10], bl
lea ebx, [ebp - 0x10]
movzx ecx, byte [ebp - 0x24]
mov byte [ebp - 0xf], cl
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call sym._crc32
mov dword [esi + 0x14], eax
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x6c], edi
jmp 0x508da5
movzx eax, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], al
mov eax, 4
movzx ebx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0xf], dl
lea edx, [ebp - 0x10]
movzx ecx, byte [ebp - 0x24]
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], cl
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x4c]
mov ebx, dword [esi + 0x14]
mov dword [esp], ebx
call sym._crc32
mov dword [esi + 0x14], eax
jmp 0x508cfe
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x14]
mov dword [esp], esi
call sym._crc32
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x38]
jmp 0x508de1
movzx eax, bl
test al, 0x20
jne 0x509771
test al, 0x40
je 0x509eac
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x5599dd
mov esi, dword [ebp - 0x4c]
jmp 0x509630
test dword [ebp - 0x24], 0xe000
je 0x508cab
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x509555
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x4c]
mov eax, edx
xor edi, edi
mov dword [esi + 0x38], edx
mov dword [esi], 0xe
jmp 0x509767
cmp ecx, dword [ebp - 0x24]
jmp 0x50973e
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x60], 0
mov dword [eax], 0x10
jmp 0x509463
mov dword [esp], 0
xor edi, edi
xor ebx, ebx
mov dword [esp + 8], edi
lea esi, [ebp - 0x10]
mov dword [esp + 4], ebx
call sym._crc32
mov ebx, dword [ebp - 0x4c]
mov ecx, 2
mov dword [ebx + 0x14], eax
movzx eax, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], dl
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov edi, dword [ebx + 0x14]
mov dword [esp], edi
xor edi, edi
call sym._crc32
mov dword [ebx + 0x14], eax
mov eax, 1
mov dword [ebp - 0x24], 0
mov dword [ebx], 1
jmp switch.0x00508940
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x64]
mov ecx, edx
mov dword [edx + 0x50], 6
add ecx, 0x50
mov dword [edx + 0x48], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ebx
mov esi, dword [edx + 0x5c]
mov dword [esp + 8], esi
mov eax, dword [edx + 0x58]
mov dword [esp], 2
lea ecx, [edx + eax*2 + 0x68]
mov dword [esp + 4], ecx
call sym._inflate_table
mov dword [ebp - 0x30], eax
test eax, eax
je 0x50930e
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.invalid_distances_set
mov ebx, dword [ebp - 0x4c]
jmp 0x508f21
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x14]
mov dword [esp], esi
call sym._adler32
jmp 0x5096f0
mov eax, dword [ebp - 0x24]
and eax, 0xf
cmp eax, 8
je 0x509f15
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x4c]
mov dword [ebx + 0x18], str.unknown_compression_method
jmp 0x509630
mov edx, dword [ebp - 0x4c]
mov ebx, eax
and ebx, 0xf
mov dword [edx + 0x40], ebx
mov dword [edx], 0x13
jmp 0x508f60
movzx ecx, byte [ebp - 0x24]
mov edx, 2
lea ebx, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], cl
movzx eax, byte [ebp - 0x24]
mov byte [ebp - 0xf], al
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call sym._crc32
mov edi, dword [ebp - 0x4c]
mov dword [edi + 0x14], eax
jmp 0x508cb8
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
jmp 0x50929d
shr dword [ebp - 0x24], 4
sub edi, 4
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x24]
and esi, 0xf
add esi, 8
cmp esi, dword [edx + 0x1c]
jbe 0x50a037
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_window_size
jmp 0x508a3a
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x4c]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x50929d
mov ebx, dword [ebp - 0x24]
lea edx, [edi - 1]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x4c]
and ebx, 1
shr eax, 1
mov dword [esi + 4], ebx
mov ebx, eax
and ebx, 3
cmp ebx, 1
je 0x50a100
jb 0x50a0f2
cmp ebx, 2
je 0x50a07f
cmp ebx, 3
jne 0x509fa1
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x4c]
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
lea edi, [edx - 2]
mov edx, dword [ebp - 0x4c]
shr eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
jmp 0x50893b
cmp eax, dword [ebp - 0x1c]
jbe 0x509fbc
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x20]
jbe 0x509fc4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x508b00
mov dword [esp + 8], ebx
mov esi, dword [ebp - 0x14]
mov dword [esp + 4], esi
mov ecx, dword [ebp - 0x18]
add esi, ebx
mov dword [esp], ecx
call sym._memcpy
sub dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x4c]
sub dword [ebp - 0x20], ebx
add dword [ebp - 0x18], ebx
mov eax, dword [edx]
sub dword [edx + 0x38], ebx
mov dword [ebp - 0x14], esi
jmp 0x50893b
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
jmp 0x50893b
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], esi
mov esi, dword [ebp - 0x4c]
mov dword [ecx + 0xc], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, 2
mov dword [ecx], edx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
jmp 0x508955
mov dword [esp], 0
xor eax, eax
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sym._adler32
shr dword [ebp - 0x24], 9
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp + 8]
and dword [ebp - 0x24], 1
mov dword [edi + 0x14], eax
mov dword [edx + 0x30], eax
cmp dword [ebp - 0x24], 1
mov dword [ebp - 0x24], 0
sbb eax, eax
and eax, 2
add eax, 9
mov dword [edi], eax
xor edi, edi
jmp 0x50893b
mov esi, dword [ebp - 0x4c]
mov dword [esi], 0xf
jmp 0x509fa1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [eax + 4], esi
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], edi
mov dword [esp + 4], ebx
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sym._inflate_fast
mov esi, dword [edi + 0xc]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], esi
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x30]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edi
mov eax, dword [esi]
mov dword [ebp - 0x1c], edx
mov edi, dword [esi + 0x34]
jmp 0x50893b
mov edi, dword [ebp - 0x4c]
mov dword [edi], 0xd
jmp 0x509fa1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x44], 0x559040
mov dword [ecx + 0x4c], 9
mov dword [ecx + 0x48], 0x559840
mov dword [ecx + 0x50], 5
mov dword [ecx], 0x12
jmp 0x509fa1