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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, dword [esp + 0x90]
test ebx, ebx
je case.default.0x405ed5
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0x1c]
test edi, edi
je case.default.0x405ed5
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x38], eax
je case.default.0x405ed5
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
test ebx, ebx
je 0x405ef0
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
cmp eax, 0xb
je 0x405ee0
mov esi, dword [esp + 0x90]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x28], edi
mov esi, dword [esi + 0x10]
mov edx, esi
mov dword [esp + 0x2c], esi
mov esi, dword [edi + 0x38]
mov dword [esp + 0x34], edx
lea edx, [edi + 0x530]
mov dword [esp + 0x50], edx
lea edx, [edi + 0x2f0]
mov ecx, esi
mov esi, dword [edi + 0x3c]
mov edi, ebp
mov ebp, ebx
mov dword [esp + 0x4c], edx
mov ebx, ecx
cmp eax, 0x1e
ja case.default.0x405ed5
jmp dword [eax*4 + 0x40d650]
mov dword [edi], 0xc
mov eax, 0xc
jmp 0x405e92
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x405e8b
mov dword [esp + 0x30], 0xfffffffe
mov eax, dword [esp + 0x30]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
mov ecx, eax
sub esi, eax
movzx eax, word [esp + 0x44]
shr ebx, cl
cmp byte [esp + 0x30], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x1bc4], edx
mov dword [ecx + 0x40], eax
jne 0x4074e3
mov dword [ecx], 0x19
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x406100
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x40]
mov byte [ecx], al
mov eax, edx
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [eax], 0x14
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp edi, 5
jbe 0x405f92
mov eax, dword [esp + 0x2c]
cmp eax, 0x101
ja 0x407060
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x4c]
mov dword [eax + 0x1bc4], 0
mov eax, 1
shl eax, cl
mov dword [esp + 0x40], edx
sub eax, 1
mov dword [esp + 0x48], eax
and eax, ebx
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x30], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x44], ax
movzx eax, dl
cmp esi, eax
mov dword [esp + 0x58], eax
jae 0x40603b
test edi, edi
je 0x406100
mov ecx, esi
mov esi, ebx
mov ebx, edi
jmp 0x405ff8
test ebx, ebx
je 0x407012
add ebp, 1
movzx eax, byte [ebp - 1]
mov edi, dword [esp + 0x40]
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
mov eax, dword [esp + 0x48]
and eax, esi
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x30], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x44], ax
movzx eax, dl
cmp eax, ecx
ja 0x405ff0
mov edi, ebx
mov dword [esp + 0x58], eax
mov ebx, esi
mov esi, ecx
cmp byte [esp + 0x30], 0
je 0x405f20
test byte [esp + 0x30], 0xf0
jne 0x405f20
movzx ecx, word [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x54], ecx
movzx ecx, byte [esp + 0x30]
add cl, byte [esp + 0x48]
shl eax, cl
mov ecx, edx
sub eax, 1
mov dword [esp + 0x5c], eax
and eax, ebx
shr eax, cl
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x48]
mov word [esp + 0x44], cx
add edx, eax
cmp edx, esi
ja 0x4060f8
jmp 0x4077cc
add ebp, 1
movzx eax, byte [ebp - 1]
mov ecx, esi
add esi, 8
sub edi, 1
shl eax, cl
movzx ecx, byte [esp + 0x48]
add ebx, eax
mov eax, dword [esp + 0x5c]
and eax, ebx
shr eax, cl
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x48]
add edx, eax
cmp edx, esi
jbe 0x4077c7
test edi, edi
jne 0x4060b0
lea esi, [esi]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [edx], ebx
mov ebx, dword [esp + 0x40]
mov dword [edx + 4], ebp
mov dword [edx + 0x10], eax
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], ebx
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x406160
cmp dword [esp + 0x34], eax
je 0x406191
mov eax, dword [edi]
cmp eax, 0x1c
ja 0x406191
cmp dword [esp + 0x94], 4
jne 0x406160
cmp eax, 0x19
ja 0x406191
lea esi, [esi]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x90]
call fcn.004059f0
test eax, eax
jne 0x407510
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x2c]
sub ebx, ebp
add dword [eax + 0x14], esi
add dword [eax + 8], ebx
add dword [edi + 0x1c], esi
test ecx, ecx
je 0x4061ee
test esi, esi
je 0x4061ee
mov edx, dword [edi + 0x10]
mov dword [esp + 8], esi
test edx, edx
je 0x4064a0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov edx, dword [esp + 0x90]
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
xor edx, edx
test eax, eax
setne dl
shl edx, 6
add edx, dword [edi + 0x3c]
cmp ecx, 0xb
je 0x4062b0
cmp ecx, 0x13
je 0x406215
xor eax, eax
cmp ecx, 0xe
jne 0x40621a
mov eax, 0x100
mov edi, dword [esp + 0x90]
add eax, edx
or ebx, esi
mov dword [edi + 0x2c], eax
je 0x406238
cmp dword [esp + 0x94], 4
jne 0x405f0a
mov esi, dword [esp + 0x30]
mov eax, 0xfffffffb
test esi, esi
cmovne eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x94], 6
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x4c], 0x40d760
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x40d6e0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
je 0x407c74
mov ebx, dword [esp + 0x40]
sub esi, 3
mov ebp, eax
shr ebx, 3
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esp + 0x28]
mov dword [eax], 0x14
jmp case.0x405ed5.20
sub edx, 0xffffff80
xor eax, eax
jmp 0x40621a
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x406319
cmp esi, edx
jae 0x4062f4
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x4062dd
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, edx
jb 0x4062d5
mov esi, ecx
mov ecx, edx
mov eax, 1
sub esi, edx
shl eax, cl
mov ecx, dword [esp + 0x28]
sub eax, 1
and eax, ebx
add dword [ecx + 0x44], eax
mov ecx, edx
shr ebx, cl
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x1bc4], edx
mov eax, dword [esp + 0x28]
mov dword [eax], 0x18
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x406100
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub eax, edx
mov edx, dword [ecx + 0x44]
cmp eax, edx
jae 0x406f23
sub edx, eax
cmp edx, dword [ecx + 0x2c]
jbe 0x406fe0
mov eax, dword [ecx + 0x1bc0]
test eax, eax
je 0x406fe0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, ecx
mov dword [eax + 0x18], 0x40d605
mov dword [ecx], 0x1d
nop
lea esi, [esi]
mov dword [esp + 0x30], 0xfffffffd
jmp 0x406114
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x4070e4
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1bc8], eax
mov dword [edx], 0x16
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x50]
mov eax, 1
shl eax, cl
mov dword [esp + 0x40], edx
sub eax, 1
mov dword [esp + 0x48], eax
and eax, ebx
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x30], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x54], ax
movzx eax, dl
cmp eax, esi
mov dword [esp + 0x44], eax
jbe 0x40644a
test edi, edi
je 0x406100
mov ecx, esi
mov esi, ebp
jmp 0x406409
test edi, edi
je 0x406fc0
add esi, 1
movzx eax, byte [esi - 1]
mov edx, dword [esp + 0x40]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov eax, dword [esp + 0x48]
and eax, ebx
lea eax, [edx + eax*4]
movzx edx, byte [eax]
movzx ebp, word [eax + 2]
mov byte [esp + 0x30], dl
movzx edx, byte [eax + 1]
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x44], eax
ja 0x406401
mov word [esp + 0x54], bp
mov ebp, esi
mov esi, ecx
test byte [esp + 0x30], 0xf0
je 0x4072e2
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x1bc4]
mov ecx, eax
sub esi, eax
add eax, edx
shr ebx, cl
test byte [esp + 0x30], 0x40
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1bc4], eax
je 0x4074c2
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, edx
mov dword [eax + 0x18], 0x40d5ef
mov dword [edx], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00408a90
jmp 0x4061e1
cmp esi, 0x1f
ja 0x4064f3
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x4064dd
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x4064d5
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406501
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x28]
test byte [eax + 0x11], 2
jne 0x407615
mov eax, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
mov dword [eax], 3
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x406538
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406530
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406567
movzx edx, bl
mov dword [eax + 8], edx
mov edx, ebx
shr edx, 8
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
test dh, 2
jne 0x407523
mov eax, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
test dh, 4
mov dword [eax], 4
je 0x406fa0
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x4065a8
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x4065a0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], ebx
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4065cf
mov dword [eax + 0x14], ebx
test dh, 2
jne 0x4076dd
xor esi, esi
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov dword [eax], 5
test dh, 4
je 0x406689
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x40]
cmp edi, ecx
mov dword [esp + 0x30], ecx
cmovbe ecx, edi
test ecx, ecx
mov dword [esp + 0x40], ecx
je 0x406676
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x406655
mov eax, dword [ecx + 0x10]
test eax, eax
mov dword [esp + 0x44], eax
je 0x406655
mov edx, dword [ecx + 0x14]
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 4], ebp
add eax, edx
mov dword [esp + 0x30], eax
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x30], ecx
cmovbe eax, dword [esp + 0x40]
add edx, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
and dh, 2
jne 0x4075ee
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + 0x40]
sub edi, edx
add ebp, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov dword [ecx + 0x40], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x406100
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], 0
mov dword [eax], 6
test dh, 8
je 0x406a20
test edi, edi
je 0x406100
mov dword [esp + 0x44], esi
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x28]
jmp 0x4066c6
cmp dword [esp + 0x30], ecx
jbe 0x4066f1
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x4066ed
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x4066ed
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x4066ed
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x4066c0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
test byte [eax + 0x11], 2
jne 0x4072b2
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406100
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], 0
mov dword [eax], 7
test dh, 0x10
je 0x4069c0
test edi, edi
je 0x406100
mov dword [esp + 0x44], esi
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x28]
jmp 0x40675a
cmp dword [esp + 0x30], ecx
jbe 0x406785
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x406781
mov edi, dword [eax + 0x24]
test edi, edi
je 0x406781
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x406781
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406754
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
test byte [eax + 0x11], 2
jne 0x407030
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406100
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax], 8
test dh, 2
je 0x406854
cmp esi, 0xf
ja 0x4067fc
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x4067e4
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x4067e0
mov esi, ecx
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x18]
cmp eax, ebx
je 0x406850
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, ecx
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx], 0x1d
jmp 0x406380
mov dword [esp + 0x40], ebx
mov esi, ecx
mov ebx, ebp
mov dword [esp + 0x30], 0
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406114
xor esi, esi
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40686f
sar edx, 9
mov dword [eax + 0x30], 1
and edx, 1
mov dword [eax + 0x2c], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409040
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edx], 0xb
lea esi, [esi]
lea edi, [edi]
mov eax, dword [esp + 0x94]
sub eax, 5
cmp eax, 1
jbe 0x406104
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x4069e0
cmp esi, 2
ja 0x40786d
test edi, edi
je 0x407890
movzx edx, byte [ebp]
mov ecx, esi
lea eax, [ebp + 1]
sub edi, 1
add esi, 8
shl edx, cl
add dword [esp + 0x40], edx
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, ebx
and edx, 1
mov dword [ecx + 4], edx
mov edx, ebx
shr edx, 1
and edx, 3
cmp edx, 2
je 0x406dc6
cmp edx, 3
je 0x4075bf
cmp edx, 1
je 0x406256
mov dword [ecx], 0xd
shr ebx, 3
sub esi, 3
mov ebp, eax
mov ecx, esi
and esi, 0xfffffff8
and ecx, 7
shr ebx, cl
cmp esi, 0x1f
ja 0x406980
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x406968
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x406960
mov esi, ecx
mov eax, ebx
movzx edx, bx
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x407689
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4067b2
mov dword [eax + 0x24], 0
jmp 0x4067b2
mov eax, dword [esp + 0x40]
mov ecx, esi
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
and ecx, 7
and esi, 0xfffffff8
shr eax, cl
mov dword [esp + 0x40], eax
mov dword [edi], 0x1a
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x407200
mov dword [edi], 0x1c
mov dword [esp + 0x30], 1
jmp 0x406114
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40671e
mov dword [eax + 0x1c], 0
jmp 0x40671e
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x4067bc
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x40672f
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x40669a
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
test dh, 4
je 0x406fa0
cmp esi, 0xf
jbe 0x40658e
jmp 0x4065be
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ebp
mov eax, dword [edx + 0x60]
mov dword [esp + 0x58], eax
add eax, dword [edx + 0x64]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x48], edx
jae 0x4079e9
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x4c]
mov eax, 1
shl eax, cl
mov ebp, edx
mov dword [esp + 0x30], edx
lea eax, [eax - 1]
mov dword [esp + 0x40], eax
and eax, ebx
lea eax, [ebp + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, word [eax + 2]
movzx eax, cl
cmp esi, eax
jae 0x406b2e
test edi, edi
je 0x4077dc
mov ebp, dword [esp + 0x44]
mov ecx, esi
jmp 0x406afa
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
mov esi, dword [esp + 0x30]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov eax, dword [esp + 0x40]
and eax, ebx
lea edx, [esi + eax*4]
movzx esi, byte [edx + 1]
movzx edx, word [edx + 2]
cmp esi, ecx
mov eax, esi
ja 0x406af2
mov esi, ecx
mov dword [esp + 0x44], ebp
mov ecx, eax
cmp dx, 0xf
ja 0x4073c0
shr ebx, cl
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
sub esi, eax
mov eax, ecx
add eax, 1
mov dword [ebp + 0x68], eax
mov dword [esp + 0x48], eax
mov word [ebp + ecx*2 + 0x70], dx
jmp 0x406aa1
cmp esi, 0xf
ja 0x406b90
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x406b78
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406b70
mov esi, ecx
mov eax, dword [esp + 0x28]
cmp bl, 8
mov dword [eax + 0x10], ebx
je 0x4076af
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
cmp edx, eax
mov dword [esp + 0x30], edx
jae 0x4079e2
mov ecx, esi
add eax, 1
add dword [esp + 0x30], 1
cmp ecx, 2
mov dword [esp + 0x40], eax
ja 0x406c44
test edi, edi
je 0x406830
movzx eax, byte [ebp]
lea edx, [ebp + 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
sub ecx, 3
movzx eax, word [ebp + ebp + 0x40df5e]
mov dword [esi + 0x68], ebp
mov ebp, ebx
and ebp, 7
shr ebx, 3
mov word [esi + eax*2 + 0x70], bp
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x40]
je 0x407906
cmp ecx, 2
mov dword [esp + 0x30], eax
mov ebp, edx
jbe 0x406bec
mov edx, ebp
jmp 0x406c05
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
test eax, eax
je 0x406f10
cmp esi, 0xf
ja 0x407a62
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x406c7c
test edi, edi
je 0x407558
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, 0xf
jbe 0x406c74
mov esi, ecx
mov dword [esp + 0x30], ebx
test al, 2
je 0x406caa
cmp dword [esp + 0x30], 0x8b1f
je 0x407b3a
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x10], 0
test edx, edx
je 0x406cc3
mov dword [edx + 0x30], 0xffffffff
test al, 1
je 0x407596
mov eax, dword [esp + 0x30]
mov edx, 0x8421085
mov ecx, eax
shr eax, 8
shl ecx, 8
movzx ecx, cx
add ecx, eax
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
mov ebx, edx
shr ebx, 4
mov eax, ebx
shl eax, 5
sub eax, ebx
mov ebx, ecx
sub ebx, eax
jne 0x407596
mov edx, dword [esp + 0x30]
mov eax, edx
and eax, 0xf
cmp eax, 8
je 0x407aac
mov ebx, ebp
mov eax, dword [esp + 0x90]
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x406da0
mov ecx, dword [esp + 0x2c]
cmp edi, eax
cmovbe eax, edi
cmp eax, ecx
cmova eax, ecx
test eax, eax
je 0x406100
mov dword [esp + 8], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub dword [esp + 0x2c], edx
add dword [esp + 0x38], edx
sub dword [eax + 0x40], edx
sub edi, edx
add ebp, edx
mov eax, dword [eax]
jmp 0x405ed0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax], 0xb
jmp 0x4068b0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x28]
mov dword [edx], 0xf
jmp 0x406d47
mov ebx, dword [esp + 0x28]
sub esi, 3
mov ebp, eax
mov dword [ebx], 0x10
mov ebx, dword [esp + 0x40]
shr ebx, 3
cmp esi, 0xd
ja 0x406e10
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x406df8
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xd
jbe 0x406df0
mov esi, ecx
mov ecx, ebx
mov eax, ebx
sub esi, 0xe
and ecx, 0x1f
shr eax, 0xa
lea edx, [ecx + 0x101]
mov ecx, dword [esp + 0x28]
and eax, 0xf
add eax, 4
mov dword [esp + 0x30], edx
mov dword [ecx + 0x60], edx
mov edx, ebx
shr ebx, 0xe
shr edx, 5
mov dword [ecx + 0x5c], eax
and edx, 0x1f
add edx, 1
cmp edx, 0x1e
mov dword [ecx + 0x64], edx
ja 0x407482
cmp dword [esp + 0x30], 0x11e
ja 0x407482
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], 0
mov dword [edx + 0x68], 0
mov dword [edx], 0x11
jmp 0x406bd9
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 8]
test eax, eax
je 0x406a0b
mov eax, dword [edi + 0x10]
test eax, eax
je 0x406a0b
cmp esi, 0x1f
ja 0x406ed7
test ebp, ebp
mov edx, dword [esp + 0x40]
mov ecx, esi
jne 0x406ebb
jmp 0x40610c
test ebp, ebp
je 0x406f90
add ebx, 1
movzx eax, byte [ebx - 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406eb3
mov dword [esp + 0x40], edx
mov esi, ecx
mov eax, dword [esp + 0x40]
cmp dword [edi + 0x1c], eax
je 0x407a9d
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
jmp 0x406380
cmp esi, 0xf
jbe 0x40651d
jmp 0x40654e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax], 0xc
jmp 0x4068c3
mov eax, dword [esp + 0x38]
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x40]
mov ecx, edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
cmp edx, eax
cmova edx, eax
sub eax, edx
sub ecx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
add edx, ecx
lea esi, [esi]
add eax, 1
movzx ebx, byte [eax - 1]
add ecx, 1
cmp edx, ecx
mov byte [ecx - 1], bl
jne 0x406f60
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x30]
mov edx, dword [eax + 0x40]
test edx, edx
je case.0x405ed5.19
mov eax, dword [eax]
jmp 0x405ed0
mov dword [esp + 0x40], edx
mov esi, ecx
jmp 0x40610c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4065dc
mov dword [eax + 0x10], 0
jmp 0x4065dc
mov ebp, edi
mov dword [esp + 0x40], ebx
mov edi, dword [esp + 0x28]
mov ebx, esi
mov dword [esp + 0x30], 0
mov esi, ecx
jmp 0x406114
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x30]
cmp edx, eax
jbe 0x4074b0
sub edx, eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x30], eax
sub eax, edx
add eax, dword [ecx + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x40]
cmp edx, ecx
cmova edx, ecx
jmp 0x406f36
mov eax, ebx
mov dword [esp + 0x40], esi
mov ebx, ebp
mov esi, ecx
mov edi, dword [esp + 0x28]
mov ebp, eax
mov dword [esp + 0x30], 0
jmp 0x406114
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov eax, dword [eax + 0x18]
mov byte [esp + 0x40], dl
mov dword [esp + 0x30], ecx
mov dword [esp], eax
call fcn.00409040
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x40679f
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [edx], ebp
mov dword [edx + 4], edi
mov dword [edx + 0xc], ecx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], esi
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00409350
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov eax, ebx
mov esi, dword [eax + 0x3c]
mov eax, dword [eax]
mov ebx, dword [ebx + 0x38]
cmp eax, 0xb
jne 0x405ed0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax + 0x1bc4], 0xffffffff
jmp 0x4068b0
cmp esi, edx
jae 0x407113
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x4070fc
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, edx
jb 0x4070f4
mov esi, ecx
mov ecx, edx
mov eax, 1
sub esi, edx
shl eax, cl
mov ecx, dword [esp + 0x28]
sub eax, 1
and eax, ebx
add eax, dword [ecx + 0x40]
mov dword [ecx + 0x40], eax
mov ecx, edx
shr ebx, cl
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x1bc4], edx
jmp 0x4063a3
cmp esi, 0x1f
ja 0x40716f
test edi, edi
je 0x406100
mov ecx, esi
jmp 0x407159
test edi, edi
je 0x406830
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x407151
mov edx, ebx
mov eax, ebx
mov esi, dword [esp + 0x28]
shr edx, 0x18
shl eax, 0x18
mov dword [esp + 0x40], 0
lea ecx, [edx + eax]
mov eax, ebx
shr eax, 8
and eax, 0xff00
lea edx, [ecx + eax]
mov eax, ebx
mov ebx, dword [esp + 0x90]
shl eax, 8
and eax, 0xff0000
add eax, edx
mov dword [esi + 0x18], eax
mov dword [ebx + 0x30], eax
mov dword [esi], 0xa
xor esi, esi
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x407a2b
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408a90
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
mov dword [ebx + 0x18], eax
mov dword [edx + 0x30], eax
mov dword [ebx], 0xb
jmp 0x4068b0
cmp esi, 0x1f
ja 0x407238
test ebp, ebp
mov edx, dword [esp + 0x40]
mov ecx, esi
jne 0x40721c
jmp 0x40610c
test ebp, ebp
je 0x406f90
add ebx, 1
movzx eax, byte [ebx - 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x407214
mov dword [esp + 0x40], edx
mov esi, ecx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x90]
add dword [edx + 0x14], eax
add dword [edi + 0x1c], eax
test eax, eax
jne 0x407718
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x10], 0
mov edx, dword [esp + 0x40]
mov eax, edx
jne 0x407289
shl eax, 0x18
shr edx, 0x18
add edx, eax
mov eax, dword [esp + 0x40]
shr eax, 8
and eax, 0xff00
add eax, edx
mov edx, dword [esp + 0x40]
shl edx, 8
and edx, 0xff0000
add eax, edx
cmp eax, ecx
je 0x40789d
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x2c]
mov dword [edi], 0x1d
mov dword [esp + 0x34], eax
jmp 0x406380
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov eax, dword [eax + 0x18]
mov byte [esp + 0x40], dl
mov dword [esp + 0x30], ecx
mov dword [esp], eax
call fcn.00409040
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x40670b
movzx ecx, word [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, 1
mov dword [esp + 0x48], ecx
movzx ecx, byte [esp + 0x30]
add cl, byte [esp + 0x5c]
shl eax, cl
mov ecx, edx
sub eax, 1
mov dword [esp + 0x58], eax
and eax, ebx
shr eax, cl
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov byte [esp + 0x30], dl
mov edx, dword [esp + 0x5c]
mov word [esp + 0x54], cx
add edx, eax
cmp edx, esi
jbe 0x4073a1
test edi, edi
je 0x406100
mov eax, ebx
mov edx, dword [esp + 0x5c]
mov ebx, edi
mov edi, eax
jmp 0x407358
test ebx, ebx
je 0x40757b
add ebp, 1
movzx eax, byte [ebp - 1]
mov ecx, esi
add esi, 8
sub ebx, 1
shl eax, cl
mov ecx, edx
add edi, eax
mov eax, dword [esp + 0x58]
and eax, edi
shr eax, cl
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax]
mov byte [esp + 0x30], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x54], cx
lea ecx, [edx + eax]
cmp ecx, esi
ja 0x407350
mov edx, edi
mov edi, ebx
mov ebx, edx
mov edx, dword [esp + 0x5c]
sub esi, dword [esp + 0x44]
mov ecx, edx
shr ebx, cl
mov ecx, dword [esp + 0x28]
add edx, dword [ecx + 0x1bc4]
jmp 0x40645f
cmp dx, 0x10
je 0x407750
cmp dx, 0x11
je 0x4077f7
lea edx, [eax + 7]
cmp esi, edx
jae 0x407415
test edi, edi
je 0x4077dc
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x4073f8
test edi, edi
je 0x406830
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x4073f0
mov eax, esi
mov dword [esp + 0x44], ebp
mov esi, ecx
mov ecx, eax
sub esi, eax
xor edx, edx
shr ebx, cl
sub esi, 7
mov ecx, ebx
shr ebx, 7
and ecx, 0x7f
add ecx, 0xb
mov eax, dword [esp + 0x48]
lea ebp, [ecx + eax]
cmp ebp, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
ja 0x407c8f
mov word [esp + 0x40], dx
add eax, 0x38
mov edx, dword [esp + 0x28]
mov ebp, eax
add ecx, ebp
mov ebp, dword [esp + 0x44]
lea eax, [edx + eax*2]
lea ecx, [edx + ecx*2]
movzx edx, word [esp + 0x40]
nop
mov word [eax], dx
add eax, 2
cmp eax, ecx
jne 0x407460
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ebp
mov dword [edx + 0x68], eax
mov dword [esp + 0x48], eax
jmp 0x406aa1
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x406380
mov ecx, dword [esp + 0x28]
sub eax, edx
add eax, dword [ecx + 0x34]
mov dword [esp + 0x40], eax
jmp 0x407001
movzx eax, word [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
and edx, 0xf
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
mov dword [ecx], 0x17
jmp 0x4062c1
test byte [esp + 0x30], 0x20
je 0x407659
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
jmp 0x4068b0
mov dword [edi], 0x1e
mov dword [esp + 0x30], 0xfffffffc
jmp 0x405f0a
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov byte [esp + 0x6c], bl
shr ebx, 8
mov dword [esp + 4], eax
mov byte [esp + 0x6d], bl
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov edx, dword [esi + 0x10]
mov dword [esi + 0x18], eax
jmp 0x406577
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x30]
mov ebx, ebp
mov esi, ecx
mov ebp, edi
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
jmp 0x406114
mov eax, ebx
mov dword [esp + 0x40], edi
mov ebx, ebp
mov edi, dword [esp + 0x28]
mov ebp, eax
mov dword [esp + 0x30], 0
jmp 0x406114
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x30]
mov dword [edi], 0x1d
mov dword [esp + 0x40], eax
jmp 0x406380
mov ebx, dword [esp + 0x90]
mov ebp, edi
mov edi, dword [esp + 0x28]
sub esi, 3
mov dword [ebx + 0x18], str.invalid_block_type
mov ebx, dword [esp + 0x40]
mov dword [edi], 0x1d
shr ebx, 3
mov dword [esp + 0x40], ebx
mov ebx, eax
jmp 0x406380
mov eax, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00409040
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], eax
jmp 0x40665e
mov eax, ebx
mov esi, dword [esp + 0x28]
mov dword [esp + 8], 4
shr eax, 8
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
mov byte [esp + 0x6f], bl
mov byte [esp + 0x6e], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov dword [esi + 0x18], eax
jmp 0x40650f
test byte [esp + 0x30], 0x40
je 0x407854
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], 0x40d5d3
mov dword [edi], 0x1d
jmp 0x406380
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], edx
mov dword [eax], 0xe
je 0x407c55
mov eax, edx
xor esi, esi
xor ebx, ebx
jmp 0x406dba
test bh, 0xe0
je 0x4078bd
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [edi], 0x1d
jmp 0x406380
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov byte [esp + 0x6c], bl
shr ebx, 8
mov dword [esp + 4], eax
mov byte [esp + 0x6d], bl
xor ebx, ebx
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov edx, esi
mov dword [esi + 0x18], eax
xor esi, esi
mov edx, dword [edx + 0x10]
jmp 0x4065dc
mov edx, dword [edi + 0x10]
mov dword [esp + 8], eax
test edx, edx
mov edx, dword [esp + 0x38]
je 0x4078ee
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov ecx, eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x18], ecx
mov dword [eax + 0x30], ecx
jmp 0x407258
lea edx, [eax + 2]
cmp edx, esi
jbe 0x407795
test edi, edi
je 0x4077dc
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x407778
test edi, edi
je 0x406830
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x407770
mov eax, esi
mov dword [esp + 0x44], ebp
mov esi, ecx
mov ecx, eax
sub esi, eax
mov eax, dword [esp + 0x48]
shr ebx, cl
test eax, eax
je 0x407c8f
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov ecx, ebx
and ecx, 3
shr ebx, 2
sub esi, 2
add ecx, 3
movzx edx, word [eax + edx*2 + 0x6e]
jmp 0x40742b
mov word [esp + 0x44], cx
movzx ecx, byte [esp + 0x48]
sub esi, dword [esp + 0x58]
shr ebx, cl
jmp 0x405f22
mov dword [esp + 0x40], ebx
mov ebp, edi
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], 0
jmp 0x406114
lea edx, [eax + 3]
cmp edx, esi
jbe 0x407835
test edi, edi
je 0x4077dc
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x407818
test edi, edi
je 0x406830
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x407810
mov eax, esi
mov dword [esp + 0x44], ebp
mov esi, ecx
mov ecx, eax
mov edx, 0xfffffffd
shr ebx, cl
sub edx, eax
mov ecx, ebx
add esi, edx
shr ebx, 3
and ecx, 7
xor edx, edx
add ecx, 3
jmp 0x40742b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
and edx, 0xf
mov dword [eax], 0x15
mov dword [eax + 0x48], edx
jmp 0x406394
mov eax, ebp
jmp 0x4068fc
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x28]
mov dword [eax], 0x13
jne case.0x405ed5.19
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406114
mov esi, dword [esp + 0x2c]
mov eax, dword [edi + 8]
mov dword [edi], 0x1b
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], esi
xor esi, esi
jmp 0x406e8c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4078d2
mov edx, ebx
shr edx, 8
and edx, 1
mov dword [eax], edx
test bh, 2
jne 0x407a6b
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor esi, esi
mov dword [eax], 2
jmp 0x4064c9
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00408a90
mov ecx, eax
jmp 0x40773e
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov ecx, 0x40df86
cmp ebp, 0x12
lea eax, [ebp + ebp + 0x40df60]
ja 0x407945
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x30], edi
movzx edi, word [eax]
add eax, 2
cmp ecx, eax
mov word [ebp + edi*2 + 0x70], 0
jne 0x407925
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [eax + 0x68], 0x13
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x54], 7
mov dword [eax + 0x6c], edx
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], 0x13
mov dword [esp], 0
mov dword [esp + 0x14], edx
mov edx, eax
add eax, 0x54
mov dword [esp + 0x10], eax
mov eax, edx
add eax, 0x6c
mov dword [esp + 0xc], eax
mov eax, edx
add eax, 0x70
mov dword [esp + 4], eax
call fcn.00408410
test eax, eax
mov edx, dword [esp + 0x30]
je 0x4079c2
mov ebp, edi
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov ebx, edx
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x28]
mov ebp, edx
mov dword [esp + 0x48], 0
mov dword [eax + 0x68], 0
mov dword [eax], 0x12
jmp 0x406a8b
mov edx, ebp
jmp 0x407908
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
cmp dword [eax], 0x1d
je case.0x405ed5.29
cmp word [eax + 0x270], 0
jne 0x407bc1
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x406380
mov ebx, ebp
mov edx, dword [esp + 0x38]
mov ebp, edi
mov edi, eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], 2
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], eax
jmp 0x405f0a
mov dword [esp + 0x30], ebx
jmp 0x406c98
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov byte [esp + 0x6c], bl
shr ebx, 8
mov dword [esp + 4], eax
mov byte [esp + 0x6d], bl
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00409040
mov dword [esi + 0x18], eax
jmp 0x4078db
xor esi, esi
mov dword [esp + 0x40], 0
jmp 0x406a0b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
shr edx, 4
mov eax, dword [eax + 0x24]
mov ecx, edx
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x407b91
mov eax, dword [esp + 0x28]
mov dword [eax + 0x24], ecx
mov esi, dword [esp + 0x28]
mov eax, 1
mov dword [esp + 0x30], edx
shl eax, cl
mov dword [esi + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408a90
mov edx, dword [esp + 0x90]
mov dword [esi + 0x18], eax
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x30]
and edx, 0x200
mov dword [esp + 0x40], edx
jne 0x407b29
mov dword [esi], 0xb
xor esi, esi
jmp 0x4068b0
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax], 9
jmp 0x407145
mov dword [esp + 8], 0
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], 0
call fcn.00409040
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x6c]
mov byte [esp + 0x6c], 0x1f
mov byte [esp + 0x6d], 0x8b
mov dword [esi + 0x18], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409040
mov dword [esi], 1
mov dword [esi + 0x18], eax
xor esi, esi
jmp 0x406b5f
cmp ecx, eax
jbe 0x407ad1
mov ebx, ebp
mov eax, dword [esp + 0x90]
mov ebp, edi
mov edi, dword [esp + 0x28]
sub esi, 4
mov dword [esp + 0x40], edx
mov dword [eax + 0x18], str.invalid_window_size
mov dword [edi], 0x1d
jmp 0x406380
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x4c], edx
lea edx, [eax + 0x70]
mov dword [eax + 0x54], 9
lea ecx, [eax + 0x6c]
add eax, 0x54
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp], 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 8], edx
call fcn.00408410
test eax, eax
mov ecx, dword [esp + 0x40]
je 0x407cb6
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x406380
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406380
mov ebx, ebp
mov dword [esp + 0x30], 0
mov ebp, edi
xor esi, esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], 0
jmp 0x406114
mov ebx, dword [esp + 0x40]
mov ebp, edi
sub esi, 3
mov edi, dword [esp + 0x28]
shr ebx, 3
mov dword [esp + 0x40], ebx
mov ebx, eax
jmp 0x406114
mov ebp, edi
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x406380
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x6c]
mov dword [edx + 0x58], 6
mov dword [edx + 0x50], eax
mov eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov edx, eax
add eax, 0x58
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x60]
mov dword [esp], 2
add eax, eax
add eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00408410
test eax, eax
mov dword [esp + 0x30], eax
je 0x407874
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x90]
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x406380
mov dword [esp + 0x40], ebx
jmp 0x4068b0
mov dword [esp + 0x40], ebx
jmp 0x4071b6
mov dword [esp + 0x40], ebx
jmp 0x4068c3
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406a00
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], 1
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406114
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x4065e6