Function at 0x405d80
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.0x405e15
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0x1c]
test edi, edi
je case.default.0x405e15
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x38], eax
je case.default.0x405e15
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
test ebx, ebx
je 0x405e30
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
cmp eax, 0xb
je 0x405e20
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.0x405e15
jmp dword [eax*4 + 0x40d630]
mov dword [edi], 0xc
mov eax, 0xc
jmp 0x405dd2
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x405dcb
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 0x407423
mov dword [ecx], 0x19
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x406040
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 0x405ed2
mov eax, dword [esp + 0x2c]
cmp eax, 0x101
ja 0x406fa0
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 0x405f7b
test edi, edi
je 0x406040
mov ecx, esi
mov esi, ebx
mov ebx, edi
jmp 0x405f38
test ebx, ebx
je 0x406f52
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 0x405f30
mov edi, ebx
mov dword [esp + 0x58], eax
mov ebx, esi
mov esi, ecx
cmp byte [esp + 0x30], 0
je 0x405e60
test byte [esp + 0x30], 0xf0
jne 0x405e60
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 0x406038
jmp 0x40770c
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 0x407707
test edi, edi
jne 0x405ff0
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 0x4060a0
cmp dword [esp + 0x34], eax
je 0x4060d1
mov eax, dword [edi]
cmp eax, 0x1c
ja 0x4060d1
cmp dword [esp + 0x94], 4
jne 0x4060a0
cmp eax, 0x19
ja 0x4060d1
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.00405930
test eax, eax
jne 0x407450
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 0x40612e
test esi, esi
je 0x40612e
mov edx, dword [edi + 0x10]
mov dword [esp + 8], esi
test edx, edx
je 0x4063e0
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.00408f80
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 0x4061f0
cmp ecx, 0x13
je 0x406155
xor eax, eax
cmp ecx, 0xe
jne 0x40615a
mov eax, 0x100
mov edi, dword [esp + 0x90]
add eax, edx
or ebx, esi
mov dword [edi + 0x2c], eax
je 0x406178
cmp dword [esp + 0x94], 4
jne 0x405e4a
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], 0x40d740
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x40d6c0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
je 0x407bb4
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.0x405e15.20
sub edx, 0xffffff80
xor eax, eax
jmp 0x40615a
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x406259
cmp esi, edx
jae 0x406234
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x40621d
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, edx
jb 0x406215
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 0x406040
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
sub eax, edx
mov edx, dword [ecx + 0x44]
cmp eax, edx
jae 0x406e63
sub edx, eax
cmp edx, dword [ecx + 0x2c]
jbe 0x406f20
mov eax, dword [ecx + 0x1bc0]
test eax, eax
je 0x406f20
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, ecx
mov dword [eax + 0x18], 0x40d5e5
mov dword [ecx], 0x1d
nop
lea esi, [esi]
mov dword [esp + 0x30], 0xfffffffd
jmp 0x406054
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x407024
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 0x40638a
test edi, edi
je 0x406040
mov ecx, esi
mov esi, ebp
jmp 0x406349
test edi, edi
je 0x406f00
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 0x406341
mov word [esp + 0x54], bp
mov ebp, esi
mov esi, ecx
test byte [esp + 0x30], 0xf0
je 0x407222
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 0x407402
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, edx
mov dword [eax + 0x18], 0x40d5cf
mov dword [edx], 0x1d
jmp 0x4062c0
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.004089d0
jmp 0x406121
cmp esi, 0x1f
ja 0x406433
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x40641d
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x406415
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406441
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x28]
test byte [eax + 0x11], 2
jne 0x407555
mov eax, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
mov dword [eax], 3
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x406478
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406470
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4064a7
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 0x407463
mov eax, dword [esp + 0x28]
xor esi, esi
xor ebx, ebx
test dh, 4
mov dword [eax], 4
je 0x406ee0
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x4064e8
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x4064e0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], ebx
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40650f
mov dword [eax + 0x14], ebx
test dh, 2
jne 0x40761d
xor esi, esi
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov dword [eax], 5
test dh, 4
je 0x4065c9
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 0x4065b6
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x406595
mov eax, dword [ecx + 0x10]
test eax, eax
mov dword [esp + 0x44], eax
je 0x406595
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 0x40752e
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 0x406040
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 0x406960
test edi, edi
je 0x406040
mov dword [esp + 0x44], esi
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x28]
jmp 0x406606
cmp dword [esp + 0x30], ecx
jbe 0x406631
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x40662d
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x40662d
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x40662d
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406600
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 0x4071f2
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406040
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 0x406900
test edi, edi
je 0x406040
mov dword [esp + 0x44], esi
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x28]
jmp 0x40669a
cmp dword [esp + 0x30], ecx
jbe 0x4066c5
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x4066c1
mov edi, dword [eax + 0x24]
test edi, edi
je 0x4066c1
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x4066c1
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406694
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 0x406f70
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406040
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax], 8
test dh, 2
je 0x406794
cmp esi, 0xf
ja 0x40673c
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x406724
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406720
mov esi, ecx
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x18]
cmp eax, ebx
je 0x406790
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 0x4062c0
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 0x406054
xor esi, esi
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4067af
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.00408f80
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 0x406044
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x406920
cmp esi, 2
ja 0x4077ad
test edi, edi
je 0x4077d0
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 0x406d06
cmp edx, 3
je 0x4074ff
cmp edx, 1
je 0x406196
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 0x4068c0
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x4068a8
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x4068a0
mov esi, ecx
mov eax, ebx
movzx edx, bx
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x4075c9
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 0x4062c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4066f2
mov dword [eax + 0x24], 0
jmp 0x4066f2
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 0x407140
mov dword [edi], 0x1c
mov dword [esp + 0x30], 1
jmp 0x406054
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40665e
mov dword [eax + 0x1c], 0
jmp 0x40665e
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x4066fc
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x40666f
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x4065da
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
test dh, 4
je 0x406ee0
cmp esi, 0xf
jbe 0x4064ce
jmp 0x4064fe
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 0x407929
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 0x406a6e
test edi, edi
je 0x40771c
mov ebp, dword [esp + 0x44]
mov ecx, esi
jmp 0x406a3a
test edi, edi
je 0x406770
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 0x406a32
mov esi, ecx
mov dword [esp + 0x44], ebp
mov ecx, eax
cmp dx, 0xf
ja 0x407300
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 0x4069e1
cmp esi, 0xf
ja 0x406ad0
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x406ab8
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406ab0
mov esi, ecx
mov eax, dword [esp + 0x28]
cmp bl, 8
mov dword [eax + 0x10], ebx
je 0x4075ef
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 0x4062c0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
cmp edx, eax
mov dword [esp + 0x30], edx
jae 0x407922
mov ecx, esi
add eax, 1
add dword [esp + 0x30], 1
cmp ecx, 2
mov dword [esp + 0x40], eax
ja 0x406b84
test edi, edi
je 0x406770
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 + 0x40df3e]
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 0x407846
cmp ecx, 2
mov dword [esp + 0x30], eax
mov ebp, edx
jbe 0x406b2c
mov edx, ebp
jmp 0x406b45
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
test eax, eax
je 0x406e50
cmp esi, 0xf
ja 0x4079a2
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x406bbc
test edi, edi
je 0x407498
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, 0xf
jbe 0x406bb4
mov esi, ecx
mov dword [esp + 0x30], ebx
test al, 2
je 0x406bea
cmp dword [esp + 0x30], 0x8b1f
je 0x407a7a
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x10], 0
test edx, edx
je 0x406c03
mov dword [edx + 0x30], 0xffffffff
test al, 1
je 0x4074d6
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 0x4074d6
mov edx, dword [esp + 0x30]
mov eax, edx
and eax, 0xf
cmp eax, 8
je 0x4079ec
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 0x4062c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x406ce0
mov ecx, dword [esp + 0x2c]
cmp edi, eax
cmovbe eax, edi
cmp eax, ecx
cmova eax, ecx
test eax, eax
je 0x406040
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 0x405e10
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax], 0xb
jmp 0x4067f0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x28]
mov dword [edx], 0xf
jmp 0x406c87
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 0x406d50
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x406d38
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xd
jbe 0x406d30
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 0x4073c2
cmp dword [esp + 0x30], 0x11e
ja 0x4073c2
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], 0
mov dword [edx + 0x68], 0
mov dword [edx], 0x11
jmp 0x406b19
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 0x40694b
mov eax, dword [edi + 0x10]
test eax, eax
je 0x40694b
cmp esi, 0x1f
ja 0x406e17
test ebp, ebp
mov edx, dword [esp + 0x40]
mov ecx, esi
jne 0x406dfb
jmp 0x40604c
test ebp, ebp
je 0x406ed0
add ebx, 1
movzx eax, byte [ebx - 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406df3
mov dword [esp + 0x40], edx
mov esi, ecx
mov eax, dword [esp + 0x40]
cmp dword [edi + 0x1c], eax
je 0x4079dd
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
jmp 0x4062c0
cmp esi, 0xf
jbe 0x40645d
jmp 0x40648e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax], 0xc
jmp 0x406803
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 0x406ea0
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.0x405e15.19
mov eax, dword [eax]
jmp 0x405e10
mov dword [esp + 0x40], edx
mov esi, ecx
jmp 0x40604c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40651c
mov dword [eax + 0x10], 0
jmp 0x40651c
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 0x406054
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x30]
cmp edx, eax
jbe 0x4073f0
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 0x406e76
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 0x406054
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.00408f80
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x4066df
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.00409290
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 0x405e10
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax + 0x1bc4], 0xffffffff
jmp 0x4067f0
cmp esi, edx
jae 0x407053
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x40703c
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, edx
jb 0x407034
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 0x4062e3
cmp esi, 0x1f
ja 0x4070af
test edi, edi
je 0x406040
mov ecx, esi
jmp 0x407099
test edi, edi
je 0x406770
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x407091
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 0x40796b
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004089d0
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 0x4067f0
cmp esi, 0x1f
ja 0x407178
test ebp, ebp
mov edx, dword [esp + 0x40]
mov ecx, esi
jne 0x40715c
jmp 0x40604c
test ebp, ebp
je 0x406ed0
add ebx, 1
movzx eax, byte [ebx - 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x407154
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 0x407658
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x10], 0
mov edx, dword [esp + 0x40]
mov eax, edx
jne 0x4071c9
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 0x4077dd
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 0x4062c0
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.00408f80
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x40664b
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 0x4072e1
test edi, edi
je 0x406040
mov eax, ebx
mov edx, dword [esp + 0x5c]
mov ebx, edi
mov edi, eax
jmp 0x407298
test ebx, ebx
je 0x4074bb
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 0x407290
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 0x40639f
cmp dx, 0x10
je 0x407690
cmp dx, 0x11
je 0x407737
lea edx, [eax + 7]
cmp esi, edx
jae 0x407355
test edi, edi
je 0x40771c
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x407338
test edi, edi
je 0x406770
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x407330
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 0x407bcf
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 0x4073a0
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 0x4069e1
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 0x4062c0
mov ecx, dword [esp + 0x28]
sub eax, edx
add eax, dword [ecx + 0x34]
mov dword [esp + 0x40], eax
jmp 0x406f41
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 0x406201
test byte [esp + 0x30], 0x20
je 0x407599
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
jmp 0x4067f0
mov dword [edi], 0x1e
mov dword [esp + 0x30], 0xfffffffc
jmp 0x405e4a
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.00408f80
mov edx, dword [esi + 0x10]
mov dword [esi + 0x18], eax
jmp 0x4064b7
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 0x406054
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 0x406054
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 0x4062c0
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 0x4062c0
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.00408f80
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], eax
jmp 0x40659e
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.00408f80
mov dword [esi + 0x18], eax
jmp 0x40644f
test byte [esp + 0x30], 0x40
je 0x407794
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], 0x40d5b3
mov dword [edi], 0x1d
jmp 0x4062c0
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], edx
mov dword [eax], 0xe
je 0x407b95
mov eax, edx
xor esi, esi
xor ebx, ebx
jmp 0x406cfa
test bh, 0xe0
je 0x4077fd
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 0x4062c0
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.00408f80
mov edx, esi
mov dword [esi + 0x18], eax
xor esi, esi
mov edx, dword [edx + 0x10]
jmp 0x40651c
mov edx, dword [edi + 0x10]
mov dword [esp + 8], eax
test edx, edx
mov edx, dword [esp + 0x38]
je 0x40782e
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00408f80
mov ecx, eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x18], ecx
mov dword [eax + 0x30], ecx
jmp 0x407198
lea edx, [eax + 2]
cmp edx, esi
jbe 0x4076d5
test edi, edi
je 0x40771c
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x4076b8
test edi, edi
je 0x406770
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x4076b0
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 0x407bcf
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 0x40736b
mov word [esp + 0x44], cx
movzx ecx, byte [esp + 0x48]
sub esi, dword [esp + 0x58]
shr ebx, cl
jmp 0x405e62
mov dword [esp + 0x40], ebx
mov ebp, edi
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], 0
jmp 0x406054
lea edx, [eax + 3]
cmp edx, esi
jbe 0x407775
test edi, edi
je 0x40771c
mov ecx, esi
mov ebp, dword [esp + 0x44]
mov esi, eax
mov eax, edx
jmp 0x407758
test edi, edi
je 0x406770
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add ebx, edx
cmp ecx, eax
jb 0x407750
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 0x40736b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
and edx, 0xf
mov dword [eax], 0x15
mov dword [eax + 0x48], edx
jmp 0x4062d4
mov eax, ebp
jmp 0x40683c
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x28]
mov dword [eax], 0x13
jne case.0x405e15.19
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406054
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 0x406dcc
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x407812
mov edx, ebx
shr edx, 8
and edx, 1
mov dword [eax], edx
test bh, 2
jne 0x4079ab
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor esi, esi
mov dword [eax], 2
jmp 0x406409
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.004089d0
mov ecx, eax
jmp 0x40767e
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov ecx, 0x40df66
cmp ebp, 0x12
lea eax, [ebp + ebp + 0x40df40]
ja 0x407885
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 0x407865
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.00408350
test eax, eax
mov edx, dword [esp + 0x30]
je 0x407902
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 0x4062c0
mov eax, dword [esp + 0x28]
mov ebp, edx
mov dword [esp + 0x48], 0
mov dword [eax + 0x68], 0
mov dword [eax], 0x12
jmp 0x4069cb
mov edx, ebp
jmp 0x407848
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
cmp dword [eax], 0x1d
je case.0x405e15.29
cmp word [eax + 0x270], 0
jne 0x407b01
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 0x4062c0
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 0x405e4a
mov dword [esp + 0x30], ebx
jmp 0x406bd8
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.00408f80
mov dword [esi + 0x18], eax
jmp 0x40781b
xor esi, esi
mov dword [esp + 0x40], 0
jmp 0x40694b
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 0x407ad1
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.004089d0
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 0x407a69
mov dword [esi], 0xb
xor esi, esi
jmp 0x4067f0
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax], 9
jmp 0x407085
mov dword [esp + 8], 0
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], 0
call fcn.00408f80
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.00408f80
mov dword [esi], 1
mov dword [esi + 0x18], eax
xor esi, esi
jmp 0x406a9f
cmp ecx, eax
jbe 0x407a11
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 0x4062c0
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.00408350
test eax, eax
mov ecx, dword [esp + 0x40]
je 0x407bf6
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 0x4062c0
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x4062c0
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 0x406054
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 0x406054
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 0x4062c0
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.00408350
test eax, eax
mov dword [esp + 0x30], eax
je 0x4077b4
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 0x4062c0
mov dword [esp + 0x40], ebx
jmp 0x4067f0
mov dword [esp + 0x40], ebx
jmp 0x4070f6
mov dword [esp + 0x40], ebx
jmp 0x406803
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406940
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], 1
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x28]
jmp 0x406054
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
jmp 0x406526