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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [esp + 0x90]
test edi, edi
je case.default.0x405c19
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0x1c]
test edi, edi
je case.default.0x405c19
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x30], eax
je case.default.0x405c19
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
test ebx, ebx
je 0x406f20
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
cmp eax, 0xb
je 0x405d60
mov edx, dword [esp + 0x90]
mov esi, dword [edi + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], 0
mov edx, dword [edx + 0x10]
mov ecx, esi
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
lea edx, [edi + 0x530]
mov dword [esp + 0x50], edx
lea edx, [edi + 0x2f0]
mov edi, ebp
mov ebp, ebx
mov ebx, esi
mov esi, ecx
mov dword [esp + 0x4c], edx
cmp eax, 0x1e
ja case.default.0x405c19
jmp dword [eax*4 + 0x40d6b0]
cmp ebx, 0x1f
ja 0x405c4f
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x405c39
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x405c31
mov edx, esi
mov eax, esi
mov ebx, dword [esp + 0x90]
shl eax, 0x18
shr edx, 0x18
add edx, eax
mov eax, esi
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, esi
mov esi, dword [esp + 0x24]
and eax, 0xff00
shl eax, 8
add eax, edx
mov dword [esi + 0x18], eax
mov dword [ebx + 0x30], eax
xor ebx, ebx
mov dword [esi], 0xa
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x407716
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408690
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edx], 0xb
mov eax, dword [esp + 0x94]
sub eax, 5
cmp eax, 1
jbe 0x406000
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
test edx, edx
jne 0x405d70
cmp ebx, 2
ja 0x405d12
test edi, edi
je 0x407479
add ebp, 1
movzx eax, byte [ebp - 1]
mov ecx, ebx
sub edi, 1
add ebx, 8
shl eax, cl
add esi, eax
mov ecx, dword [esp + 0x24]
mov eax, esi
mov edx, esi
and eax, 1
shr edx, 1
mov dword [ecx + 4], eax
mov eax, edx
and eax, 3
cmp eax, 2
je 0x4071a7
cmp eax, 3
je 0x4073bb
cmp eax, 1
je 0x40737d
mov dword [ecx], 0xd
mov eax, 0xd
mov esi, edx
sub ebx, 3
shr esi, 2
jmp 0x405c10
mov dword [edi], 0xc
mov eax, 0xc
jmp 0x405bca
mov eax, dword [esp + 0x24]
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr esi, cl
mov dword [eax], 0x1a
mov eax, 0x1a
jmp switch.0x00405c19
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x405df4
cmp ebx, edx
jae 0x405dcf
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x405db8
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, edx
jb 0x405db0
mov ebx, ecx
mov ecx, edx
mov eax, 1
sub ebx, edx
shl eax, cl
mov ecx, dword [esp + 0x24]
sub eax, 1
and eax, esi
add dword [ecx + 0x44], eax
mov ecx, edx
shr esi, cl
mov ecx, dword [esp + 0x24]
add dword [ecx + 0x1bc4], edx
mov eax, dword [esp + 0x24]
mov dword [eax], 0x18
mov edx, dword [esp + 0x28]
test edx, edx
je 0x406000
mov eax, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
cmp eax, ecx
jae 0x406f80
sub ecx, eax
cmp ecx, dword [edx + 0x2c]
ja 0x407114
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x30]
cmp ecx, eax
jbe 0x4072b1
sub ecx, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x3c], eax
sub eax, ecx
add eax, dword [edx + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x40]
cmp ecx, edx
cmova ecx, edx
jmp 0x406f93
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x24]
mov dword [eax], 0x13
je 0x406000
mov eax, dword [esp + 0x24]
mov dword [eax], 0x14
cmp edi, 5
jbe 0x405e92
mov eax, dword [esp + 0x28]
cmp eax, 0x101
ja 0x407004
mov eax, dword [esp + 0x24]
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, esi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x3c], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x54], ax
movzx eax, dl
cmp ebx, eax
mov dword [esp + 0x44], eax
jae 0x405f39
test edi, edi
je 0x406000
mov ecx, ebx
mov ebx, edi
jmp 0x405ef8
test ebx, ebx
je 0x4071d3
add ebp, 1
movzx eax, byte [ebp - 1]
mov edx, 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, [edx + eax*4]
movzx edx, byte [eax]
movzx edi, word [eax + 2]
mov byte [esp + 0x3c], dl
movzx edx, byte [eax + 1]
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x44], eax
ja 0x405ef0
mov word [esp + 0x54], di
mov edi, ebx
mov ebx, ecx
cmp byte [esp + 0x3c], 0
je 0x407220
test byte [esp + 0x3c], 0xf0
jne 0x407220
movzx ecx, word [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x58], ecx
movzx ecx, byte [esp + 0x3c]
add cl, byte [esp + 0x48]
shl eax, cl
mov ecx, edx
sub eax, 1
mov dword [esp + 0x5c], eax
and eax, esi
shr eax, cl
add eax, dword [esp + 0x58]
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 + 0x3c], dl
mov edx, dword [esp + 0x48]
mov word [esp + 0x54], cx
add edx, eax
cmp edx, ebx
ja 0x405ff8
jmp 0x407590
add ebp, 1
movzx eax, byte [ebp - 1]
mov ecx, ebx
add ebx, 8
sub edi, 1
shl eax, cl
movzx ecx, byte [esp + 0x48]
add esi, eax
mov eax, dword [esp + 0x5c]
and eax, esi
shr eax, cl
add eax, dword [esp + 0x58]
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 + 0x3c], dl
mov edx, dword [esp + 0x48]
add edx, eax
cmp edx, ebx
jbe 0x40758b
test edi, edi
jne 0x405fb0
lea esi, [esi]
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
jmp 0x4061e0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x407084
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1bc8], eax
mov dword [edx], 0x16
mov eax, dword [esp + 0x24]
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, esi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x3c], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x54], ax
movzx eax, dl
cmp eax, ebx
mov dword [esp + 0x44], eax
jbe 0x4060d0
test edi, edi
je 0x406000
mov ecx, ebx
mov ebx, edi
mov edi, ebp
jmp 0x40608d
test ebx, ebx
je 0x4071c0
add edi, 1
movzx eax, byte [edi - 1]
mov edx, 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, [edx + eax*4]
movzx edx, byte [eax]
movzx ebp, word [eax + 2]
mov byte [esp + 0x3c], dl
movzx edx, byte [eax + 1]
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x44], eax
ja 0x406085
mov word [esp + 0x54], bp
mov ebp, edi
mov edi, ebx
mov ebx, ecx
test byte [esp + 0x3c], 0xf0
jne 0x407140
movzx ecx, word [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, 1
mov dword [esp + 0x48], ecx
movzx ecx, byte [esp + 0x3c]
add cl, byte [esp + 0x5c]
shl eax, cl
mov ecx, edx
sub eax, 1
mov dword [esp + 0x58], eax
and eax, esi
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 + 0x3c], dl
mov edx, dword [esp + 0x5c]
mov word [esp + 0x54], cx
add edx, eax
cmp edx, ebx
jbe 0x406193
test edi, edi
je 0x406000
mov eax, esi
mov edx, dword [esp + 0x5c]
mov esi, edi
mov edi, eax
jmp 0x40614a
test esi, esi
je 0x407346
add ebp, 1
movzx eax, byte [ebp - 1]
mov ecx, ebx
add ebx, 8
sub esi, 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 + 0x3c], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x54], cx
lea ecx, [edx + eax]
cmp ecx, ebx
ja 0x406142
mov edx, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x5c]
sub ebx, dword [esp + 0x44]
mov ecx, edx
shr esi, cl
mov ecx, dword [esp + 0x24]
add edx, dword [ecx + 0x1bc4]
jmp 0x40714a
mov dword [edi], 0x1e
mov eax, 0xfffffffc
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x38], 0xfffffffd
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [edx], ebx
mov ebx, dword [esp + 0x3c]
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 0x406230
cmp dword [esp + 0x2c], eax
je 0x406250
mov eax, dword [edi]
cmp eax, 0x1c
ja 0x406250
cmp dword [esp + 0x94], 4
jne 0x406230
cmp eax, 0x19
ja 0x406250
lea esi, [esi]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x90]
call fcn.00405710
test eax, eax
jne 0x4061ae
mov eax, dword [esp + 0x90]
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
sub ebx, dword [eax + 4]
sub esi, dword [eax + 0x10]
add dword [eax + 8], ebx
add dword [eax + 0x14], esi
add dword [edi + 0x1c], esi
test ecx, ecx
je 0x4062ad
test esi, esi
je 0x4062ad
mov edx, dword [edi + 0x10]
mov dword [esp + 8], esi
test edx, edx
je 0x406f40
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [esp + 0x90]
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
cmp dword [edi + 4], 1
mov ecx, dword [edi]
sbb eax, eax
not eax
and eax, 0x40
add eax, dword [edi + 0x3c]
cmp ecx, 0xb
je 0x406eb3
cmp ecx, 0x13
je 0x4062d2
xor edx, edx
cmp ecx, 0xe
jne 0x4062d7
mov edx, 0x100
add eax, edx
mov edx, dword [esp + 0x90]
or ebx, esi
mov dword [edx + 0x2c], eax
je 0x4062f9
cmp dword [esp + 0x94], 4
mov eax, dword [esp + 0x38]
jne 0x4061b9
mov ebx, dword [esp + 0x38]
mov eax, 0xfffffffb
test ebx, ebx
cmovne eax, ebx
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0x1f
ja 0x40633f
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406329
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406321
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40634d
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
test byte [eax + 0x11], 2
jne 0x407431
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
mov dword [eax], 3
jmp 0x4067b5
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x24]
mov dword [edx], 0xf
test eax, eax
je 0x406f64
mov ecx, dword [esp + 0x28]
cmp edi, eax
cmovbe eax, edi
cmp ecx, eax
cmovbe eax, ecx
test eax, eax
je 0x406000
mov dword [esp + 8], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x28], edx
add dword [esp + 0x30], edx
sub dword [eax + 0x40], edx
sub edi, edx
add ebp, edx
mov eax, dword [eax]
jmp 0x405c10
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x24]
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 0x4076d5
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x4c]
mov eax, 1
shl eax, cl
mov ebp, edx
mov dword [esp + 0x3c], edx
lea eax, [eax - 1]
mov dword [esp + 0x40], eax
and eax, esi
lea eax, [ebp + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, word [eax + 2]
movzx eax, cl
cmp ebx, eax
jae 0x40648f
test edi, edi
je 0x4075a0
mov ebp, dword [esp + 0x44]
mov ecx, ebx
jmp 0x406458
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
mov ebx, dword [esp + 0x3c]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
mov eax, dword [esp + 0x40]
and eax, esi
lea eax, [ebx + eax*4]
movzx ebx, byte [eax + 1]
movzx edx, word [eax + 2]
movzx eax, bl
cmp eax, ecx
ja 0x406450
mov dword [esp + 0x44], ebp
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
cmp dx, 0xf
jbe 0x407185
cmp dx, 0x10
je 0x40751b
cmp dx, 0x11
je 0x4075ca
lea edx, [eax + 7]
cmp edx, ebx
jbe 0x4064f5
test edi, edi
je 0x4075a0
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x4064d8
test edi, edi
je 0x406ea0
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x4064d0
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ebx, ecx
mov ecx, eax
sub ebx, eax
shr esi, cl
sub ebx, 7
mov ecx, esi
mov edx, esi
and ecx, 0x7f
lea esi, [ecx + 0xb]
mov ecx, esi
mov esi, edx
xor edx, edx
shr esi, 7
mov eax, dword [esp + 0x48]
mov ebp, ecx
add eax, ecx
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
ja 0x407914
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
add ecx, 0x38
lea eax, [eax + ecx*2]
add ecx, ebp
mov ebp, dword [esp + 0x24]
lea ecx, [ebp + ecx*2]
mov ebp, dword [esp + 0x44]
mov word [eax], dx
add eax, 2
cmp ecx, eax
jne 0x406543
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], ebp
mov dword [edx + 0x68], eax
mov dword [esp + 0x48], eax
jmp 0x4063f6
cmp ebx, 0xd
ja 0x4065a0
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406588
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xd
jbe 0x406580
mov ebx, ecx
mov eax, esi
mov ecx, dword [esp + 0x24]
mov edx, esi
shr eax, 5
and edx, 0x1f
sub ebx, 0xe
and eax, 0x1f
add edx, 0x101
add eax, 1
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], eax
mov ecx, esi
mov dword [esp + 0x3c], eax
shr ecx, 0xa
shr esi, 0xe
and ecx, 0xf
add ecx, 4
cmp dword [esp + 0x3c], 0x1e
mov eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x5c], eax
ja 0x40728f
cmp edx, 0x11e
ja 0x40728f
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x3c], ebp
mov ecx, ebx
mov dword [eax + 0x68], 0
mov dword [eax], 0x11
jmp 0x4066a8
cmp ebx, 0xf
ja 0x406651
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406639
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406631
mov ebx, ecx
mov edx, dword [esp + 0x24]
mov eax, esi
cmp al, 8
mov dword [edx + 0x10], esi
je 0x4074ae
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
jmp 0x406381
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
cmp edx, eax
mov dword [esp + 0x40], eax
jae 0x4066fa
mov dword [esp + 0x3c], ebp
mov ecx, ebx
cmp ecx, 2
ja 0x4066cc
test edi, edi
je 0x4075b5
add dword [esp + 0x3c], 1
sub edi, 1
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax - 1]
shl eax, cl
add ecx, 8
add esi, eax
add edx, 1
mov ebx, esi
sub ecx, 3
and ebx, 7
movzx eax, word [edx + edx + 0x40dfbe]
shr esi, 3
cmp dword [esp + 0x40], edx
mov ebp, dword [esp + 0x24]
mov dword [ebp + 0x68], edx
mov word [ebp + eax*2 + 0x70], bx
ja 0x4066a8
mov ebp, dword [esp + 0x3c]
mov ebx, ecx
cmp edx, 0x12
lea eax, [edx + edx + 0x40dfc0]
mov ecx, dword [esp + 0x24]
ja 0x40672f
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
cmp eax, 0x40dfe6
mov word [ecx + edx*2 + 0x70], 0
jne 0x406710
mov eax, dword [esp + 0x24]
mov dword [eax + 0x68], 0x13
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x54], 7
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.00408090
test eax, eax
mov dword [esp + 0x38], eax
je 0x4076b7
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
cmp ebx, 0xf
ja 0x4067df
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x4067c9
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x4067c1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4067fa
mov ebx, esi
movzx edx, bl
mov dword [eax + 8], edx
mov edx, esi
shr edx, 8
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 2
jne 0x40730d
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
test dh, 4
mov dword [eax], 4
je 0x406e80
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406838
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406830
jmp 0x406865
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 4
je 0x406e80
cmp ebx, 0xf
jbe 0x406821
mov eax, dword [esp + 0x24]
mov dword [eax + 0x40], esi
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406876
mov dword [eax + 0x14], esi
test dh, 2
jne 0x4074dc
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [eax], 5
jmp 0x406897
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 4
mov eax, edx
je 0x406948
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x40]
cmp edi, ecx
mov edx, ecx
mov dword [esp + 0x40], ecx
cmovbe edx, edi
mov ecx, edx
mov edx, dword [esp + 0x40]
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x406939
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x406918
mov ecx, dword [edx + 0x10]
test ecx, ecx
mov dword [esp + 0x44], ecx
je 0x406918
mov eax, dword [edx + 0x14]
sub eax, dword [esp + 0x40]
mov edx, dword [edx + 0x18]
mov dword [esp + 4], ebp
mov ecx, eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x40], eax
mov eax, edx
sub eax, ecx
cmp dword [esp + 0x40], edx
mov edx, dword [esp + 0x44]
cmovbe eax, dword [esp + 0x3c]
add edx, ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x10]
test ah, 2
jne 0x4073dd
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 0x40]
sub edi, eax
add ebp, eax
mov dword [esp + 0x3c], edx
sub edx, eax
mov dword [ecx + 0x40], edx
test edx, edx
jne 0x406000
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
test dh, 8
mov dword [eax + 0x40], 0
mov dword [eax], 6
jne 0x406aa0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406b1e
mov dword [eax + 0x1c], 0
jmp 0x406b1e
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 0x10
je 0x406b38
test edi, edi
je 0x406000
mov dword [esp + 0x40], esi
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x24]
jmp 0x4069b6
cmp dword [esp + 0x3c], ecx
jbe 0x4069e1
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x4069dd
mov edi, dword [eax + 0x24]
test edi, edi
je 0x4069dd
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x4069dd
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x4069b0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
test byte [eax + 0x11], 2
jne 0x4071f0
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406000
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
mov dword [eax], 8
test dh, 2
je 0x406ec4
cmp ebx, 0xf
ja 0x406a52
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406a3a
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406a32
mov ebx, ecx
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 0x18]
cmp eax, esi
je 0x406ec0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
jmp 0x406a18
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 8
je 0x406962
test edi, edi
je 0x406000
mov dword [esp + 0x40], esi
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x24]
jmp 0x406ac6
cmp dword [esp + 0x3c], ecx
jbe 0x406af1
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x406aed
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x406aed
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x406aed
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406ac0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
test byte [eax + 0x11], 2
jne 0x407255
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x406000
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
test dh, 0x10
mov dword [eax + 0x40], 0
mov dword [eax], 7
jne 0x406990
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406a0e
mov dword [eax + 0x24], 0
jmp 0x406a0e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x407696
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x407696
cmp ebx, 0x1f
ja 0x406ba2
test edi, edi
je 0x407479
mov ecx, ebx
jmp 0x406b8a
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406b82
mov ebx, ecx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x1c], esi
je 0x40784c
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov edx, dword [esp + 0x28]
test edx, edx
je 0x406000
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x40]
mov byte [ecx], al
mov eax, edx
sub eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [eax], 0x14
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov eax, 0x14
jmp switch.0x00405c19
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x4070f0
cmp ebx, 0x1f
ja 0x406c50
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406c38
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406c30
mov ebx, ecx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
add dword [edx + 0x14], eax
mov edx, dword [esp + 0x24]
add dword [edx + 0x1c], eax
test eax, eax
je 0x406ca2
mov ecx, dword [edx + 0x10]
mov dword [esp + 8], eax
test ecx, ecx
je 0x407678
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [esp + 0x24]
mov dword [edx + 0x18], eax
mov edx, dword [esp + 0x90]
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x24]
mov eax, esi
mov ecx, dword [edx + 0x10]
test ecx, ecx
jne 0x406cd1
mov edx, esi
shl eax, 0x18
shr edx, 0x18
add edx, eax
mov eax, esi
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, esi
and eax, 0xff00
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x24]
cmp eax, dword [edx + 0x18]
je 0x4070e0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
test edx, edx
je 0x407100
cmp ebx, 0xf
ja 0x406d50
test edi, edi
je 0x407479
mov ecx, ebx
jmp 0x406d38
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406d30
mov ebx, ecx
test dl, 2
je 0x406d61
cmp esi, 0x8b1f
je 0x4077f0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406d7a
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x40735b
mov eax, esi
mov ecx, esi
mov edx, 0x8421085
shl eax, 8
shr ecx, 8
movzx eax, ax
add ecx, eax
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
cmp ecx, edx
jne 0x40735b
mov eax, esi
and eax, 0xf
cmp eax, 8
je 0x407780
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr esi, cl
cmp ebx, 0x1f
ja 0x406e20
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x406e08
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406e00
mov ebx, ecx
mov edx, esi
movzx eax, si
shr edx, 0x10
xor edx, 0xffff
cmp eax, edx
je 0x40748a
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 1
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
jmp 0x4061e0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406883
mov dword [eax + 0x10], 0
jmp 0x406883
mov ebx, ebp
mov dword [esp + 0x3c], esi
mov ebp, edi
mov esi, ecx
mov edi, dword [esp + 0x24]
jmp 0x4061e0
sub eax, 0xffffff80
xor edx, edx
jmp 0x4062d7
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406edf
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.00408ca0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, 0xb
mov dword [edx], 0xb
jmp switch.0x00405c19
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 4]
test esi, esi
jne case.default.0x405c19
mov dword [esp + 0x34], 0
jmp 0x405bbf
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
sub eax, esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.00408690
jmp 0x4062a0
mov eax, dword [esp + 0x24]
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00405c19
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x40]
mov edx, ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
cmp eax, ecx
cmovbe ecx, eax
sub eax, ecx
sub edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
add ecx, edx
lea esi, [esi]
add eax, 1
movzx ebx, byte [eax - 1]
add edx, 1
cmp edx, ecx
mov byte [edx - 1], bl
jne 0x406fc0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x3c]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x406ff0
mov eax, dword [eax]
jmp 0x405c10
mov eax, dword [esp + 0x24]
mov dword [eax], 0x14
mov eax, 0x14
jmp switch.0x00405c19
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx], ebp
mov dword [edx + 4], edi
mov dword [edx + 0xc], ecx
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], ebx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00408fa0
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov eax, esi
mov ebx, dword [eax + 0x3c]
mov eax, dword [eax]
mov esi, dword [esi + 0x38]
cmp eax, 0xb
jne 0x405c10
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1bc4], 0xffffffff
jmp switch.0x00405c19
cmp ebx, edx
jae 0x4070b3
test edi, edi
je 0x406000
mov ecx, ebx
jmp 0x40709c
test edi, edi
je 0x406ea0
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, edx
jb 0x407094
mov ebx, ecx
mov ecx, edx
mov eax, 1
sub ebx, edx
shl eax, cl
mov ecx, dword [esp + 0x24]
sub eax, 1
and eax, esi
add eax, dword [ecx + 0x40]
mov dword [ecx + 0x40], eax
mov ecx, edx
shr esi, cl
mov ecx, dword [esp + 0x24]
add dword [ecx + 0x1bc4], edx
jmp 0x406029
mov esi, dword [esp + 0x28]
mov eax, dword [edx + 8]
xor ebx, ebx
mov dword [esp + 0x2c], esi
xor esi, esi
nop
mov edx, dword [esp + 0x24]
mov dword [edx], 0x1b
jmp 0x406b5a
mov eax, dword [esp + 0x24]
mov dword [eax], 0xc
mov eax, 0xc
jmp switch.0x00405c19
mov eax, dword [edx + 0x1bc0]
test eax, eax
je 0x405e2a
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d665
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x1bc4]
mov ecx, eax
sub ebx, eax
add eax, edx
shr esi, cl
test byte [esp + 0x3c], 0x40
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1bc4], eax
je 0x4072c3
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d64f
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
shr esi, cl
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
sub ebx, 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 0x4063f6
mov eax, dword [esp + 0x24]
mov dword [eax], 0x10
mov eax, 0x10
jmp 0x405d4d
mov ebp, ebx
mov dword [esp + 0x3c], esi
mov ebx, edi
mov esi, ecx
mov edi, dword [esp + 0x24]
jmp 0x4061e0
mov eax, ebx
mov dword [esp + 0x3c], esi
mov ebx, ebp
mov esi, ecx
mov edi, dword [esp + 0x24]
mov ebp, eax
jmp 0x4061e0
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov eax, dword [eax + 0x18]
mov byte [esp + 0x40], dl
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x4069fb
mov edx, eax
mov ecx, eax
sub ebx, eax
movzx eax, word [esp + 0x54]
shr esi, cl
cmp byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x1bc4], edx
mov dword [ecx + 0x40], eax
jne 0x4072e4
mov dword [ecx], 0x19
mov eax, 0x19
jmp switch.0x00405c19
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
mov eax, dword [eax + 0x18]
mov byte [esp + 0x40], dl
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x406b0b
mov eax, 0xfffffffe
jmp 0x4061b9
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov edx, dword [esp + 0x24]
sub eax, ecx
add eax, dword [edx + 0x34]
mov dword [esp + 0x40], eax
jmp 0x405e4b
movzx eax, word [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
and edx, 0xf
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
mov dword [ecx], 0x17
jmp 0x405d97
test byte [esp + 0x3c], 0x20
je 0x407404
mov eax, dword [esp + 0x24]
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00405c19
mov eax, esi
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], 2
mov byte [esp + 0x6c], al
mov eax, esi
shr eax, 8
mov byte [esp + 0x6d], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
jmp 0x40680a
mov eax, ebx
mov dword [esp + 0x3c], edi
mov ebx, ebp
mov edi, dword [esp + 0x24]
mov ebp, esi
mov esi, eax
jmp 0x4061e0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x24]
mov dword [eax + 0x4c], 0x40d7c0
mov dword [eax + 0x54], 9
mov dword [eax + 0x50], 0x40d740
mov dword [eax + 0x58], 5
mov dword [eax], 0x13
je 0x407951
mov eax, 0x13
jmp 0x405d4d
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_block_type
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp 0x405d4d
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov edx, dword [esp + 0x24]
mov dword [edx + 0x18], eax
jmp 0x406921
test byte [esp + 0x3c], 0x40
je 0x40762b
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d633
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, esi
mov dword [esp + 8], 4
mov byte [esp + 0x6c], al
mov eax, esi
shr eax, 8
mov byte [esp + 0x6d], al
mov eax, esi
shr eax, 0x10
mov byte [esp + 0x6e], al
mov eax, esi
mov esi, dword [esp + 0x24]
shr eax, 0x18
mov byte [esp + 0x6f], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov dword [esi + 0x18], eax
jmp 0x40635b
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, eax
jmp 0x4061e0
cmp dword [esp + 0x94], 6
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x40], eax
mov dword [ebx], 0xe
je 0x40793a
xor ebx, ebx
xor esi, esi
jmp 0x406377
test esi, 0xe000
je 0x407644
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, esi
mov dword [esp + 8], 2
xor ebx, ebx
mov byte [esp + 0x6c], al
mov eax, esi
mov esi, dword [esp + 0x24]
shr eax, 8
mov byte [esp + 0x6d], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov edx, esi
mov dword [esi + 0x18], eax
xor esi, esi
mov edx, dword [edx + 0x10]
jmp 0x406883
lea edx, [eax + 2]
cmp edx, ebx
jbe 0x407557
test edi, edi
je 0x4075a0
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x40753a
test edi, edi
je 0x406ea0
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp ecx, eax
jb 0x407532
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ebx, ecx
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x48]
shr esi, cl
test eax, eax
je 0x407914
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov ecx, esi
and ecx, 3
shr esi, 2
sub ebx, 2
movzx edx, word [eax + edx*2 + 0x6e]
lea eax, [ecx + 3]
mov ecx, eax
jmp 0x406511
mov word [esp + 0x54], cx
movzx ecx, byte [esp + 0x48]
sub ebx, dword [esp + 0x44]
shr esi, cl
jmp 0x407222
mov dword [esp + 0x3c], esi
mov ebp, edi
mov esi, ebx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
jmp 0x4061e0
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x24]
mov esi, ecx
jmp 0x4061e0
lea edx, [eax + 3]
cmp edx, ebx
jbe 0x407606
test edi, edi
je 0x4075a0
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x4075e9
test edi, edi
je 0x406ea0
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x4075e1
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ebx, ecx
mov ecx, eax
shr esi, cl
mov ecx, esi
mov edx, esi
and ecx, 7
lea esi, [ecx + 3]
mov ecx, esi
mov esi, edx
mov edx, 0xfffffffd
sub edx, eax
shr esi, 3
add ebx, edx
xor edx, edx
jmp 0x406511
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
and edx, 0xf
mov dword [eax], 0x15
mov dword [eax + 0x48], edx
jmp 0x40601a
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x407659
mov edx, esi
shr edx, 8
and edx, 1
mov dword [eax], edx
test esi, 0x200
jne 0x40774a
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
mov dword [eax], 2
jmp 0x406315
mov edx, dword [esp + 0x30]
sub edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00408690
jmp 0x406c91
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
mov dword [edi], 0x1c
mov dword [esp + 0x38], 1
jmp 0x4061e0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 0
mov dword [eax + 0x68], 0
mov dword [eax], 0x12
jmp 0x4063e0
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x44]
mov eax, dword [edx]
cmp eax, 0x1d
je switch.0x00405c19
cmp word [edx + 0x270], 0
mov eax, edx
jne 0x407863
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov ecx, esi
mov edx, dword [esp + 0x30]
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 0x10], edx
mov dword [edi + 0x38], ecx
mov eax, 2
mov dword [edi + 0x3c], esi
jmp 0x4061b9
mov eax, esi
mov dword [esp + 8], 2
mov byte [esp + 0x6c], al
mov eax, esi
mov esi, dword [esp + 0x24]
shr eax, 8
mov byte [esp + 0x6d], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.00408ca0
mov dword [esi + 0x18], eax
jmp 0x407665
mov edx, dword [esp + 0x24]
shr esi, 4
mov ecx, esi
and ecx, 0xf
mov eax, dword [edx + 0x24]
add ecx, 8
test eax, eax
jne 0x4078e7
mov dword [edx + 0x24], ecx
mov ebx, dword [esp + 0x24]
mov eax, 1
and esi, 0x200
shl eax, cl
mov dword [ebx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408690
mov edx, dword [esp + 0x90]
cmp esi, 1
mov dword [ebx + 0x18], eax
mov dword [edx + 0x30], eax
sbb eax, eax
xor esi, esi
and eax, 2
add eax, 9
mov dword [ebx], eax
xor ebx, ebx
jmp 0x405c10
mov dword [esp + 8], 0
mov dword [esp + 4], 0
xor esi, esi
mov dword [esp], 0
call fcn.00408ca0
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
mov byte [esp + 0x6c], 0x1f
mov byte [esp + 0x6d], 0x8b
mov dword [ebx + 0x18], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00408ca0
mov dword [ebx], 1
mov dword [ebx + 0x18], eax
mov eax, 1
xor ebx, ebx
jmp switch.0x00405c19
mov ebx, ebp
xor esi, esi
mov ebp, edi
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x24]
jmp 0x4076a4
mov eax, dword [esp + 0x24]
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 + 0x3c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
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.00408090
test eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
je 0x40796c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
cmp ecx, eax
jbe 0x40779d
mov eax, dword [esp + 0x90]
sub ebx, 4
mov dword [eax + 0x18], str.invalid_window_size
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19
mov ebx, ebp
xor esi, esi
mov ebp, edi
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x24]
jmp 0x4061e0
mov eax, esi
mov esi, ebx
mov ebx, ebp
shr eax, 3
mov ebp, edi
sub esi, 3
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x4061e0
mov edx, dword [esp + 0x24]
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 edx, dword [esp + 0x3c]
mov dword [esp], 2
lea eax, [edx + eax*2]
mov dword [esp + 4], eax
call fcn.00408090
test eax, eax
mov dword [esp + 0x38], eax
je 0x405e5c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405c19