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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 8]
test eax, eax
je case.default.0x4062ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x5c], eax
je case.default.0x4062ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x4c], eax
je case.default.0x4062ab
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x407734
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
cmp eax, 0xb
je 0x406401
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x44], 0
mov ebx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x38]
mov edi, ebx
mov dword [esp + 0x58], ecx
lea ecx, [edx + 0x530]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [edx + 0x2f0]
mov dword [esp + 0x54], ebx
mov ebx, dword [edx + 0x3c]
mov edx, edi
mov dword [esp + 0x2c], ecx
mov edi, esi
mov esi, edx
cmp eax, 0x1e
ja case.default.0x4062ab
jmp dword [eax*4 + 0x40e650]
cmp ebx, 0x1f
ja 0x4062f2
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x4062d8
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x4062d0
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x58], 0
mov edx, ebx
mov eax, ebx
shr eax, 0x18
shl edx, 0x18
add edx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, ebx
mov ebx, dword [esp + 0x5c]
and eax, 0xff00
shl eax, 8
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [ebx], 0xa
xor ebx, ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x407f0a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408e40
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edx], 0xb
mov eax, dword [ebp + 0xc]
sub eax, 5
cmp eax, 1
jbe 0x4076a0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 4]
test edx, edx
jne 0x406415
cmp ebx, 2
ja 0x4063b5
test esi, esi
je 0x4076a0
add edi, 1
movzx eax, byte [edi - 1]
mov ecx, ebx
sub esi, 1
add ebx, 8
shl eax, cl
add dword [esp + 0x58], eax
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ecx + 4], eax
mov eax, edx
and eax, 3
cmp eax, 2
je 0x4079ea
cmp eax, 3
je 0x407bac
cmp eax, 1
je 0x407b72
mov dword [ecx], 0xd
mov eax, 0xd
shr edx, 2
sub ebx, 3
mov dword [esp + 0x58], edx
jmp 0x4062a2
mov eax, dword [esp + 0x5c]
mov dword [eax], 0xc
mov eax, 0xc
jmp 0x40625e
mov eax, dword [esp + 0x5c]
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [esp + 0x58], cl
mov dword [eax], 0x1a
mov eax, 0x1a
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x4064ae
cmp ebx, edx
jae 0x406485
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x58]
jmp 0x406468
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x406460
mov dword [esp + 0x58], edx
mov edx, ebx
mov ebx, ecx
mov ecx, edx
mov eax, 1
sub ebx, edx
shl eax, cl
mov ecx, dword [esp + 0x5c]
sub eax, 1
and eax, dword [esp + 0x58]
add dword [ecx + 0x44], eax
mov ecx, edx
shr dword [esp + 0x58], cl
mov ecx, dword [esp + 0x5c]
add dword [ecx + 0x1bc4], edx
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x18
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4076a0
mov eax, dword [esp + 0x50]
sub eax, edx
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 0x44]
cmp eax, ecx
jae 0x4077a4
sub ecx, eax
cmp ecx, dword [edx + 0x2c]
ja 0x407954
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x30]
cmp ecx, eax
jbe 0x407aa0
mov edx, dword [esp + 0x5c]
sub ecx, eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x40], eax
sub eax, ecx
add eax, dword [edx + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x40]
cmp ecx, edx
cmova ecx, edx
jmp 0x4077b7
cmp dword [ebp + 0xc], 6
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x13
je 0x4076a0
nop
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x14
cmp esi, 5
jbe 0x40654d
cmp dword [esp + 0x54], 0x101
ja 0x407824
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x4c]
mov dword [eax + 0x1bc4], 0
mov edx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x54]
mov eax, 1
shl eax, cl
sub eax, 1
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
and eax, ecx
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x3c], ax
movzx eax, dl
cmp ebx, eax
mov dword [esp + 0x34], eax
jae 0x406602
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, esi
mov esi, edi
mov edi, dword [esp + 0x58]
jmp 0x4065bb
test ebx, ebx
je 0x407780
add esi, 1
movzx eax, byte [esi - 1]
mov edx, dword [esp + 0x38]
sub ebx, 1
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [esp + 0x30]
and eax, edi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x3c], ax
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x34], eax
ja 0x4065b3
mov dword [esp + 0x58], edi
mov edi, esi
mov esi, ebx
mov ebx, ecx
cmp byte [esp + 0x40], 0
je 0x407a30
test byte [esp + 0x40], 0xf0
jne 0x407a30
movzx ecx, word [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, 1
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x40]
add cl, byte [esp + 0x30]
shl eax, cl
mov ecx, edx
mov edx, dword [esp + 0x38]
sub eax, 1
mov dword [esp + 0x20], eax
and eax, dword [esp + 0x58]
shr eax, cl
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x3c], dx
lea edx, [ecx + eax]
cmp ebx, edx
jae 0x4066d7
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
jmp 0x406688
test esi, esi
je 0x407e25
add edi, 1
movzx eax, byte [edi - 1]
mov ecx, ebx
add ebx, 8
sub esi, 1
shl eax, cl
movzx ecx, byte [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x20]
and eax, edx
shr eax, cl
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax]
mov byte [esp + 0x40], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x30]
add ecx, eax
cmp ecx, ebx
ja 0x406680
mov dword [esp + 0x58], edx
mov edx, ecx
movzx ecx, byte [esp + 0x30]
sub ebx, dword [esp + 0x34]
shr dword [esp + 0x58], cl
mov ecx, eax
sub ebx, eax
shr dword [esp + 0x58], cl
movzx eax, word [esp + 0x3c]
cmp byte [esp + 0x40], 0
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x1bc4], edx
mov dword [ecx + 0x40], eax
jne 0x407ad3
mov dword [ecx], 0x19
mov eax, 0x19
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x4078a3
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x1bc8], eax
mov dword [edx], 0x16
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x50]
mov eax, 1
shl eax, cl
mov dword [esp + 0x38], edx
sub eax, 1
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
and eax, ecx
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x3c], ax
movzx eax, dl
cmp ebx, eax
mov dword [esp + 0x34], eax
jae 0x4067ef
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, esi
mov esi, edi
mov edi, dword [esp + 0x58]
jmp 0x4067a8
test ebx, ebx
je 0x407780
add esi, 1
movzx eax, byte [esi - 1]
mov edx, dword [esp + 0x38]
sub ebx, 1
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [esp + 0x30]
and eax, edi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x3c], ax
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x34], eax
ja 0x4067a0
mov dword [esp + 0x58], edi
mov edi, esi
mov esi, ebx
mov ebx, ecx
test byte [esp + 0x40], 0xf0
jne 0x407980
movzx ecx, word [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, 1
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x40]
add cl, byte [esp + 0x30]
shl eax, cl
mov ecx, edx
mov edx, dword [esp + 0x38]
sub eax, 1
mov dword [esp + 0x20], eax
and eax, dword [esp + 0x58]
shr eax, cl
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x40], dl
movzx edx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x3c], dx
lea edx, [ecx + eax]
cmp ebx, edx
jae 0x4068bf
test esi, esi
mov eax, esi
mov esi, edi
je 0x4076ba
mov edx, dword [esp + 0x58]
mov edi, eax
jmp 0x40686c
test edi, edi
je 0x407b4b
add esi, 1
movzx eax, byte [esi - 1]
mov ecx, ebx
add ebx, 8
sub edi, 1
shl eax, cl
movzx ecx, byte [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x20]
and eax, edx
shr eax, cl
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax]
mov byte [esp + 0x40], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x30]
add ecx, eax
cmp ecx, ebx
ja 0x406864
mov ecx, edi
mov dword [esp + 0x58], edx
mov edi, esi
mov esi, ecx
mov edx, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov ecx, edx
shr dword [esp + 0x58], cl
mov ecx, dword [esp + 0x5c]
add edx, dword [ecx + 0x1bc4]
jmp 0x40798a
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
test dh, 4
je 0x4070af
cmp ebx, 0xf
ja 0x406927
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, dword [esp + 0x58]
jmp 0x40690d
test esi, esi
je 0x407a70
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406905
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov dword [eax + 0x40], ebx
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40693c
mov dword [eax + 0x14], ebx
test dh, 2
jne 0x407cb6
xor ebx, ebx
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x5c]
mov dword [eax], 5
jmp 0x406b27
mov eax, 0xfffffffc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, esi
mov dword [esp + 0x44], 1
mov esi, edi
mov edi, eax
nop
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x4c]
mov edx, eax
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov dword [edx], esi
mov dword [edx + 4], edi
mov esi, dword [esp + 0x58]
mov dword [edx + 0x10], ecx
mov dword [eax + 0x3c], ebx
mov ebx, dword [eax + 0x28]
mov dword [eax + 0x38], esi
test ebx, ebx
jne 0x4069c5
cmp dword [esp + 0x50], ecx
je 0x4069e1
mov eax, dword [eax]
cmp eax, 0x1c
ja 0x4069e1
cmp dword [ebp + 0xc], 4
jne 0x4069c5
cmp eax, 0x19
ja 0x4069e1
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
call fcn.00405d90
test eax, eax
jne 0x407afc
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
sub esi, dword [eax + 4]
sub ebx, dword [eax + 0x10]
add dword [eax + 8], esi
add dword [eax + 0x14], ebx
mov eax, dword [esp + 0x5c]
add dword [eax + 0x1c], ebx
test ebx, ebx
je 0x406a45
mov edx, dword [eax + 8]
test edx, edx
je 0x406a45
mov eax, dword [eax + 0x10]
mov dword [esp + 8], ebx
test eax, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
je 0x407750
sub eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00409390
mov edi, dword [esp + 0x5c]
mov dword [edi + 0x18], eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov edi, dword [esp + 0x5c]
cmp dword [edi + 4], 1
mov edx, dword [edi]
sbb eax, eax
not eax
and eax, 0x40
add eax, dword [edi + 0x3c]
cmp edx, 0xb
je 0x4076c1
cmp edx, 0xe
je 0x407690
cmp edx, 0x13
je 0x407690
xor edx, edx
mov edi, dword [ebp + 8]
add eax, edx
or ebx, esi
mov dword [edi + 0x2c], eax
je 0x406a90
cmp dword [ebp + 0xc], 4
mov eax, dword [esp + 0x44]
jne 0x406965
mov esi, dword [esp + 0x44]
mov eax, 0xfffffffb
test esi, esi
cmovne eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0x1f
ja 0x406ae7
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x406acd
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406ac5
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406af9
mov ebx, dword [esp + 0x58]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x5c]
test byte [eax + 0x11], 2
jne 0x407bf1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
xor ebx, ebx
mov dword [eax], 3
jmp 0x407035
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
test dh, 4
mov eax, edx
je 0x406bd6
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0x40]
cmp esi, edx
mov dword [esp + 0x40], edx
cmovbe edx, esi
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
test ecx, ecx
je 0x406bc7
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x406ba6
mov ecx, dword [edx + 0x10]
test ecx, ecx
mov dword [esp + 0x38], ecx
je 0x406ba6
mov eax, dword [edx + 0x14]
sub eax, dword [esp + 0x40]
mov edx, dword [edx + 0x18]
mov dword [esp + 4], edi
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 + 0x38]
cmovbe eax, dword [esp + 0x3c]
add edx, ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call sub.msvcr100.dll_memcpy
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x10]
test ah, 2
jne 0x407bca
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 0x40]
sub esi, eax
add edi, eax
mov dword [esp + 0x40], edx
sub edx, eax
mov dword [ecx + 0x40], edx
test edx, edx
jne 0x4076a0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
test dh, 8
mov dword [eax + 0x40], 0
mov dword [eax], 6
jne 0x407220
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4072bc
mov dword [eax + 0x1c], 0
jmp 0x4072bc
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x5c]
mov dword [edx], 0xf
test eax, eax
je 0x407790
mov ecx, dword [esp + 0x54]
cmp esi, eax
cmovbe eax, esi
cmp eax, ecx
cmova eax, ecx
test eax, eax
je 0x4076a0
mov dword [esp + 8], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcr100.dll_memcpy
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x54], edx
add dword [esp + 0x4c], edx
sub dword [eax + 0x40], edx
sub esi, edx
add edi, edx
mov eax, dword [eax]
jmp 0x4062a2
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x40]
jmp 0x406c21
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
test eax, eax
je 0x407e90
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x407e90
cmp ebx, 0x1f
ja 0x406cd7
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x406cbb
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406cb3
mov dword [esp + 0x58], edx
mov ebx, ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp dword [eax + 0x1c], edx
je 0x408058
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, esi
mov dword [esp + 0x44], 0xfffffffd
mov esi, edi
mov edi, eax
jmp 0x406980
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
test dh, 0x10
je 0x4072d6
test esi, esi
je 0x4076a0
xor edx, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
jmp 0x406d46
cmp edx, dword [esp + 0x38]
jae 0x406d87
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
add edx, 1
movzx edi, byte [eax + edx - 1]
mov eax, dword [ebx + 0x20]
test eax, eax
mov ecx, edi
je 0x406d83
mov esi, dword [eax + 0x24]
test esi, esi
mov dword [esp + 0x40], esi
je 0x406d83
mov ebx, dword [ebx + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x406d83
mov esi, dword [esp + 0x5c]
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x40]
mov byte [eax + ebx], cl
test edi, edi
jne 0x406d40
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
test byte [eax + 0x11], 2
jne 0x407a00
mov eax, dword [esp + 0x40]
sub esi, edx
add edi, edx
test eax, eax
jne 0x4076a0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
mov dword [eax], 8
test dh, 2
je 0x4076e0
cmp ebx, 0xf
ja 0x406e16
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x58]
jmp 0x406df8
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x406df0
mov dword [esp + 0x58], edx
mov edx, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x5c]
movzx eax, word [ecx + 0x18]
cmp eax, dword [esp + 0x58]
je 0x4076d0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
jmp 0x406dc6
cmp ebx, 0xf
ja 0x406e89
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x406e6d
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x406e65
mov dword [esp + 0x58], edx
mov ebx, ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
cmp al, 8
mov dword [edx + 0x10], eax
je 0x407c64
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 8]
test edx, edx
je 0x407940
cmp ebx, 0xf
ja 0x406f16
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x58]
jmp 0x406ef8
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x406ef0
mov dword [esp + 0x58], edx
mov edx, ebx
mov ebx, ecx
cmp dword [esp + 0x58], 0x8b1f
jne 0x406f29
test dl, 2
jne 0x407f76
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406f42
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x407b54
mov ecx, dword [esp + 0x58]
mov edx, 0x8421085
mov eax, ecx
shr ecx, 8
shl eax, 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 0x407b54
mov eax, dword [esp + 0x58]
and eax, 0xf
cmp eax, 8
je 0x407fd8
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [esp + 0x58], cl
cmp ebx, 0x1f
ja 0x406ff5
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x406fd9
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406fd1
mov dword [esp + 0x58], edx
mov ebx, ecx
mov edx, dword [esp + 0x58]
movzx eax, dx
shr edx, 0x10
xor edx, 0xffff
cmp eax, edx
je 0x407c90
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
cmp ebx, 0xf
ja 0x407067
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x40704d
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x407045
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x407082
mov ebx, dword [esp + 0x58]
movzx edx, bl
shr ebx, 8
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
test dh, 2
jne 0x407b10
mov eax, dword [esp + 0x5c]
xor ebx, ebx
test dh, 4
mov dword [esp + 0x58], 0
mov dword [eax], 4
jne 0x4068f5
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40694f
mov dword [eax + 0x10], 0
jmp 0x40694f
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4076a0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + 0x40]
mov byte [edx], al
mov eax, ecx
sub eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x14
lea eax, [edx + 1]
mov dword [esp + 0x4c], eax
mov eax, 0x14
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
test eax, eax
je 0x407930
cmp ebx, 0x1f
ja 0x407158
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x40713c
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x407134
mov dword [esp + 0x58], edx
mov ebx, ecx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x5c]
add dword [ecx + 0x14], eax
add dword [edx + 0x1c], eax
test eax, eax
je 0x4071a2
mov ecx, dword [edx + 0x10]
mov dword [esp + 8], eax
test ecx, ecx
je 0x407e72
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call fcn.00409390
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x30], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x4071d5
mov edx, eax
mov ecx, eax
shr eax, 0x18
shl edx, 0x18
add edx, eax
mov eax, ecx
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, ecx
and eax, 0xff00
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x5c]
cmp eax, dword [edx + 0x18]
je 0x407916
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
test dh, 8
je 0x406bf0
test esi, esi
je 0x4076a0
xor edx, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
jmp 0x407246
cmp edx, dword [esp + 0x38]
jae 0x407287
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
add edx, 1
movzx edi, byte [eax + edx - 1]
mov eax, dword [ebx + 0x20]
test eax, eax
mov ecx, edi
je 0x407283
mov esi, dword [eax + 0x1c]
test esi, esi
mov dword [esp + 0x40], esi
je 0x407283
mov ebx, dword [ebx + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x407283
mov esi, dword [esp + 0x5c]
lea eax, [ebx + 1]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x40]
mov byte [eax + ebx], cl
test edi, edi
jne 0x407240
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
test byte [eax + 0x11], 2
jne 0x407a40
mov eax, dword [esp + 0x40]
sub esi, edx
add edi, edx
test eax, eax
jne 0x4076a0
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
test dh, 0x10
mov dword [eax + 0x40], 0
mov dword [eax], 7
jne 0x406d25
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x406dbc
mov dword [eax + 0x24], 0
jmp 0x406dbc
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x34], edi
mov eax, dword [edx + 0x60]
mov dword [esp + 0x24], eax
add eax, dword [edx + 0x64]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x38], ecx
jae 0x407ecb
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x4c]
mov edi, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x54]
mov eax, 1
shl eax, cl
sub eax, 1
mov dword [esp + 0x40], eax
and eax, edx
lea eax, [edi + eax*4]
movzx ecx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x58], ax
movzx eax, cl
cmp ebx, eax
jae 0x4073b4
test esi, esi
je 0x407d7d
mov edi, dword [esp + 0x34]
mov ecx, ebx
jmp 0x407378
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
mov ebx, dword [esp + 0x3c]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
mov eax, dword [esp + 0x40]
and eax, edx
lea eax, [ebx + eax*4]
movzx ebx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x58], ax
movzx eax, bl
cmp eax, ecx
ja 0x407370
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, ecx
mov ecx, edi
cmp word [esp + 0x58], 0xf
jbe 0x4079c3
cmp word [esp + 0x58], 0x10
je 0x407cfd
cmp word [esp + 0x58], 0x11
je 0x407d9f
lea edi, [eax + 7]
cmp ebx, edi
mov dword [esp + 0x58], edi
jae 0x407427
test esi, esi
je 0x407d7d
mov ecx, ebx
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x58], eax
jmp 0x407408
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x407400
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], edi
mov ebx, ecx
mov ecx, eax
sub ebx, eax
shr edx, cl
sub ebx, 7
mov ecx, edx
and edx, 0x7f
lea edi, [edx + 0xb]
shr ecx, 7
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
ja 0x408112
mov edi, dword [esp + 0x38]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x5c]
add edi, 0x38
mov dword [esp + 0x38], edi
lea eax, [ecx + edi*2]
mov edi, dword [esp + 0x58]
add edi, dword [esp + 0x38]
lea edi, [ecx + edi*2]
movzx ecx, word [esp + 0x3c]
mov word [eax], cx
add eax, 2
cmp eax, edi
jne 0x407480
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov dword [edi + 0x68], eax
jmp 0x407316
cmp ebx, 0xd
ja 0x4074d9
test esi, esi
je 0x4076a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
jmp 0x4074bd
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xd
jbe 0x4074b5
mov dword [esp + 0x58], edx
mov ebx, ecx
mov ecx, dword [esp + 0x58]
sub ebx, 0xe
mov edx, ecx
and edx, 0x1f
lea eax, [edx + 0x101]
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], eax
mov dword [eax + 0x60], edx
mov eax, ecx
shr eax, 5
mov edx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
and eax, 0x1f
shr ecx, 0xa
shr dword [esp + 0x58], 0xe
add eax, 1
and ecx, 0xf
add ecx, 4
cmp eax, 0x1e
mov dword [edx + 0x64], eax
mov dword [esp + 0x38], ecx
mov dword [edx + 0x5c], ecx
ja 0x407a81
cmp dword [esp + 0x40], 0x11e
ja 0x407a81
mov eax, dword [esp + 0x5c]
mov ecx, ebx
xor edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov ebx, dword [esp + 0x58]
mov dword [eax + 0x68], 0
mov dword [eax], 0x11
jmp 0x407583
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x5c]
mov ecx, edx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x68]
cmp ecx, edx
jbe 0x4075e3
mov ecx, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
cmp ecx, 2
ja 0x4075ad
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x407d8c
add dword [esp + 0x40], 1
sub dword [esp + 0x3c], 1
mov eax, dword [esp + 0x40]
movzx eax, byte [eax - 1]
shl eax, cl
add ecx, 8
add ebx, eax
add edx, 1
mov eax, ebx
sub ecx, 3
and eax, 7
movzx esi, word [edx + edx + 0x40ef7e]
shr ebx, 3
cmp edx, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
mov dword [edi + 0x68], edx
mov word [edi + esi*2 + 0x70], ax
jb 0x407583
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov ebx, ecx
cmp edx, 0x12
lea eax, [edx + edx + 0x40ef80]
mov ecx, dword [esp + 0x5c]
ja 0x407612
movzx edx, word [eax]
add eax, 2
cmp eax, 0x40efa6
mov word [ecx + edx*2 + 0x70], 0
jne 0x4075f3
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x68], 0x13
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
mov eax, ecx
mov dword [ecx + 0x6c], edx
mov dword [ecx + 0x4c], edx
add eax, 0x54
mov dword [ecx + 0x54], 7
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, ecx
mov dword [esp + 8], 0x13
add eax, 0x6c
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, ecx
mov dword [esp + 0x14], edx
add eax, 0x70
mov dword [esp + 4], eax
call fcn.00408770
test eax, eax
mov dword [esp + 0x44], eax
je 0x407ead
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov edx, 0x100
jmp 0x406a76
mov eax, esi
mov esi, edi
mov edi, eax
jmp 0x406980
mov eax, esi
mov dword [esp + 0x58], edx
mov esi, edi
mov ebx, ecx
mov edi, eax
jmp 0x406980
sub eax, 0xffffff80
jmp 0x406a74
xor ebx, ebx
mov dword [esp + 0x58], 0
lea esi, [esi]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4076fb
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.00409390
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [edx + 0x30], eax
mov eax, 0xb
mov dword [ecx], 0xb
jmp switch.0x004062ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne case.default.0x4062ab
mov dword [esp + 0x48], 0
jmp 0x40624f
sub eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00408e40
jmp 0x406a38
mov eax, 0xfffffffe
jmp 0x406965
mov dword [esp + 0x58], edi
mov edi, ebx
mov ebx, ecx
jmp 0x406980
mov eax, dword [esp + 0x5c]
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x004062ab
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x40]
mov edx, ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ebx
cmp ecx, eax
cmova ecx, eax
sub eax, ecx
sub edx, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
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 0x4077e0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x40]
mov edx, dword [eax + 0x40]
test edx, edx
je 0x407810
mov eax, dword [eax]
jmp 0x4062a2
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x14
mov eax, 0x14
jmp switch.0x004062ab
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x38], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 0x3c], ebx
mov dword [esp + 4], esi
mov esi, dword [ebp + 8]
mov dword [esp], esi
call fcn.004096a0
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x5c]
mov esi, dword [esi + 0xc]
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x3c]
mov eax, dword [eax]
mov esi, dword [esi + 0x10]
cmp eax, 0xb
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
jne 0x4062a2
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x1bc4], 0xffffffff
jmp switch.0x004062ab
cmp ebx, edx
jae 0x4078e5
test esi, esi
je 0x4076a0
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x58]
jmp 0x4078c8
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x4078c0
mov dword [esp + 0x58], edx
mov edx, ebx
mov ebx, ecx
mov ecx, edx
mov eax, 1
sub ebx, edx
shl eax, cl
mov ecx, dword [esp + 0x5c]
sub eax, 1
and eax, dword [esp + 0x58]
add eax, dword [ecx + 0x40]
mov dword [ecx + 0x40], eax
mov ecx, edx
shr dword [esp + 0x58], cl
mov ecx, dword [esp + 0x5c]
add dword [ecx + 0x1bc4], edx
jmp 0x406736
mov ebx, dword [esp + 0x54]
mov eax, dword [edx + 8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], ebx
xor ebx, ebx
nop
lea esi, [esi]
mov edx, dword [esp + 0x5c]
mov dword [edx], 0x1b
jmp 0x406c87
mov eax, dword [esp + 0x5c]
mov dword [eax], 0xc
mov eax, 0xc
jmp switch.0x004062ab
mov eax, dword [edx + 0x1bc0]
test eax, eax
je 0x4064e4
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x40e605
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0x1bc4]
mov ecx, eax
sub ebx, eax
shr dword [esp + 0x58], cl
add eax, edx
test byte [esp + 0x40], 0x40
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x1bc4], eax
je 0x407ab2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x40e5ef
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
shr edx, cl
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
sub ebx, eax
mov eax, ecx
add eax, 1
mov dword [edi + 0x68], eax
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x58]
mov word [edi + ecx*2 + 0x70], ax
jmp 0x407316
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x10
mov eax, 0x10
jmp 0x4063f2
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.00409390
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x18], eax
mov edx, dword [esp + 0x3c]
jmp 0x406da5
mov edx, eax
jmp 0x4066e4
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.00409390
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x18], eax
jmp 0x4072a5
mov eax, esi
mov dword [esp + 0x58], ebx
mov esi, edi
mov ebx, ecx
mov edi, eax
jmp 0x406980
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov edx, dword [esp + 0x5c]
sub eax, ecx
add eax, dword [edx + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x406509
movzx eax, word [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
and edx, 0xf
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
mov dword [ecx], 0x17
jmp 0x40643c
test byte [esp + 0x40], 0x20
je 0x407c3b
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x004062ab
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1e
mov eax, 0xfffffffc
jmp 0x406965
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], 2
mov eax, ebx
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x5c]
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.00409390
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
jmp 0x407092
mov dword [esp + 0x58], edx
jmp 0x406980
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
cmp dword [ebp + 0xc], 6
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x4c], 0x40e780
mov dword [eax + 0x54], 9
mov dword [eax + 0x50], 0x40e700
mov dword [eax + 0x58], 5
mov dword [eax], 0x13
je 0x40814d
mov eax, 0x13
jmp 0x4063f2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp 0x4063f2
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00409390
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x18], eax
jmp 0x406baf
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], 4
mov eax, ebx
mov byte [esp + 0x6c], bl
shr eax, 8
mov byte [esp + 0x6d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x6e], al
mov eax, ebx
mov ebx, dword [esp + 0x5c]
shr eax, 0x18
mov byte [esp + 0x6f], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call fcn.00409390
mov dword [ebx + 0x18], eax
jmp 0x406b07
test byte [esp + 0x40], 0x40
je 0x407e0c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x40e5d3
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
test dword [esp + 0x58], 0xe000
je 0x407e34
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
cmp dword [ebp + 0xc], 6
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0x40], eax
mov dword [ebx], 0xe
je 0x408138
xor ebx, ebx
mov dword [esp + 0x58], 0
jmp 0x406c17
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], 2
mov eax, ebx
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x5c]
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.00409390
mov ecx, ebx
mov dword [ebx + 0x18], eax
mov dword [esp + 0x58], 0
xor ebx, ebx
mov edx, dword [ecx + 0x10]
jmp 0x40694f
lea edi, [eax + 2]
cmp ebx, edi
mov dword [esp + 0x58], edi
jae 0x407d47
test esi, esi
je 0x407d7d
mov ecx, ebx
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x58], eax
jmp 0x407d28
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x407d20
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], edi
mov ebx, ecx
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x38]
shr edx, cl
test eax, eax
je 0x408112
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
sub ebx, 2
movzx ecx, word [eax + edi*2 + 0x6e]
mov eax, edx
shr edx, 2
and eax, 3
add eax, 3
mov dword [esp + 0x58], eax
jmp 0x407443
mov edi, esi
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x34]
jmp 0x406980
mov dword [esp + 0x58], ebx
mov edi, dword [esp + 0x3c]
mov ebx, ecx
mov esi, dword [esp + 0x40]
jmp 0x406980
lea edi, [eax + 3]
cmp ebx, edi
mov dword [esp + 0x58], edi
jae 0x407de7
test esi, esi
je 0x407d7d
mov ecx, ebx
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x58], eax
jmp 0x407dc8
test esi, esi
je 0x4076b0
add edi, 1
movzx eax, byte [edi - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x407dc0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], edi
mov ebx, ecx
mov ecx, eax
shr edx, cl
mov ecx, edx
and edx, 7
lea edi, [edx + 3]
shr ecx, 3
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov edi, 0xfffffffd
sub edi, eax
add ebx, edi
jmp 0x407443
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
and edx, 0xf
mov dword [eax], 0x15
mov dword [eax + 0x48], edx
jmp 0x406727
mov eax, esi
mov dword [esp + 0x58], edx
mov esi, edi
mov edi, eax
jmp 0x406980
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x407e4b
mov edx, dword [esp + 0x58]
shr edx, 8
and edx, 1
mov dword [eax], edx
test dword [esp + 0x58], 0x200
jne 0x407f3e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
xor ebx, ebx
mov dword [eax], 2
jmp 0x406ab5
mov edx, dword [esp + 0x4c]
sub edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call fcn.00408e40
jmp 0x407195
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], 1
mov dword [eax], 0x1c
jmp 0x406980
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], 0
mov dword [eax + 0x68], 0
mov dword [eax], 0x12
jmp 0x4072fc
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov eax, dword [ecx]
cmp eax, 0x1d
je switch.0x004062ab
cmp word [ecx + 0x270], 0
jne 0x40806d
mov edx, dword [ebp + 8]
mov eax, 0x1d
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
mov dword [ecx], 0x1d
jmp switch.0x004062ab
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov esi, edi
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax], esi
mov dword [eax + 4], edi
mov esi, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], ebx
mov eax, 2
jmp 0x406965
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], 2
mov eax, ebx
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x5c]
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.00409390
mov dword [ebx + 0x18], eax
jmp 0x407e59
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409390
mov ebx, dword [esp + 0x5c]
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.00409390
mov dword [ebx], 1
mov dword [ebx + 0x18], eax
mov eax, 1
xor ebx, ebx
mov dword [esp + 0x58], 0
jmp switch.0x004062ab
shr dword [esp + 0x58], 4
mov eax, dword [esp + 0x58]
and eax, 0xf
mov ecx, eax
mov eax, dword [esp + 0x5c]
add ecx, 8
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4080e9
mov eax, dword [esp + 0x5c]
mov dword [eax + 0x24], ecx
mov ebx, dword [esp + 0x5c]
mov eax, 1
shl eax, cl
mov dword [ebx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00408e40
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [esp + 0x58], 0
and edx, 0x200
mov dword [ecx + 0x30], eax
cmp edx, 1
sbb eax, eax
and eax, 2
add eax, 9
mov dword [ebx], eax
xor ebx, ebx
jmp 0x4062a2
mov eax, esi
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x58], 0
mov edi, eax
jmp 0x407e96
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x4c], ecx
lea edx, [eax + 0x6c]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x54], 9
mov dword [esp + 0xc], edx
mov dword [esp], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], ecx
mov ecx, eax
add eax, 0x54
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, ecx
add eax, 0x70
mov dword [esp + 4], eax
call fcn.00408770
test eax, eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x40]
je 0x408160
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
cmp ecx, eax
jbe 0x407fff
mov eax, dword [ebp + 8]
sub ebx, 4
mov dword [eax + 0x18], str.invalid_window_size
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab
mov eax, esi
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x58], 0
mov edi, eax
jmp 0x406980
mov eax, esi
shr dword [esp + 0x58], 3
mov esi, edi
sub ebx, 3
mov edi, eax
jmp 0x406980
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x6c]
mov dword [ecx + 0x58], 6
mov dword [ecx + 0x50], eax
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov ecx, eax
add eax, 0x58
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x60]
mov dword [esp], 2
lea eax, [ecx + eax*2 + 0x70]
mov dword [esp + 4], eax
call fcn.00408770
test eax, eax
mov dword [esp + 0x44], eax
je 0x40651a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov eax, dword [esp + 0x5c]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x004062ab