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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, dword [esp + 0x90]
test ebx, ebx
je case.default.0x4064c4
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je case.default.0x4064c4
mov edx, dword [eax + 0x24]
test edx, edx
je case.default.0x4064c4
call fcn.00406050
mov dword [esp + 0x34], eax
test eax, eax
jne case.default.0x4064c4
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0xc]
test edi, edi
je case.default.0x4064c4
mov edx, dword [esp + 0x90]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
test eax, eax
je 0x4064d0
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
cmp eax, 0x3f3f
je 0x4064f0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x44], edi
mov ebp, dword [esp + 0x40]
mov esi, dword [esi + 0x10]
mov edx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x40]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], esi
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x4064c4
jmp dword [eax*4 + 0x40eb90]
test edx, edx
je 0x40647a
lea esi, [esi]
mov dword [esp + 0x34], 0xfffffffe
mov eax, dword [esp + 0x34]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f40
mov eax, 0x3f40
jmp 0x406492
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x407a75
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f40
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
test eax, eax
je 0x407350
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edi, dword [esp + 0x44]
and ebx, 0xfffffff8
and ecx, 7
shr dword [esp + 0x30], cl
mov dword [eax + 4], 0x3f4e
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x407460
cmp ebx, 0x1f
ja 0x4065a9
test ebp, ebp
je 0x406b58
mov ecx, ebx
mov esi, dword [esp + 0x2c]
mov ebx, edx
mov edx, dword [esp + 0x30]
jmp 0x406588
test ebp, ebp
je 0x407c35
movzx eax, byte [esi]
add esi, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x406580
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x3c]
mov eax, esi
sub eax, dword [esp + 0x38]
add dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x20], eax
mov ecx, edx
and ecx, 4
je 0x407448
test eax, eax
jne 0x408041
test ecx, ecx
je 0x407448
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
mov eax, esi
test ecx, ecx
jne 0x406614
mov ecx, esi
shr eax, 0x18
shl ecx, 0x18
add eax, ecx
mov ecx, esi
shl esi, 8
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, esi
and ecx, 0xff0000
add eax, ecx
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x1c], eax
je 0x407448
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x38]
mov dword [esi + 4], 0x3f51
mov dword [esp + 0x3c], eax
jmp 0x406804
mov edx, dword [esp + 0x28]
shr dword [esp + 0x30], cl
sub ebx, eax
mov dword [edx + 0x1bc8], eax
mov dword [edx + 0x44], edi
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4d
mov esi, dword [esp + 0x38]
test esi, esi
je 0x408034
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
sub esi, 1
mov dword [esp + 0x38], esi
mov eax, dword [edx + 0x44]
mov byte [edi], al
lea eax, [edi + 1]
mov dword [edx + 4], 0x3f48
mov dword [esp + 0x44], eax
cmp ebp, 5
jbe 0x407470
mov eax, dword [esp + 0x38]
cmp eax, 0x101
jbe 0x407470
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ebp
mov dword [edx], esi
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x40], ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00409e10
mov eax, dword [esp + 0x90]
mov ebx, dword [edi + 0x40]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + 4]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
cmp eax, 0x3f3f
jne 0x4064ba
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1bc8], 0xffffffff
jmp case.0x4064c4.16191
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 0x50], 0x40eca0
mov dword [eax + 0x58], 9
mov dword [eax + 0x54], 0x40ec20
mov dword [eax + 0x5c], 5
mov dword [eax + 4], 0x3f47
je 0x408504
mov dword [esp + 0x2c], edx
sub ebx, 3
shr dword [esp + 0x30], 3
nop
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f48
jmp case.0x4064c4.16200
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x4c]
test esi, esi
jne 0x4079f8
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4c
mov esi, dword [esp + 0x38]
test esi, esi
je 0x408034
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov eax, dword [ecx + 0x48]
mov edx, edi
sub edx, esi
cmp eax, edx
jbe 0x407850
lea edx, [eax + esi]
mov eax, edx
sub eax, edi
cmp dword [ecx + 0x30], eax
jae 0x407560
mov esi, dword [ecx + 0x1bc4]
test esi, esi
je 0x407560
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], 0x40eb45
mov dword [ecx + 4], 0x3f51
mov dword [esp + 0x34], 0xfffffffd
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
lea esi, [esi]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x28]
mov dword [eax + 0x3c], edx
mov edx, dword [eax + 0x2c]
mov dword [eax + 0x40], ebx
test edx, edx
jne 0x406870
cmp dword [esp + 0x3c], esi
je 0x40689d
mov eax, dword [eax + 4]
cmp eax, 0x3f50
ja 0x40689d
cmp eax, 0x3f4d
jbe 0x406870
cmp dword [esp + 0x94], 4
je 0x40689d
lea esi, [esi]
nop
mov eax, dword [esp + 0x90]
mov edx, edi
call fcn.00405f20
test eax, eax
jne 0x40801c
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], eax
sub ecx, eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
add dword [eax + 0x14], ecx
sub esi, ebp
add dword [eax + 8], esi
add dword [edi + 0x20], ecx
test byte [edi + 0xc], 4
je 0x4068c5
test ecx, ecx
jne 0x407610
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x40]
test edx, edx
je 0x4068d6
add eax, 0x40
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 4]
cmp edx, 0x3f3f
je 0x407600
cmp edx, 0x3f47
je 0x4068f9
cmp edx, 0x3f42
jne 0x4068fe
add eax, 0x100
mov edi, dword [esp + 0x90]
or esi, ecx
mov dword [edi + 0x2c], eax
je 0x40691a
cmp dword [esp + 0x94], 4
jne 0x4064e0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4064e0
mov dword [esp + 0x34], 0xfffffffb
jmp 0x4064e0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x407888
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x44]
mov esi, dword [esp + 0x28]
mov dword [esi + 0x1bcc], eax
mov dword [esi + 4], 0x3f4a
mov eax, dword [esp + 0x28]
mov edi, 0xffffffff
mov ecx, dword [eax + 0x5c]
mov esi, dword [eax + 0x54]
mov eax, dword [esp + 0x30]
shl edi, cl
not edi
and eax, edi
lea eax, [esi + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x48], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x4c], ax
movzx eax, dl
mov dword [esp + 0x50], eax
cmp eax, ebx
jbe 0x406a04
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov edi, esi
mov esi, dword [esp + 0x2c]
jmp 0x4069c0
test ebp, ebp
je 0x407830
movzx eax, byte [esi]
add esi, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov eax, dword [esp + 0x30]
and eax, ebx
lea eax, [edi + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x48], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x4c], ax
movzx eax, dl
mov dword [esp + 0x50], eax
cmp eax, ecx
ja 0x4069b8
mov dword [esp + 0x2c], esi
mov esi, edi
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov edi, eax
test byte [esp + 0x48], 0xf0
je 0x407b58
mov esi, dword [esp + 0x28]
mov edi, dword [esi + 0x1bc8]
mov esi, dword [esp + 0x28]
add edi, eax
mov ecx, eax
sub ebx, eax
shr dword [esp + 0x30], cl
mov dword [esi + 0x1bc8], edi
test byte [esp + 0x48], 0x40
je 0x4079d0
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], 0x40eb2f
mov dword [esi + 4], 0x3f51
jmp 0x406804
cmp ebx, 0x1f
ja 0x406aa5
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x406a88
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x406a80
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov edx, ebx
mov ecx, ebx
mov eax, ebx
shr edx, 0x18
shl ecx, 0x18
shr eax, 8
add ecx, edx
and eax, 0xff00
lea edx, [ecx + eax]
mov eax, ebx
mov ebx, dword [esp + 0x28]
shl eax, 8
and eax, 0xff0000
add eax, edx
mov edx, dword [esp + 0x90]
mov dword [ebx + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [ebx + 4], 0x3f3e
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x408288
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409910
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov dword [edx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edx + 4], 0x3f3f
lea esi, [esi]
nop
mov eax, dword [esp + 0x94]
sub eax, 5
cmp eax, 1
ja case.0x4064c4.16192
lea esi, [esi]
nop
mov edi, dword [esp + 0x44]
lea esi, [esi]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
nop
test edi, 0x200
jne 0x407670
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406b97
sar edi, 9
mov dword [eax + 0x30], 1
and edi, 1
mov dword [eax + 0x2c], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409b10
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edi + 4], 0x3f3f
jmp case.0x4064c4.16191
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x44]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f43
test esi, esi
je 0x407778
cmp ebp, esi
mov eax, dword [esp + 0x38]
cmovbe esi, ebp
cmp esi, eax
cmova esi, eax
test esi, esi
je 0x408342
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [esp + 8], esi
sub ebp, esi
mov dword [esp + 4], edi
add edi, esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x28]
sub dword [esp + 0x38], esi
add dword [esp + 0x44], esi
sub dword [eax + 0x44], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], edi
jmp 0x4064ba
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x407f76
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x407f76
cmp ebx, 0x1f
ja 0x406ca7
test ebp, ebp
je 0x406b58
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x406c88
test ebp, ebp
je 0x4075ec
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x406c80
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp dword [eax + 0x20], esi
je 0x407f6c
mov esi, dword [esp + 0x90]
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
test edi, 0x800
jne 0x407790
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406cfd
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
mov dword [eax + 0x44], 0
mov dword [eax + 4], 0x3f3b
test edi, 0x1000
jne 0x4076f8
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406d2d
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f3c
jmp 0x406b70
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
jmp 0x406d0f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x64]
mov dword [esp + 0x54], eax
add eax, dword [esi + 0x68]
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x4c]
jbe 0x406e42
mov ecx, dword [esi + 0x58]
mov eax, 0xffffffff
mov edx, dword [esi + 0x50]
shl eax, cl
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
not eax
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
and ecx, edx
lea esi, [esi + ecx*4]
movzx ecx, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, cl
cmp ebx, esi
jae 0x406dff
test ebp, ebp
je 0x407e99
mov ecx, ebx
jmp 0x406dc8
test ebp, ebp
je 0x407810
movzx ebx, byte [eax]
mov edi, dword [esp + 0x48]
add eax, 1
sub ebp, 1
shl ebx, cl
add ecx, 8
add edx, ebx
mov ebx, dword [esp + 0x2c]
and ebx, edx
lea esi, [edi + ebx*4]
movzx ebx, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, bl
cmp esi, ecx
ja 0x406dc0
mov byte [esp + 0x30], bl
mov ebx, ecx
movzx ecx, byte [esp + 0x30]
cmp di, 0xf
ja 0x407900
sub ebx, esi
mov esi, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], esi
add esi, 1
mov dword [ecx + 0x6c], esi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x30]
mov word [ecx + esi*2 + 0x74], di
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], esi
ja 0x406d98
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0x3f51
je case.0x4064c4.16209
cmp word [eax + 0x274], 0
jne 0x4083a2
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x6c]
mov edi, dword [eax + 0x60]
cmp esi, edi
jae 0x407de1
mov ecx, ebx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
cmp ecx, 2
ja 0x406f0a
test ebp, ebp
je 0x407f00
lea edx, [eax + 1]
movzx eax, byte [eax]
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov esi, dword [esp + 0x28]
mov edi, ebx
add dword [esp + 0x2c], 1
shr ebx, 3
mov eax, dword [esp + 0x2c]
and edi, 7
sub ecx, 3
mov word [esp + 0x30], di
mov edi, esi
mov dword [esi + 0x6c], eax
movzx eax, word [eax + eax + 0x40f49e]
movzx esi, word [esp + 0x30]
mov word [edi + eax*2 + 0x74], si
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x2c], edi
jae 0x407dd3
mov eax, edx
cmp ecx, 2
jbe 0x406ea9
mov edx, eax
jmp 0x406ec1
cmp ebx, 0xf
ja 0x406f55
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x406f38
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x406f30
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406f70
mov ebx, dword [esp + 0x30]
movzx edx, bl
shr ebx, 8
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x14]
mov edi, edx
test dh, 2
je 0x406f88
test byte [eax + 0xc], 4
jne 0x407d0e
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f38
test dh, 4
jne 0x407c4c
mov dword [esp + 0x30], 0
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x24]
xor eax, eax
test edx, edx
je 0x406fba
mov dword [edx + 0x10], 0
mov esi, dword [esp + 0x28]
mov dword [esi + 4], 0x3f39
test eax, eax
je 0x407067
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x44]
cmp ebp, eax
mov esi, eax
cmovbe esi, ebp
test esi, esi
je 0x407058
mov edx, dword [edx + 0x24]
test edx, edx
je 0x40702c
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x40702c
mov edi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x4c], edi
sub edi, eax
add eax, edx
sub eax, dword [esp + 0x4c]
lea ecx, [esi + edi]
cmp ecx, edx
mov edx, dword [esp + 0x48]
cmovbe eax, esi
add edx, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0x14]
and edi, 0x200
je 0x407042
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x407eb2
mov edx, dword [esp + 0x28]
add dword [esp + 0x2c], esi
sub ebp, esi
mov eax, dword [edx + 0x44]
mov dword [esp + 0x48], eax
sub eax, esi
mov dword [edx + 0x44], eax
test eax, eax
jne 0x406b50
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x44], 0
mov dword [eax + 4], 0x3f3a
jmp 0x406cdf
cmp ebx, 0x1f
ja 0x4070c5
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x4070a8
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x4070a0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4070d7
mov ebx, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x28]
test byte [eax + 0x15], 2
je 0x4070eb
test byte [eax + 0xc], 4
jne 0x407f1b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f37
jmp 0x406f15
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
mov eax, edi
and eax, 0x400
jmp 0x406fc5
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x44]
jmp 0x406be2
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x34], 1
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x14]
mov edi, edx
test dh, 4
je 0x406fa6
cmp ebx, 0xf
ja 0x4071a5
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x407188
test ebp, ebp
je 0x407868
movzx eax, byte [ebx]
add ebx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x407180
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [eax + 0x44], ebx
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4071ba
mov dword [eax + 0x14], ebx
test dh, 2
je 0x4071cd
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x40821a
mov eax, edx
mov dword [esp + 0x30], 0
mov edi, edx
xor ebx, ebx
and eax, 0x400
jmp 0x406fba
mov dword [esp + 0x34], 0xfffffffc
jmp 0x4064e0
cmp ebx, 0xf
ja 0x40723f
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x407220
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x407218
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
cmp al, 8
je 0x407c87
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [esi + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
sub ebx, 3
shr dword [esp + 0x30], 3
mov dword [eax + 4], 0x3f44
lea esi, [esi]
nop
cmp ebx, 0xd
ja 0x4072d7
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x4072b8
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xd
jbe 0x4072b0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub ebx, 0xe
mov eax, esi
mov edi, esi
mov edx, esi
shr esi, 0xe
shr eax, 5
shr edi, 0xa
and edx, 0x1f
mov dword [esp + 0x30], esi
and eax, 0x1f
and edi, 0xf
add edx, 0x101
add eax, 1
add edi, 4
mov dword [ecx + 0x64], edx
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x60], edi
cmp edx, 0x11e
ja 0x407324
cmp eax, 0x1e
jbe 0x407f96
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
cmp ebx, 2
ja 0x408196
test ebp, ebp
je 0x4081b8
mov eax, dword [esp + 0x2c]
mov ecx, ebx
sub ebp, 1
add ebx, 8
lea edx, [eax + 1]
movzx eax, byte [eax]
shl eax, cl
add dword [esp + 0x30], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, esi
and eax, 1
mov dword [edi + 8], eax
mov eax, esi
shr eax, 1
and eax, 3
cmp eax, 2
je 0x407270
cmp eax, 3
je 0x407da5
cmp eax, 1
je 0x40673d
shr esi, 3
mov dword [edi + 4], 0x3f41
sub ebx, 3
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [esp + 0x30], cl
cmp ebx, 0x1f
ja 0x40740f
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x4073f0
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x4073e8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov eax, dword [esp + 0x30]
movzx esi, ax
shr eax, 0x10
xor eax, 0xffff
cmp esi, eax
je 0x407cb7
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0
xor ebx, ebx
mov dword [esp + 0x3c], eax
lea esi, [esi]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4f
jmp 0x406c4b
mov eax, dword [esp + 0x28]
mov esi, 0xffffffff
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x50]
mov dword [eax + 0x1bc8], 0
mov eax, dword [esp + 0x30]
shl esi, cl
mov dword [esp + 0x48], edx
not esi
and eax, esi
lea eax, [edx + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
movzx edi, word [eax + 2]
movzx eax, cl
cmp eax, ebx
jbe 0x407516
test ebp, ebp
je 0x406b50
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
jmp 0x4074d0
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
mov edi, dword [esp + 0x48]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
mov eax, dword [esp + 0x2c]
and eax, ebx
lea esi, [edi + eax*4]
movzx eax, byte [esi]
movzx edi, word [esi + 2]
mov byte [esp + 0x4c], al
movzx eax, byte [esi + 1]
movzx esi, al
cmp esi, ecx
ja 0x4074c8
mov dword [esp + 0x2c], edx
movzx edx, byte [esp + 0x4c]
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov ecx, eax
mov eax, esi
test dl, dl
je 0x406643
test dl, 0xf0
je 0x408089
mov esi, dword [esp + 0x28]
mov ecx, eax
sub ebx, eax
shr dword [esp + 0x30], cl
mov dword [esi + 0x1bc8], eax
mov dword [esi + 0x44], edi
test dl, 0x20
je 0x407ed5
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1bc8], 0xffffffff
mov dword [eax + 4], 0x3f3f
jmp case.0x4064c4.16191
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x3c]
sub esi, edx
mov edx, esi
cmp ecx, eax
jae 0x407a68
mov esi, dword [esp + 0x48]
sub eax, ecx
add ecx, dword [edi + 0x2c]
add edx, ecx
add esi, edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x44]
cmp edx, eax
cmovbe eax, edx
mov edi, dword [esp + 0x38]
cmp eax, edi
cmova eax, edi
sub edi, eax
sub edx, eax
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x28]
mov dword [edi + 0x44], edx
mov edi, dword [esp + 0x44]
add eax, edi
lea esi, [esi]
movsb byte es:[edi], byte [esi]
cmp edi, eax
jne 0x4075b8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 0x44]
test edi, edi
je case.0x4064c4.16199
mov eax, dword [eax + 4]
jmp 0x4064ba
mov edi, dword [esp + 0x44]
jmp 0x40654c
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov dword [esp + 0x2c], edx
jmp 0x406b58
sub eax, 0xffffff80
jmp 0x4068fe
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
sub eax, dword [esp + 0x3c]
mov edx, dword [edi + 0x1c]
add eax, dword [ebx + 0xc]
mov ebx, dword [edi + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
test ebx, ebx
mov dword [esp], edx
je 0x407660
call fcn.00409b10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x90]
mov dword [edx + 0x1c], eax
mov dword [ebx + 0x30], eax
jmp 0x4068c5
call fcn.00409910
mov ecx, dword [esp + 0x2c]
jmp 0x407644
cmp ebx, 0xf
ja 0x4076b7
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x407698
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x407690
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov edx, dword [esp + 0x28]
test byte [edx + 0xc], 4
je 0x4078f0
movzx eax, word [edx + 0x1c]
cmp eax, dword [esp + 0x30]
je 0x4078f0
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [edx + 4], 0x3f51
jmp 0x406804
test ebp, ebp
je 0x406b50
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x28]
xor esi, esi
lea esi, [esi]
mov eax, dword [esp + 0x2c]
add esi, 1
movzx edx, byte [eax + esi - 1]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x40773b
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x40773b
mov edi, dword [ecx + 0x44]
cmp edi, dword [eax + 0x28]
jae 0x40773b
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
mov byte [ebx + edi], dl
test dl, dl
je 0x407743
cmp ebp, esi
ja 0x407710
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
test byte [eax + 0x15], 2
je 0x40775b
test byte [eax + 0xc], 4
jne 0x407c5b
add dword [esp + 0x2c], esi
sub ebp, esi
test dl, dl
jne 0x406b50
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
jmp 0x406d2d
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f3f
jmp case.0x4064c4.16191
test ebp, ebp
je 0x406b50
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x28]
xor esi, esi
lea esi, [esi]
mov eax, dword [esp + 0x2c]
add esi, 1
movzx edx, byte [eax + esi - 1]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4077d3
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x4077d3
mov edi, dword [ecx + 0x44]
cmp edi, dword [eax + 0x20]
jae 0x4077d3
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
mov byte [ebx + edi], dl
test dl, dl
je 0x4077db
cmp ebp, esi
ja 0x4077a8
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
test byte [eax + 0x15], 2
je 0x4077f3
test byte [eax + 0xc], 4
jne 0x407ce2
add dword [esp + 0x2c], esi
sub ebp, esi
test dl, dl
jne 0x406b50
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
jmp 0x406cfd
mov ebx, ecx
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x44]
mov ebx, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov esi, dword [esp + 0x44]
sub esi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x44]
mov edx, eax
jmp 0x407597
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x44]
mov ebx, ecx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
jmp 0x406818
cmp ebx, edx
jae 0x4078c2
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x4078a4
test ebp, ebp
je 0x407868
movzx eax, byte [ebx]
add ebx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, edx
jb 0x4078a0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov ebx, ecx
mov ecx, edx
mov eax, 0xffffffff
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
shl eax, cl
sub ebx, edx
not eax
add dword [esi + 0x1bc8], edx
and eax, edi
shr edi, cl
add eax, dword [esi + 0x44]
mov dword [esi + 0x44], eax
mov dword [esp + 0x30], edi
jmp 0x40694e
mov dword [esp + 0x30], 0
xor ebx, ebx
jmp 0x406b7c
cmp di, 0x10
je 0x407faf
cmp di, 0x11
je 0x407d44
lea edi, [esi + 7]
cmp edi, ebx
jbe 0x407950
test ebp, ebp
je 0x407e99
mov ecx, ebx
mov ebx, esi
mov esi, edi
jmp 0x407938
test ebp, ebp
je 0x407810
movzx edi, byte [eax]
add eax, 1
sub ebp, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp esi, ecx
ja 0x407930
mov esi, ebx
mov ebx, ecx
mov ecx, esi
sub ebx, esi
xor esi, esi
shr edx, cl
sub ebx, 7
mov ecx, edx
and edx, 0x7f
add edx, 0xb
mov dword [esp + 0x30], edx
mov edx, ecx
shr edx, 7
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x50]
ja 0x40842a
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x6c]
mov dword [esp + 0x4c], edi
lea edi, [ecx + edi*2]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x28]
lea edi, [edi + ecx*2]
mov ecx, dword [esp + 0x58]
lea esi, [esi]
mov word [ecx + 0x74], si
add ecx, 2
cmp edi, ecx
jne 0x4079b0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov dword [edi + 0x6c], esi
jmp 0x406e2c
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
movzx eax, word [esp + 0x4c]
and esi, 0xf
mov dword [edi + 4], 0x3f4b
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], esi
jmp 0x406797
cmp ebx, esi
jae 0x407a36
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x407a18
test ebp, ebp
je 0x4075e8
movzx eax, byte [edx]
add edx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, esi
jb 0x407a10
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov ecx, esi
mov eax, 0xffffffff
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
shl eax, cl
sub ebx, esi
not eax
add dword [edi + 0x1bc8], esi
and eax, edx
shr edx, cl
add dword [edi + 0x48], eax
mov dword [esp + 0x30], edx
jmp 0x40679f
add ecx, esi
mov esi, dword [esp + 0x48]
add esi, ecx
jmp 0x40758b
cmp ebx, 0xf
ja 0x407ab7
test ebp, ebp
je 0x406b50
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x407a98
test ebp, ebp
je 0x407868
movzx eax, byte [ebx]
add ebx, 1
sub ebp, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x407a90
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov ebx, ecx
mov eax, dword [esp + 0x28]
test dl, 2
je 0x407ace
cmp dword [esp + 0x30], 0x8b1f
je 0x4082da
mov dword [eax + 0x14], 0
mov eax, dword [eax + 0x24]
test eax, eax
je 0x407ae3
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x407f4a
mov eax, dword [esp + 0x30]
mov edx, 0x8421085
mov ecx, eax
shr eax, 8
shl ecx, 8
movzx ecx, cx
add ecx, eax
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
cmp ecx, edx
jne 0x407f4a
mov eax, dword [esp + 0x30]
and eax, 0xf
cmp eax, 8
je 0x408351
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x58], ecx
movzx ecx, byte [esp + 0x48]
add ecx, eax
mov eax, 0xffffffff
shl eax, cl
not eax
mov ecx, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
and eax, ecx
mov ecx, edx
shr eax, cl
add eax, dword [esp + 0x58]
lea eax, [esi + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x48], dl
movzx edx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x4c], dx
lea edx, [eax + edi]
cmp ebx, edx
jae 0x407c1c
test ebp, ebp
je 0x406b50
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x30]
jmp 0x407bc8
test ebp, ebp
je 0x407e8c
movzx eax, byte [esi]
mov ecx, ebx
add ebx, 8
add esi, 1
sub ebp, 1
shl eax, cl
movzx ecx, byte [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0x5c]
and eax, edi
shr eax, cl
mov ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x58]
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov byte [esp + 0x48], dl
mov edx, dword [esp + 0x54]
add edx, eax
cmp edx, ebx
ja 0x407bc0
mov dword [esp + 0x2c], esi
mov word [esp + 0x4c], cx
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ecx, edi
sub ebx, dword [esp + 0x50]
shr dword [esp + 0x30], cl
add edi, dword [edx + 0x1bc8]
jmp 0x406a1b
mov ebx, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov dword [esp + 0x30], 0
xor ebx, ebx
jmp 0x407167
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 8], esi
mov byte [esp + 0x48], dl
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call fcn.00409b10
movzx edx, byte [esp + 0x48]
mov dword [edi + 0x1c], eax
jmp 0x40775b
test dword [esp + 0x30], 0xe000
je 0x4081d1
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 0x44], esi
mov dword [eax + 4], 0x3f42
je 0x4084e9
mov dword [esp + 0x30], 0
xor ebx, ebx
jmp 0x406bd7
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 8], esi
mov byte [esp + 0x48], dl
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call fcn.00409b10
movzx edx, byte [esp + 0x48]
mov dword [edi + 0x1c], eax
jmp 0x4077f3
movzx eax, word [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 2
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call fcn.00409b10
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x1c], eax
mov edi, edx
jmp 0x406f88
lea edi, [esi + 3]
cmp ebx, edi
jae 0x407d80
test ebp, ebp
je 0x407e99
mov ecx, ebx
mov ebx, esi
mov esi, edi
jmp 0x407d68
test ebp, ebp
je 0x407810
movzx edi, byte [eax]
add eax, 1
sub ebp, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp ecx, esi
jb 0x407d60
mov esi, ebx
mov ebx, ecx
mov ecx, esi
shr edx, cl
mov ecx, edx
and edx, 7
add edx, 3
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, 0xfffffffd
sub ecx, esi
shr edx, 3
xor esi, esi
add ebx, ecx
jmp 0x40796c
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
sub ebx, 3
shr dword [esp + 0x30], 3
mov dword [eax + 0x18], str.invalid_block_type
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
cmp esi, 0x12
ja 0x407e1c
lea eax, [esi + esi + 0x40f4a0]
mov esi, dword [esp + 0x28]
mov ecx, 0x40f4c6
lea esi, [esi]
lea esi, [esi]
movzx edx, word [eax]
xor edi, edi
add eax, 2
mov word [esi + edx*2 + 0x74], di
cmp ecx, eax
jne 0x407e00
mov eax, dword [esp + 0x28]
mov dword [eax + 0x6c], 0x13
mov esi, dword [esp + 0x28]
lea eax, [esi + 0x534]
mov dword [esi + 0x58], 7
mov dword [esi + 0x70], eax
mov dword [esi + 0x50], eax
lea eax, [esi + 0x2f4]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x58]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x74]
mov dword [esp + 8], 0x13
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00408ef0
test eax, eax
je 0x40825f
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [esi + 4], 0x3f51
jmp 0x406804
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
jmp 0x406b50
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call fcn.00409b10
mov dword [edi + 0x1c], eax
jmp 0x407042
test dl, 0x40
je 0x408180
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], 0x40eb13
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x44]
mov ebx, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 4
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call fcn.00409b10
mov dword [ebx + 0x1c], eax
jmp 0x4070eb
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov dword [esp + 0x30], 0
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], 1
sub ecx, dword [esp + 0x38]
mov dword [eax + 4], 0x3f50
jmp 0x406818
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f45
jmp 0x406e92
lea edi, [esi + 2]
cmp edi, ebx
jbe 0x407fe6
test ebp, ebp
je 0x407e99
mov ecx, ebx
mov ebx, edi
jmp 0x407fd0
test ebp, ebp
je 0x407810
movzx edi, byte [eax]
add eax, 1
sub ebp, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp ebx, ecx
ja 0x407fc8
mov ebx, ecx
mov edi, dword [esp + 0x4c]
mov ecx, esi
sub ebx, esi
shr edx, cl
test edi, edi
je 0x40842a
mov edi, dword [esp + 0x28]
mov ecx, edx
mov esi, dword [esp + 0x4c]
shr edx, 2
and ecx, 3
sub ebx, 2
movzx esi, word [edi + esi*2 + 0x72]
lea edi, [ecx + 3]
mov dword [esp + 0x30], edi
jmp 0x40796c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xfffffffc
mov dword [eax + 4], 0x3f52
jmp 0x4064e0
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
jmp 0x406818
mov edx, dword [esp + 0x38]
sub edx, esi
mov esi, dword [esp + 0x28]
add edx, edi
mov ecx, dword [esi + 0x1c]
mov esi, dword [esi + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
test esi, esi
mov dword [esp], ecx
je 0x40827e
call fcn.00409b10
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov dword [edx + 0x1c], eax
mov edx, dword [edx + 0xc]
mov dword [esi + 0x30], eax
mov ecx, edx
and ecx, 4
jmp 0x4065d7
add edx, eax
mov esi, 0xffffffff
mov ecx, edx
mov edx, dword [esp + 0x30]
shl esi, cl
mov ecx, eax
not esi
and edx, esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x48]
shr edx, cl
add edx, edi
lea ecx, [esi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
mov word [esp + 0x50], si
movzx esi, byte [ecx + 1]
lea ecx, [esi + eax]
mov dword [esp + 0x58], ecx
cmp ebx, ecx
jae 0x408144
test ebp, ebp
je 0x406b50
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
jmp 0x4080f0
test ebp, ebp
je 0x4082c1
movzx edx, byte [edi]
mov ecx, ebx
mov esi, dword [esp + 0x48]
add ebx, 8
add edi, 1
sub ebp, 1
shl edx, cl
movzx ecx, byte [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0x54]
and edx, eax
shr edx, cl
add edx, dword [esp + 0x58]
lea ecx, [esi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
mov word [esp + 0x50], si
movzx esi, byte [ecx + 1]
mov ecx, dword [esp + 0x4c]
add ecx, esi
cmp ecx, ebx
ja 0x4080e8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x58]
sub ebx, esi
shr edi, cl
mov ecx, esi
shr edi, cl
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
mov dword [edi + 0x1bc8], eax
movzx eax, word [esp + 0x50]
mov dword [edi + 0x44], eax
test dl, dl
jne 0x40753c
jmp 0x406656
mov eax, dword [esp + 0x28]
and edx, 0xf
mov dword [eax + 0x4c], edx
mov dword [eax + 4], 0x3f49
jmp 0x40693f
mov edx, dword [esp + 0x2c]
jmp 0x407379
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 4], 0x3f47
jne case.0x4064c4.16199
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x34], 0
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x4081e8
mov eax, dword [esp + 0x30]
shr eax, 8
and eax, 1
mov dword [edx], eax
test dword [esp + 0x30], 0x200
je 0x408200
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x4084b8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f36
jmp 0x407085
movzx eax, word [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 2
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call fcn.00409b10
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x30], 0
mov dword [ebx + 0x1c], eax
xor ebx, ebx
mov eax, edi
and eax, 0x400
jmp 0x406fba
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f46
jmp 0x406d5b
call fcn.00409910
jmp 0x40806b
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], 2
mov edi, dword [esp + 0x44]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edi
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x28]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], ebx
jmp 0x4064e0
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
jmp 0x406818
cmp dword [eax + 0x28], 0
jne 0x4082e7
mov dword [eax + 0x28], 0xf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409b10
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x6c]
mov word [esp + 0x6c], 0x8b1f
mov dword [ebx + 0x1c], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409b10
mov dword [ebx + 4], 0x3f35
mov dword [ebx + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x30], 0
jmp 0x4071fd
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
sub ecx, eax
jmp 0x406818
shr dword [esp + 0x30], 4
mov eax, dword [esp + 0x30]
sub ebx, 4
mov edx, dword [esp + 0x28]
and eax, 0xf
mov ecx, eax
mov eax, dword [edx + 0x28]
add ecx, 8
test eax, eax
jne 0x408454
mov dword [edx + 0x28], ecx
cmp ecx, 0xf
jbe 0x408465
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_window_size
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov eax, edx
mov dword [edx + 0x58], 9
lea edi, [edx + 0x2f4]
lea esi, [edx + 0x70]
add eax, 0x534
mov dword [edx + 0x70], eax
mov dword [edx + 0x50], eax
mov eax, edx
lea edx, [edx + 0x74]
add eax, 0x58
mov dword [esp + 4], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp], 1
mov dword [esp + 0x48], edx
call fcn.00408ef0
mov edx, dword [esp + 0x48]
test eax, eax
je 0x408529
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [eax + 4], 0x3f51
jmp 0x406804
mov edi, dword [esp + 0x44]
jmp 0x406804
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp 0x406804
cmp ecx, 0xf
ja 0x408380
cmp eax, ecx
jb 0x408380
mov ebx, dword [esp + 0x28]
mov eax, 1
shl eax, cl
mov dword [ebx + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409910
and dword [esp + 0x30], 0x200
mov edx, dword [esp + 0x90]
mov dword [ebx + 0x1c], eax
mov dword [edx + 0x30], eax
jne 0x40858f
mov dword [ebx + 4], 0x3f3f
xor ebx, ebx
jmp case.0x4064c4.16191
movzx eax, word [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 2
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call fcn.00409b10
mov dword [ebx + 0x1c], eax
jmp 0x408200
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], 0
xor ebx, ebx
sub ecx, dword [esp + 0x38]
jmp 0x406818
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
sub ebx, 3
mov dword [esp + 0x34], 0
sub ecx, dword [esp + 0x38]
shr dword [esp + 0x30], 3
jmp 0x406818
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x70]
mov dword [ecx + 0x5c], 6
mov dword [ecx + 0x54], eax
lea eax, [ecx + 0x5c]
mov dword [esp + 0xc], esi
mov esi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x68]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x64]
mov dword [esp], 2
add eax, eax
add eax, edx
mov dword [esp + 4], eax
call fcn.00408ef0
test eax, eax
je 0x40819f
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [esi + 4], 0x3f51
jmp 0x406804
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f3d
jmp 0x406a65