Function at 0x4055d0
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.0x405640
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
test eax, eax
mov dword [ebp - 0x50], eax
je case.default.0x405640
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.default.0x405640
mov ebx, dword [edx]
test ebx, ebx
je 0x405647
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov esi, dword [ebp - 0x50]
mov eax, dword [esi]
cmp eax, 0xb
je 0x40565d
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
mov esi, dword [edi + 0x38]
mov edi, dword [ebx + 0x3c]
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.0x405640
jmp dword [eax*4 + 0x40de6c]
mov edx, dword [edx + 4]
test edx, edx
je 0x405603
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 0x40560d
cmp edi, 0xf
ja 0x405696
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 0x40566f
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x50]
cmp bl, 8
mov dword [esi + 0x10], ebx
je 0x406bd8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x406550
cmp edi, 0xd
ja 0x4056e3
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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, 0xd
jbe 0x4056bc
mov eax, dword [ebp - 0x24]
sub edi, 0xe
mov edx, dword [ebp - 0x24]
shr dword [ebp - 0x24], 0xa
mov ebx, dword [ebp - 0x50]
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0x60], eax
and edx, 0x1f
lea ecx, [edx + 1]
mov dword [ebx + 0x64], ecx
mov edx, dword [ebp - 0x50]
and esi, 0xf
shr dword [ebp - 0x24], 4
cmp eax, 0x11e
lea ebx, [esi + 4]
mov dword [edx + 0x5c], ebx
ja 0x40572d
cmp ecx, 0x1e
jbe 0x406bf7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, 0x1b
mov dword [ecx], 0x1b
jmp switch.0x00405640
cmp edi, 0x1f
ja 0x405776
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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, 0x1f
jbe 0x40574f
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shl dword [ebp - 0x24], 0x18
shr ecx, 8
mov edx, dword [ebp - 0x50]
shr ebx, 0x18
and ecx, 0xff00
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
and eax, 0xff00
add ebx, ecx
mov dword [ebp - 0x24], 0
shl eax, 8
add ebx, eax
mov dword [edx], 0xa
add ebx, esi
mov dword [edx + 0x18], ebx
mov dword [edi + 0x30], ebx
xor edi, edi
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x406e6b
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._adler32
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [esi], 0xb
mov dword [ecx + 0x30], eax
cmp dword [ebp + 0xc], 5
jne case.0x405640.12
lea esi, [esi]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], esi
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x3c], edi
mov edi, dword [ebx + 0x28]
mov dword [ebx + 0x38], ecx
test edi, edi
jne 0x405850
cmp dword [ebx], 0x17
ja 0x40673a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x4058ee
nop
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi + 0x34]
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x405eb0
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x405886
mov dword [edi + 0x30], 0
mov ecx, dword [edi + 0x24]
mov edx, 1
mov dword [edi + 0x2c], 0
shl edx, cl
mov dword [edi + 0x28], edx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [eax + 0x10]
sub ebx, esi
cmp edx, ebx
jbe 0x40690f
mov eax, dword [edi + 0x30]
mov esi, edx
sub esi, eax
cmp esi, ebx
jbe 0x4058a6
mov esi, ebx
sub dword [ebp - 0x6c], ebx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x6c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
sub ebx, esi
jne 0x406951
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x28]
add eax, esi
cmp eax, edx
je 0x4069b8
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x2c]
cmp eax, edx
jae 0x4058e8
add eax, esi
mov dword [edi + 0x2c], 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 - 0x50]
add dword [edx + 0x14], ebx
mov edi, dword [ecx + 8]
add dword [ecx + 0x1c], ebx
test edi, edi
setne al
xor edx, edx
test ebx, ebx
setne dl
test eax, edx
je 0x40594f
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40675f
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 + 0x18]
mov dword [esp], edi
call sym._crc32
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [edi + 0x30], eax
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x3c]
test edx, edx
je 0x40595f
add eax, 0x40
mov ecx, dword [ebp - 0x50]
cmp dword [ecx], 0xb
je 0x406732
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 0x4059a0
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x4059a0
mov dword [ebp - 0x30], 0xfffffffb
jmp 0x4059a0
mov eax, dword [ebp - 0x30]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4059c0
mov eax, dword [ebp - 0x24]
shr eax, 8
and eax, 1
mov dword [edx], eax
mov esi, dword [ebp - 0x50]
test byte [esi + 0x11], 2
jne 0x406d2a
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 2
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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 0x4059df
mov edi, dword [ebp - 0x50]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x405a16
mov esi, dword [ebp - 0x24]
mov dword [eax + 4], esi
mov ebx, dword [ebp - 0x50]
test byte [ebx + 0x11], 2
jne 0x406b41
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 3
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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 0x405a40
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x20]
test edx, edx
je 0x405a81
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x24]
shr esi, 8
mov dword [edx + 8], ebx
mov dword [edx + 0xc], esi
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
test dh, 2
jne 0x406a9e
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 4
test dh, 4
je 0x406937
cmp edi, 0xf
ja 0x405ad7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 0xf
jbe 0x405ab0
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x405aed
mov dword [eax + 0x14], ebx
mov edx, dword [esi + 0x10]
test dh, 2
jne 0x406b03
mov dword [ebp - 0x24], 0
xor edi, edi
mov eax, dword [ebp - 0x50]
mov dword [eax], 5
test dh, 4
je 0x405b94
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x40]
cmp eax, dword [ebp - 0x1c]
mov ebx, eax
jbe 0x405b21
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405b86
mov esi, dword [ebp - 0x50]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x405b6c
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x405b6c
mov dword [ebp - 0x34], ebx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub edx, eax
lea eax, [edx + ebx]
cmp eax, ecx
jbe 0x405b4d
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea eax, [edx + esi]
mov esi, dword [ebp - 0x34]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x10]
test dh, 2
jne 0x406bb4
sub dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x50]
add dword [ebp - 0x14], ebx
mov eax, dword [ecx + 0x40]
sub eax, ebx
mov dword [ecx + 0x40], eax
test eax, eax
jne 0x405800
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x40], 0
mov dword [eax], 6
test dh, 8
je 0x406745
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
xor ebx, ebx
lea esi, [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x50]
movzx esi, byte [ebx + eax]
mov eax, dword [ecx + 0x20]
inc ebx
test eax, eax
je 0x405c00
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x405c00
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x20]
mov dword [ebp - 0x70], ecx
jae 0x405c00
mov eax, esi
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x50]
inc dword [edx + 0x40]
lea esi, [esi]
lea edi, [edi]
test esi, esi
setne cl
xor edx, edx
cmp ebx, dword [ebp - 0x1c]
setb dl
test ecx, edx
jne 0x405bc0
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x406a60
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x405800
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x40], 0
mov dword [ecx], 7
test dh, 0x10
je 0x406718
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
xor ebx, ebx
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebx + ecx]
mov ecx, dword [ebp - 0x50]
inc ebx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x405c90
mov edx, dword [eax + 0x24]
test edx, edx
je 0x405c90
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x28]
mov dword [ebp - 0x70], ecx
jae 0x405c90
mov eax, esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x50]
inc dword [eax + 0x40]
nop
test esi, esi
setne cl
xor edx, edx
cmp ebx, dword [ebp - 0x1c]
setb dl
test ecx, edx
jne 0x405c60
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x406997
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x405800
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 8
test dh, 2
je 0x4066ca
cmp edi, 0xf
ja 0x405d06
lea esi, [esi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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
cmp edi, 0xf
jbe 0x405ce0
mov ebx, dword [ebp - 0x50]
movzx esi, word [ebx + 0x18]
cmp esi, dword [ebp - 0x24]
je 0x4066c1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.header_crc_mismatch
mov dword [ebx], 0x1b
mov eax, 0x1b
jmp switch.0x00405640
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 4]
test esi, esi
je 0x406694
mov dword [ebx], 0x18
mov ecx, edi
mov eax, 0x18
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
jmp switch.0x00405640
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x405da6
cmp ebx, edi
jbe 0x405d8c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 0x405d67
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 - 0x50]
dec eax
and eax, edx
add dword [esi + 0x40], eax
mov ebx, dword [ebp - 0x50]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0x50]
mov esi, 1
mov ebx, dword [ebp - 0x50]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebx + 0x50]
shl esi, cl
mov dword [ebp - 0x68], edx
lea edx, [esi - 1]
jmp 0x405df1
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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 - 0x68]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx esi, cl
cmp esi, edi
ja 0x405dd0
test bl, 0xf0
jne 0x405e88
mov ecx, ebx
movzx edx, bl
shr ecx, 0x10
mov dword [ebp - 0x44], ecx
mov esi, ebx
mov dword [ebp - 0x48], edx
jmp 0x405e3f
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
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 - 0x48]
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 - 0x44]
shr eax, cl
mov ecx, dword [ebp - 0x68]
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 0x405e1d
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 0x406ae7
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x18], 0x40dd14
jmp 0x4063f9
mov eax, 1
mov ebx, 1
mov dword [esp + 8], eax
mov ecx, dword [edi + 0x24]
shl ebx, cl
mov dword [esp + 4], ebx
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x28]
mov dword [esp], esi
call dword [edx + 0x20]
mov dword [ebp - 0x4c], eax
test eax, eax
mov dword [edi + 0x34], eax
jne 0x406977
mov edi, dword [ebp - 0x50]
mov dword [edi], 0x1c
mov eax, 0xfffffffc
jmp 0x405655
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x405800
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x44]
sub edx, esi
cmp eax, edx
jbe 0x406985
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 0x30]
cmp eax, edx
jae 0x406ad6
mov ebx, ecx
mov ecx, dword [ecx + 0x28]
sub edx, eax
mov eax, dword [ebx + 0x34]
sub ecx, edx
add ecx, eax
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x40]
cmp eax, edx
jae 0x405f47
mov edx, eax
cmp edx, dword [ebp - 0x20]
jbe 0x405f4f
mov edx, dword [ebp - 0x20]
sub dword [ebp - 0x20], edx
sub eax, edx
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x40], 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 0x405f60
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
test edx, edx
jne 0x406e61
mov dword [eax], 0x12
mov eax, 0x12
jmp switch.0x00405640
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x68], 0
mov dword [eax], 0x11
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
mov esi, dword [ecx + 0x64]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
add ebx, esi
mov esi, dword [ecx + 0x68]
cmp esi, ebx
jae 0x40609d
mov edx, dword [ecx + 0x4c]
mov eax, 1
mov ecx, dword [ecx + 0x54]
mov dword [ebp - 0x54], edx
shl eax, cl
dec eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
jbe 0x406025
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 - 0x38]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x54]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x405fec
mov eax, ebx
shr eax, 0x10
cmp ax, 0xf
ja 0x406782
movzx ecx, bh
movzx edx, cl
cmp edx, edi
jbe 0x40606c
mov esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405800
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 0x406040
mov edx, dword [ebp - 0x50]
movzx ecx, bh
movzx eax, cl
shr dword [ebp - 0x24], cl
sub edi, eax
shr ebx, 0x10
mov word [edx + esi*2 + 0x70], bx
lea eax, [esi + 1]
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x68], eax
mov esi, eax
mov ebx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
add ebx, edx
cmp esi, ebx
jb 0x405fd4
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
cmp eax, 0x1b
je 0x40563b
mov dword [ebx + 0x54], 9
mov eax, ebx
add eax, 0x530
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], eax
add ebx, 0x2f0
mov dword [esp + 0x14], ebx
mov esi, dword [ebp - 0x50]
add esi, 0x54
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0x50]
add esi, 0x6c
mov dword [esp + 0xc], esi
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x60]
mov dword [esp], 1
mov eax, ecx
add eax, 0x70
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._inflate_table
mov dword [ebp - 0x30], eax
test eax, eax
je 0x406c14
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.invalid_literal_lengths_set
mov ebx, dword [ebp - 0x50]
jmp 0x405d20
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi + 0x40], edx
mov dword [esi], 0xe
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 0x40]
test ebx, ebx
jne 0x406da2
mov ebx, dword [ebp - 0x50]
mov eax, 0xb
mov dword [ebx], 0xb
jmp switch.0x00405640
mov edx, dword [ebp - 0x50]
mov dword [edx], 0x12
cmp dword [ebp - 0x1c], 5
seta al
xor ebx, ebx
cmp dword [ebp - 0x20], 0x101
seta bl
test eax, ebx
jne 0x406efe
mov esi, dword [ebp - 0x50]
mov eax, 1
mov ebx, dword [ebp - 0x50]
mov ecx, dword [esi + 0x54]
mov edx, dword [ebx + 0x4c]
shl eax, cl
mov dword [ebp - 0x64], edx
lea edx, [eax - 1]
jmp 0x4061b2
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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 - 0x64]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x406190
test bl, bl
je 0x406251
test bl, 0xf0
jne 0x406251
mov ecx, ebx
mov esi, ebx
shr ecx, 0x10
mov dword [ebp - 0x3c], ecx
movzx ebx, bl
mov dword [ebp - 0x40], ebx
jmp 0x406208
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
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 - 0x40]
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 - 0x3c]
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 0x4061e6
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 - 0x50]
shr esi, 0x10
test bl, bl
mov dword [edx + 0x40], esi
jne 0x406b8f
mov dword [edx], 0x17
mov eax, 0x17
jmp switch.0x00405640
mov dword [ebp - 0x24], 0
xor edi, edi
mov esi, dword [ebp - 0x50]
mov dword [esi], 0x1a
mov dword [ebp - 0x30], 1
jmp 0x405800
mov dword [ebp - 0x30], 0xfffffffd
jmp 0x405800
mov ecx, edi
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
cmp edi, 0x1f
ja 0x4062e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405800
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 0x4062b9
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x406119
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x406550
mov edx, dword [ebp - 0x50]
mov ebx, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x68]
cmp eax, ebx
jae 0x4069cf
cmp edi, 2
ja 0x406356
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405800
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 edi, 2
jbe 0x406330
mov esi, dword [ebp - 0x50]
sub edi, 3
mov eax, dword [ebp - 0x24]
shr dword [ebp - 0x24], 3
mov ecx, dword [esi + 0x68]
and eax, 7
movzx edx, word [ecx + ecx + 0x40d400]
mov word [esi + edx*2 + 0x70], ax
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
jmp 0x406315
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x4069c4
cmp ebx, edi
jbe 0x4063b6
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
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 0x406390
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 - 0x50]
mov eax, dword [esi + 0x44]
add edx, eax
mov dword [esi + 0x44], edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ecx + 0x2c]
add eax, ebx
sub eax, esi
cmp edx, eax
jbe 0x405ef4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x40dd63
mov dword [ecx], 0x1b
mov eax, 0x1b
jmp switch.0x00405640
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x405b08
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x405aa2
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x406439
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x00405640
cmp edi, 0xf
ja 0x406465
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405800
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 0x40643e
mov eax, ebx
xor edx, edx
shr eax, 1
cmp dword [ebp - 0x24], 0x8b1f
sete dl
test edx, eax
jne 0x406c70
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x10], 0
test eax, eax
je 0x406498
mov dword [eax + 0x30], 0xffffffff
mov ebx, dword [ecx + 8]
test bl, 1
je 0x4064d1
movzx ecx, byte [ebp - 0x24]
mov ebx, 0x8421085
mov esi, dword [ebp - 0x24]
shl ecx, 8
shr esi, 8
add ecx, esi
mov eax, ecx
mul ebx
mov eax, edx
mov edx, ecx
sub edx, eax
shr edx, 1
add edx, eax
shr edx, 4
mov esi, edx
shl esi, 5
sub esi, edx
cmp ecx, esi
je 0x406cf7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_header_check
mov ecx, dword [ebp - 0x50]
jmp 0x4063f9
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 8]
test eax, eax
je 0x406288
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x406288
cmp edi, 0x1f
ja 0x406537
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405800
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 0x406510
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x1c], eax
je 0x40627f
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [esi], 0x1b
mov eax, 0x1b
jmp switch.0x00405640
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 8]
test eax, eax
je 0x406a90
cmp edi, 0x1f
ja 0x40659a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 0x406573
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
sub eax, esi
mov esi, dword [ebp - 0x50]
add dword [edx + 0x14], eax
add dword [esi + 0x1c], eax
test eax, eax
je 0x4065e1
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x406cd7
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x18]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sym._crc32
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [edx + 0x30], eax
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x18]
test eax, eax
jne 0x406c0c
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 0x406a81
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [eax], 0x1b
mov eax, 0x1b
jmp switch.0x00405640
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x405c42
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x405ba4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x405800
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x40]
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x20]
mov eax, 0x12
mov dword [ebp - 0x18], ebx
mov dword [esi], 0x12
jmp switch.0x00405640
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x405ccb
cmp edi, 2
ja 0x406ded
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405800
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 0x406694
mov dword [ebp - 0x24], 0
xor edi, edi
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4066e4
mov dword [eax + 0x30], 1
sar edx, 9
and edx, 1
mov dword [eax + 0x2c], edx
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._crc32
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, 0xb
mov dword [ecx], 0xb
jmp switch.0x00405640
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x405cc2
mov dword [eax + 0x24], 0
jmp 0x405cc2
sub eax, 0xffffff80
jmp 0x40596b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
jmp 0x4058ee
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x405c32
mov dword [eax + 0x1c], 0
jmp 0x405c32
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 - 0x50]
mov edi, dword [ecx + 0x18]
mov dword [esp], edi
call sym._adler32
jmp 0x405943
cmp ax, 0x10
je 0x40683b
cmp ax, 0x11
je 0x4068a9
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
jbe 0x4067d2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 0x4067a3
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 - 0x60], edi
shr edx, 7
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 7]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
lea edx, [esi + eax]
mov eax, dword [ebp - 0x58]
add eax, ecx
cmp edx, eax
ja 0x406d5f
mov edx, dword [ebp - 0x60]
dec edx
cmp edx, 0xffffffff
jne 0x406822
jmp 0x40608d
mov esi, eax
mov ecx, dword [ebp - 0x50]
dec edx
lea eax, [esi + 1]
cmp edx, 0xffffffff
mov word [ecx + esi*2 + 0x70], bx
mov dword [ecx + 0x68], eax
jne 0x406820
jmp 0x40608b
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
jbe 0x406876
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405800
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 0x406848
movzx ecx, bh
movzx ebx, cl
sub edi, ebx
shr dword [ebp - 0x24], cl
test esi, esi
je 0x406e49
mov eax, dword [ebp - 0x50]
sub edi, 2
mov edx, dword [ebp - 0x24]
shr dword [ebp - 0x24], 2
movzx ebx, word [eax + esi*2 + 0x6e]
and edx, 3
add edx, 3
mov dword [ebp - 0x60], edx
jmp 0x4067f7
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
jbe 0x4068e5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405800
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 0x4068b6
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 - 0x60], edi
shr edx, 3
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 3]
jmp 0x4067f7
sub dword [ebp - 0x6c], edx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], edx
mov ebx, dword [ebp - 0x4c]
mov dword [esp], ebx
call sym._memcpy
mov dword [edi + 0x30], 0
mov eax, dword [edi + 0x28]
jmp 0x4058e5
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x405aff
mov dword [eax + 0x10], 0
jmp 0x405aff
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x34]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], esi
sub eax, ebx
mov dword [esp + 4], eax
call sym._memcpy
mov dword [edi + 0x30], ebx
mov eax, dword [edi + 0x28]
jmp 0x4058e5
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x6c], edx
jmp 0x405864
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
mov eax, edx
jmp 0x405f47
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call sym._crc32
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x405cae
mov dword [edi + 0x30], 0
jmp 0x4058dc
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0x44]
jmp 0x4063d7
cmp eax, 0x12
ja 0x4069f4
lea edx, [eax + 1]
movzx ebx, word [edx + edx + 0x40d3fe]
mov eax, edx
mov ecx, dword [ebp - 0x50]
inc edx
cmp eax, 0x12
mov word [ecx + ebx*2 + 0x70], 0
jbe 0x4069d7
mov dword [ecx + 0x68], eax
mov ebx, dword [ebp - 0x50]
mov ecx, 0x13
mov edx, dword [ebp - 0x50]
mov dword [ebx + 0x54], 7
mov esi, ebx
add edx, 0x530
mov dword [ebx + 0x6c], edx
add esi, 0x2f0
mov dword [ebx + 0x4c], 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 0x405f8e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x405d20
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call sym._crc32
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x405c1e
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x50]
xor edi, edi
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x50]
mov dword [esi], 0x19
jmp 0x4064e9
movzx edx, byte [ebp - 0x24]
mov ecx, 2
lea eax, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], dl
movzx ebx, byte [ebp - 0x24]
mov byte [ebp - 0xf], bl
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov edx, dword [esi + 0x18]
mov dword [esp], edx
call sym._crc32
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x10]
jmp 0x405a90
mov esi, dword [ebp - 0x50]
mov ecx, eax
sub ecx, edx
mov eax, dword [esi + 0x34]
add ecx, eax
jmp 0x405f3b
mov esi, dword [ebp - 0x50]
shr ebx, 0x10
mov dword [esi + 0x44], ebx
mov ebx, eax
and ebx, 0xf
mov dword [esi + 0x48], ebx
mov dword [esi], 0x15
jmp 0x406384
movzx edx, byte [ebp - 0x24]
mov esi, 2
lea ebx, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], dl
movzx ecx, byte [ebp - 0x24]
mov byte [ebp - 0xf], cl
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x18]
mov dword [esp], edx
call sym._crc32
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x18], eax
jmp 0x405af6
movzx ecx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
movzx eax, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], cl
mov ecx, 4
movzx edx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x10]
movzx ebx, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], bl
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x18]
mov dword [esp], edx
call sym._crc32
mov dword [edi + 0x18], eax
jmp 0x405a23
movzx eax, bl
test al, 0x20
jne 0x40613c
test al, 0x40
je 0x406d14
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x40dddd
mov esi, dword [ebp - 0x50]
jmp 0x406550
mov dword [esp + 8], ebx
mov esi, dword [ebp - 0x14]
mov dword [esp + 4], esi
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call sym._crc32
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x405b75
test dword [ebp - 0x24], 0xe000
je 0x4059ab
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x4063f9
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x68], 0
mov dword [esi], 0x10
jmp 0x40630f
cmp ecx, dword [ebp - 0x24]
jmp 0x406623
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x6c]
mov dword [edx + 0x58], 6
mov dword [edx + 0x50], ecx
mov dword [esp + 0x14], ebx
mov ebx, edx
add ebx, 0x58
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov eax, dword [edx + 0x64]
mov dword [esp + 8], eax
mov esi, dword [edx + 0x60]
mov dword [esp], 2
lea ecx, [edx + esi*2 + 0x70]
mov dword [esp + 4], ecx
call sym._inflate_table
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40614f
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x405d20
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 - 0x50]
mov ecx, 2
mov dword [ebx + 0x18], 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 + 0x18]
mov dword [esp], edi
xor edi, edi
call sym._crc32
mov dword [ebx + 0x18], eax
mov eax, 1
mov dword [ebp - 0x24], 0
mov dword [ebx], 1
jmp switch.0x00405640
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 0x18]
mov dword [esp], esi
call sym._adler32
jmp 0x4065d5
mov edx, dword [ebp - 0x24]
and edx, 0xf
cmp edx, 8
je 0x406d77
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x406550
mov edx, dword [ebp - 0x50]
mov ebx, eax
and ebx, 0xf
mov dword [edx + 0x48], ebx
mov dword [edx], 0x13
jmp 0x405d5f
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 [esi + 0x18]
mov dword [esp], ecx
call sym._crc32
mov dword [esi + 0x18], eax
jmp 0x4059cd
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
jmp 0x40609d
shr dword [ebp - 0x24], 4
sub edi, 4
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
and ebx, 0xf
lea ecx, [ebx + 8]
cmp dword [eax + 0x24], ecx
jae 0x406e9b
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x406636
cmp ebx, dword [ebp - 0x1c]
jbe 0x406daa
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x20]
jbe 0x406db2
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405800
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x18]
mov dword [esp], esi
add esi, ebx
call sym._memcpy
sub dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x14], ebx
sub dword [ebp - 0x20], ebx
mov edx, eax
sub dword [eax + 0x40], ebx
mov eax, dword [edx]
mov dword [ebp - 0x18], esi
jmp 0x40563b
mov ebx, dword [ebp - 0x24]
lea edx, [edi - 1]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x50]
and ebx, 1
shr eax, 1
mov dword [esi + 4], ebx
mov ebx, eax
and ebx, 3
cmp ebx, 1
je 0x406f71
jb 0x406f63
cmp ebx, 2
je 0x406ef0
cmp ebx, 3
jne 0x406e36
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
lea edi, [edx - 2]
mov edx, dword [ebp - 0x50]
shr eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
jmp 0x40563b
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x40609d
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
jmp 0x40563b
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 - 0x50]
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 + 0x38], ebx
mov dword [esi + 0x3c], edi
jmp 0x405655
mov ebx, dword [ebp - 0x50]
mov esi, 1
xor eax, eax
shl esi, cl
xor edx, edx
mov dword [ebx + 0x14], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0
call sym._adler32
shr dword [ebp - 0x24], 9
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
and dword [ebp - 0x24], 1
mov dword [edi + 0x18], eax
mov dword [ecx + 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 0x40563b
mov esi, dword [ebp - 0x50]
mov dword [esi], 0xf
jmp 0x406e36
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax], esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], edi
mov dword [esp + 4], esi
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sym._inflate_fast
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x18], edi
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
mov edi, dword [esi + 0x38]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edx
mov edi, dword [ecx + 0x3c]
jmp 0x40563b
mov edi, dword [ebp - 0x50]
mov dword [edi], 0xd
jmp 0x406e36
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x4c], 0x40d440
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x40dc40
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
jmp 0x406e36