Function at 0x405c30
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.0x405cd9
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0x1c]
test edi, edi
je case.default.0x405cd9
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x30], eax
je case.default.0x405cd9
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
test ebx, ebx
je 0x406fe0
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
cmp eax, 0xb
je 0x405e20
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.0x405cd9
jmp dword [eax*4 + 0x40d6b0]
cmp ebx, 0x1f
ja 0x405d0f
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x405cf9
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x405cf1
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 0x4077d6
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408750
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 0x4060c0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
test edx, edx
jne 0x405e30
cmp ebx, 2
ja 0x405dd2
test edi, edi
je 0x407539
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 0x407267
cmp eax, 3
je 0x40747b
cmp eax, 1
je 0x40743d
mov dword [ecx], 0xd
mov eax, 0xd
mov esi, edx
sub ebx, 3
shr esi, 2
jmp 0x405cd0
mov dword [edi], 0xc
mov eax, 0xc
jmp 0x405c8a
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.0x00405cd9
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x405eb4
cmp ebx, edx
jae 0x405e8f
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x405e78
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, edx
jb 0x405e70
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 0x4060c0
mov eax, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
cmp eax, ecx
jae 0x407040
sub ecx, eax
cmp ecx, dword [edx + 0x2c]
ja 0x4071d4
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x30]
cmp ecx, eax
jbe 0x407371
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 0x407053
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x24]
mov dword [eax], 0x13
je 0x4060c0
mov eax, dword [esp + 0x24]
mov dword [eax], 0x14
cmp edi, 5
jbe 0x405f52
mov eax, dword [esp + 0x28]
cmp eax, 0x101
ja 0x4070c4
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 0x405ff9
test edi, edi
je 0x4060c0
mov ecx, ebx
mov ebx, edi
jmp 0x405fb8
test ebx, ebx
je 0x407293
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 0x405fb0
mov word [esp + 0x54], di
mov edi, ebx
mov ebx, ecx
cmp byte [esp + 0x3c], 0
je 0x4072e0
test byte [esp + 0x3c], 0xf0
jne 0x4072e0
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 0x4060b8
jmp 0x407650
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 0x40764b
test edi, edi
jne 0x406070
lea esi, [esi]
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
jmp 0x4062a0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x407144
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 0x406190
test edi, edi
je 0x4060c0
mov ecx, ebx
mov ebx, edi
mov edi, ebp
jmp 0x40614d
test ebx, ebx
je 0x407280
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 0x406145
mov word [esp + 0x54], bp
mov ebp, edi
mov edi, ebx
mov ebx, ecx
test byte [esp + 0x3c], 0xf0
jne 0x407200
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 0x406253
test edi, edi
je 0x4060c0
mov eax, esi
mov edx, dword [esp + 0x5c]
mov esi, edi
mov edi, eax
jmp 0x40620a
test esi, esi
je 0x407406
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 0x406202
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 0x40720a
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 0x4062f0
cmp dword [esp + 0x2c], eax
je 0x406310
mov eax, dword [edi]
cmp eax, 0x1c
ja 0x406310
cmp dword [esp + 0x94], 4
jne 0x4062f0
cmp eax, 0x19
ja 0x406310
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.004057d0
test eax, eax
jne 0x40626e
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 0x40636d
test esi, esi
je 0x40636d
mov edx, dword [edi + 0x10]
mov dword [esp + 8], esi
test edx, edx
je 0x407000
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.00408d60
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 0x406f73
cmp ecx, 0x13
je 0x406392
xor edx, edx
cmp ecx, 0xe
jne 0x406397
mov edx, 0x100
add eax, edx
mov edx, dword [esp + 0x90]
or ebx, esi
mov dword [edx + 0x2c], eax
je 0x4063b9
cmp dword [esp + 0x94], 4
mov eax, dword [esp + 0x38]
jne 0x406279
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 0x4063ff
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x4063e9
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x4063e1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40640d
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
test byte [eax + 0x11], 2
jne 0x4074f1
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
mov dword [eax], 3
jmp 0x406875
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x24]
mov dword [edx], 0xf
test eax, eax
je 0x407024
mov ecx, dword [esp + 0x28]
cmp edi, eax
cmovbe eax, edi
cmp ecx, eax
cmovbe eax, ecx
test eax, eax
je 0x4060c0
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 0x405cd0
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 0x407795
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 0x40654f
test edi, edi
je 0x407660
mov ebp, dword [esp + 0x44]
mov ecx, ebx
jmp 0x406518
test edi, edi
je 0x406f60
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 0x406510
mov dword [esp + 0x44], ebp
mov ebp, ebx
mov ebx, ecx
mov ecx, ebp
cmp dx, 0xf
jbe 0x407245
cmp dx, 0x10
je 0x4075db
cmp dx, 0x11
je 0x40768a
lea edx, [eax + 7]
cmp edx, ebx
jbe 0x4065b5
test edi, edi
je 0x407660
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x406598
test edi, edi
je 0x406f60
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x406590
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 0x4079d4
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 0x406603
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 0x4064b6
cmp ebx, 0xd
ja 0x406660
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x406648
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xd
jbe 0x406640
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 0x40734f
cmp edx, 0x11e
ja 0x40734f
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 0x406768
cmp ebx, 0xf
ja 0x406711
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x4066f9
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x4066f1
mov ebx, ecx
mov edx, dword [esp + 0x24]
mov eax, esi
cmp al, 8
mov dword [edx + 0x10], esi
je 0x40756e
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x40]
jmp 0x406441
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
cmp edx, eax
mov dword [esp + 0x40], eax
jae 0x4067ba
mov dword [esp + 0x3c], ebp
mov ecx, ebx
cmp ecx, 2
ja 0x40678c
test edi, edi
je 0x407675
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 0x406768
mov ebp, dword [esp + 0x3c]
mov ebx, ecx
cmp edx, 0x12
lea eax, [edx + edx + 0x40dfc0]
mov ecx, dword [esp + 0x24]
ja 0x4067ef
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
cmp eax, 0x40dfe6
mov word [ecx + edx*2 + 0x70], 0
jne 0x4067d0
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.00408150
test eax, eax
mov dword [esp + 0x38], eax
je 0x407777
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.0x00405cd9
cmp ebx, 0xf
ja 0x40689f
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x406889
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406881
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4068ba
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 0x4073cd
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
test dh, 4
mov dword [eax], 4
je 0x406f40
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x4068f8
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x4068f0
jmp 0x406925
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 4
je 0x406f40
cmp ebx, 0xf
jbe 0x4068e1
mov eax, dword [esp + 0x24]
mov dword [eax + 0x40], esi
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406936
mov dword [eax + 0x14], esi
test dh, 2
jne 0x40759c
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [eax], 5
jmp 0x406957
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 4
mov eax, edx
je 0x406a08
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 0x4069f9
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x4069d8
mov ecx, dword [edx + 0x10]
test ecx, ecx
mov dword [esp + 0x44], ecx
je 0x4069d8
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 0x40749d
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 0x4060c0
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 0x406b60
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406bde
mov dword [eax + 0x1c], 0
jmp 0x406bde
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 0x10
je 0x406bf8
test edi, edi
je 0x4060c0
mov dword [esp + 0x40], esi
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x24]
jmp 0x406a76
cmp dword [esp + 0x3c], ecx
jbe 0x406aa1
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x406a9d
mov edi, dword [eax + 0x24]
test edi, edi
je 0x406a9d
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x406a9d
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406a70
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 0x4072b0
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x4060c0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
mov dword [eax], 8
test dh, 2
je 0x406f84
cmp ebx, 0xf
ja 0x406b12
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x406afa
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406af2
mov ebx, ecx
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 0x18]
cmp eax, esi
je 0x406f80
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
jmp 0x406ad8
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test dh, 8
je 0x406a22
test edi, edi
je 0x4060c0
mov dword [esp + 0x40], esi
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x24]
jmp 0x406b86
cmp dword [esp + 0x3c], ecx
jbe 0x406bb1
mov eax, dword [esi + 0x20]
add ecx, 1
movzx edx, byte [ebp + ecx - 1]
test eax, eax
je 0x406bad
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x406bad
mov ebx, dword [esi + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x406bad
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov byte [edi + ebx], dl
test dl, dl
jne 0x406b80
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 0x407315
sub edi, ecx
add ebp, ecx
test dl, dl
jne 0x4060c0
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 0x406a50
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406ace
mov dword [eax + 0x24], 0
jmp 0x406ace
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x407756
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x407756
cmp ebx, 0x1f
ja 0x406c62
test edi, edi
je 0x407539
mov ecx, ebx
jmp 0x406c4a
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406c42
mov ebx, ecx
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x1c], esi
je 0x40790c
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4060c0
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.0x00405cd9
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x4071b0
cmp ebx, 0x1f
ja 0x406d10
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x406cf8
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406cf0
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 0x406d62
mov ecx, dword [edx + 0x10]
mov dword [esp + 8], eax
test ecx, ecx
je 0x407738
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call fcn.00408d60
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 0x406d91
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 0x4071a0
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.0x00405cd9
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
test edx, edx
je 0x4071c0
cmp ebx, 0xf
ja 0x406e10
test edi, edi
je 0x407539
mov ecx, ebx
jmp 0x406df8
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x406df0
mov ebx, ecx
test dl, 2
je 0x406e21
cmp esi, 0x8b1f
je 0x4078b0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406e3a
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x40741b
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 0x40741b
mov eax, esi
and eax, 0xf
cmp eax, 8
je 0x407840
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.0x00405cd9
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr esi, cl
cmp ebx, 0x1f
ja 0x406ee0
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x406ec8
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406ec0
mov ebx, ecx
mov edx, esi
movzx eax, si
shr edx, 0x10
xor edx, 0xffff
cmp eax, edx
je 0x40754a
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.0x00405cd9
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 0x4062a0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406943
mov dword [eax + 0x10], 0
jmp 0x406943
mov ebx, ebp
mov dword [esp + 0x3c], esi
mov ebp, edi
mov esi, ecx
mov edi, dword [esp + 0x24]
jmp 0x4062a0
sub eax, 0xffffff80
xor edx, edx
jmp 0x406397
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406f9f
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.00408d60
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.0x00405cd9
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 4]
test esi, esi
jne case.default.0x405cd9
mov dword [esp + 0x34], 0
jmp 0x405c7f
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.00408750
jmp 0x406360
mov eax, dword [esp + 0x24]
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00405cd9
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 0x407080
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x3c]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x4070b0
mov eax, dword [eax]
jmp 0x405cd0
mov eax, dword [esp + 0x24]
mov dword [eax], 0x14
mov eax, 0x14
jmp switch.0x00405cd9
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.00409060
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 0x405cd0
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1bc4], 0xffffffff
jmp switch.0x00405cd9
cmp ebx, edx
jae 0x407173
test edi, edi
je 0x4060c0
mov ecx, ebx
jmp 0x40715c
test edi, edi
je 0x406f60
add ebp, 1
movzx eax, byte [ebp - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, edx
jb 0x407154
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 0x4060e9
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 0x406c1a
mov eax, dword [esp + 0x24]
mov dword [eax], 0xc
mov eax, 0xc
jmp switch.0x00405cd9
mov eax, dword [edx + 0x1bc0]
test eax, eax
je 0x405eea
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d665
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
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 0x407383
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d64f
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
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 0x4064b6
mov eax, dword [esp + 0x24]
mov dword [eax], 0x10
mov eax, 0x10
jmp 0x405e0d
mov ebp, ebx
mov dword [esp + 0x3c], esi
mov ebx, edi
mov esi, ecx
mov edi, dword [esp + 0x24]
jmp 0x4062a0
mov eax, ebx
mov dword [esp + 0x3c], esi
mov ebx, ebp
mov esi, ecx
mov edi, dword [esp + 0x24]
mov ebp, eax
jmp 0x4062a0
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.00408d60
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x406abb
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 0x4073a4
mov dword [ecx], 0x19
mov eax, 0x19
jmp switch.0x00405cd9
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.00408d60
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x18], eax
movzx edx, byte [esp + 0x40]
jmp 0x406bcb
mov eax, 0xfffffffe
jmp 0x406279
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.0x00405cd9
mov edx, dword [esp + 0x24]
sub eax, ecx
add eax, dword [edx + 0x34]
mov dword [esp + 0x40], eax
jmp 0x405f0b
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 0x405e57
test byte [esp + 0x3c], 0x20
je 0x4074c4
mov eax, dword [esp + 0x24]
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00405cd9
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.00408d60
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
jmp 0x4068ca
mov eax, ebx
mov dword [esp + 0x3c], edi
mov ebx, ebp
mov edi, dword [esp + 0x24]
mov ebp, esi
mov esi, eax
jmp 0x4062a0
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.0x00405cd9
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 0x407a11
mov eax, 0x13
jmp 0x405e0d
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 0x405e0d
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.00408d60
mov edx, dword [esp + 0x24]
mov dword [edx + 0x18], eax
jmp 0x4069e1
test byte [esp + 0x3c], 0x40
je 0x4076eb
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], 0x40d633
mov eax, dword [esp + 0x24]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00405cd9
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.00408d60
mov dword [esi + 0x18], eax
jmp 0x40641b
mov dword [esp + 0x3c], esi
mov esi, ebx
mov ebx, ebp
mov ebp, edi
mov edi, eax
jmp 0x4062a0
cmp dword [esp + 0x94], 6
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x40], eax
mov dword [ebx], 0xe
je 0x4079fa
xor ebx, ebx
xor esi, esi
jmp 0x406437
test esi, 0xe000
je 0x407704
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.0x00405cd9
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.00408d60
mov edx, esi
mov dword [esi + 0x18], eax
xor esi, esi
mov edx, dword [edx + 0x10]
jmp 0x406943
lea edx, [eax + 2]
cmp edx, ebx
jbe 0x407617
test edi, edi
je 0x407660
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x4075fa
test edi, edi
je 0x406f60
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp ecx, eax
jb 0x4075f2
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 0x4079d4
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 0x4065d1
mov word [esp + 0x54], cx
movzx ecx, byte [esp + 0x48]
sub ebx, dword [esp + 0x44]
shr esi, cl
jmp 0x4072e2
mov dword [esp + 0x3c], esi
mov ebp, edi
mov esi, ebx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
jmp 0x4062a0
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x24]
mov esi, ecx
jmp 0x4062a0
lea edx, [eax + 3]
cmp edx, ebx
jbe 0x4076c6
test edi, edi
je 0x407660
mov ecx, ebx
mov ebp, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
jmp 0x4076a9
test edi, edi
je 0x406f60
add ebp, 1
movzx edx, byte [ebp - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x4076a1
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 0x4065d1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
and edx, 0xf
mov dword [eax], 0x15
mov dword [eax + 0x48], edx
jmp 0x4060da
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x407719
mov edx, esi
shr edx, 8
and edx, 1
mov dword [eax], edx
test esi, 0x200
jne 0x40780a
mov eax, dword [esp + 0x24]
xor ebx, ebx
xor esi, esi
mov dword [eax], 2
jmp 0x4063d5
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.00408750
jmp 0x406d51
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 0x4062a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 0
mov dword [eax + 0x68], 0
mov dword [eax], 0x12
jmp 0x4064a0
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x44]
mov eax, dword [edx]
cmp eax, 0x1d
je switch.0x00405cd9
cmp word [edx + 0x270], 0
mov eax, edx
jne 0x407923
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.0x00405cd9
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 0x406279
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.00408d60
mov dword [esi + 0x18], eax
jmp 0x407725
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 0x4079a7
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.00408750
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 0x405cd0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
xor esi, esi
mov dword [esp], 0
call fcn.00408d60
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.00408d60
mov dword [ebx], 1
mov dword [ebx + 0x18], eax
mov eax, 1
xor ebx, ebx
jmp switch.0x00405cd9
mov ebx, ebp
xor esi, esi
mov ebp, edi
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x24]
jmp 0x407764
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.00408150
test eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
je 0x407a2c
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.0x00405cd9
cmp ecx, eax
jbe 0x40785d
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.0x00405cd9
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.0x00405cd9
mov ebx, ebp
xor esi, esi
mov ebp, edi
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x24]
jmp 0x4062a0
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 0x4062a0
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.00408150
test eax, eax
mov dword [esp + 0x38], eax
je 0x405f1c
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.0x00405cd9