Function at 0x406670
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.0x406747
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je case.default.0x406747
mov edx, dword [eax + 0x24]
test edx, edx
je case.default.0x406747
call fcn.004062c0
test eax, eax
mov dword [esp + 0x48], eax
jne case.default.0x406747
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x44], eax
je case.default.0x406747
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x90]
mov eax, dword [eax]
mov edi, dword [esi + 4]
test eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
je 0x406884
mov eax, dword [esp + 0x90]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ebx + 4]
cmp eax, 0x3f3f
jne 0x40670d
mov dword [ebx + 4], 0x3f40
mov eax, 0x3f40
mov esi, dword [esp + 0x90]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 0x2c], ebx
mov edi, dword [esi + 0x10]
mov esi, dword [ebx + 0x3c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x406747
jmp dword [eax*4 + 0x410290]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x407c40
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0x3f40
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4068a0
mov ecx, ebp
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
and ecx, 7
shr dword [esp + 0x30], cl
and ebp, 0xfffffff8
mov dword [ebx + 4], 0x3f4e
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x407bf0
cmp ebp, 0x1f
ja 0x4067f4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x407a00
mov ecx, ebp
mov esi, dword [esp + 0x38]
mov ebp, ebx
mov edi, dword [esp + 0x28]
mov ebx, edx
mov edx, dword [esp + 0x30]
jmp 0x4067cc
test edi, edi
je 0x407f70
add esi, 1
movzx eax, byte [esi - 1]
sub edi, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x4067c4
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], esi
mov edx, ebx
mov dword [esp + 0x28], edi
mov ebx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x34]
add dword [ecx + 0x14], eax
mov ecx, edx
add dword [ebx + 0x20], eax
and ecx, 4
je 0x406818
test eax, eax
jne 0x408408
test ecx, ecx
je 0x407bd9
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x30]
test ecx, ecx
mov eax, edi
jne 0x406851
mov ecx, edi
shr eax, 0x18
shl ecx, 0x18
add eax, ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, edi
shl ecx, 8
and ecx, 0xff0000
add eax, ecx
cmp dword [ebx + 0x1c], eax
je 0x407bd9
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], 0x3f51
mov dword [esp + 0x40], eax
jmp 0x406d80
test edi, edi
je 0x4066ed
lea esi, [esi]
mov dword [esp + 0x2c], 0xfffffffe
jmp 0x40761c
cmp ebp, 2
ja 0x4083b9
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4083d9
lea edx, [ebx + 1]
movzx ebx, byte [ebx]
mov ecx, ebp
sub dword [esp + 0x28], 1
add ebp, 8
shl ebx, cl
add dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, ebx
and ecx, 1
mov dword [esi + 8], ecx
mov ecx, ebx
shr ecx, 1
and ecx, 3
cmp ecx, 2
je 0x4076b3
cmp ecx, 3
je 0x4080d5
cmp ecx, 1
je 0x406a84
shr ebx, 3
mov dword [esi + 4], 0x3f41
sub ebp, 3
mov dword [esp + 0x30], ebx
mov ebx, edx
mov ecx, ebp
and ebp, 0xfffffff8
and ecx, 7
shr dword [esp + 0x30], cl
cmp ebp, 0x1f
ja 0x406968
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x406948
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406940
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov ebp, ecx
mov eax, dword [esp + 0x30]
movzx edx, ax
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x407f90
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x406d70
mov edi, dword [esp + 0x2c]
add dword [esp + 0x44], 1
sub ecx, 1
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x44]
mov byte [edx], al
mov dword [edi + 4], 0x3f48
mov eax, dword [esp + 0x28]
cmp eax, 5
jbe 0x407a10
mov edx, dword [esp + 0x34]
cmp edx, 0x101
jbe 0x407a10
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx], ebx
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edx
mov dword [edi + 0x40], ebp
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov eax, dword [esp + 0x90]
mov ebp, 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 + 0x34], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
cmp eax, 0x3f3f
jne 0x406739
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x1bc8], 0xffffffff
jmp case.0x406747.16191
cmp dword [esp + 0x94], 6
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x50], 0x4103a0
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x410320
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
je 0x4087d6
shr dword [esp + 0x30], 3
sub ebp, 3
mov ebx, edx
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0x3f48
jmp case.0x406747.16200
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x407e90
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0x3f4c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x406d70
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [esi + 0x48]
cmp eax, edx
jbe 0x407e60
sub eax, edx
cmp dword [esi + 0x30], eax
jae 0x407790
mov ecx, dword [esi + 0x1bc4]
test ecx, ecx
je 0x407790
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, esi
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], 0x410245
mov dword [esi + 4], 0x3f51
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x407b61
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x1bcc], eax
mov dword [esi + 4], 0x3f4a
mov eax, dword [esp + 0x2c]
mov esi, 0xffffffff
mov ecx, dword [eax + 0x5c]
mov edi, dword [eax + 0x54]
mov eax, dword [esp + 0x30]
shl esi, cl
not esi
and eax, esi
lea eax, [edi + eax*4]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov byte [esp + 0x38], cl
mov word [esp + 0x4c], ax
movzx eax, dl
cmp eax, ebp
mov dword [esp + 0x50], eax
jbe 0x406c1d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
mov dword [esp + 0x54], esi
mov ecx, ebp
mov esi, edi
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
jmp 0x406bd8
test ebp, ebp
je 0x407e41
add ebx, 1
movzx eax, byte [ebx - 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [esp + 0x54]
and eax, edi
lea eax, [esi + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x38], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [esp + 0x4c], ax
movzx eax, dl
cmp eax, ecx
mov dword [esp + 0x50], eax
ja 0x406bd0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], edi
mov ebp, ecx
mov edi, esi
test byte [esp + 0x38], 0xf0
mov esi, eax
je 0x407d30
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x1bc8]
mov ecx, eax
add esi, eax
shr dword [esp + 0x30], cl
sub ebp, eax
test byte [esp + 0x38], 0x40
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x1bc8], esi
je 0x407f21
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, ecx
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], 0x41022f
mov dword [ecx + 4], 0x3f51
jmp 0x406d80
cmp ebp, 0x1f
ja 0x406cc6
mov edi, dword [esp + 0x28]
test edi, edi
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x406ca8
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x406ca0
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x30], 0
mov edx, esi
mov ecx, esi
mov eax, esi
shr edx, 0x18
shl ecx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, edx
lea edx, [ecx + eax]
mov eax, esi
mov esi, dword [esp + 0x90]
shl eax, 8
and eax, 0xff0000
add eax, edx
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edi + 4], 0x3f3e
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x40859a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409a30
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x90]
mov dword [edx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edx + 4], 0x3f3f
mov eax, dword [esp + 0x94]
sub eax, 5
cmp eax, 1
ja case.0x406747.16192
mov esi, esi
lea edi, [edi]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], edi
mov esi, eax
mov eax, dword [esp + 0x34]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov edi, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov esi, dword [ebx + 0x2c]
mov dword [ebx + 0x40], ebp
mov dword [ebx + 0x3c], edi
test esi, esi
jne 0x406de0
mov esi, dword [esp + 0x40]
cmp eax, esi
je 0x406e1c
mov eax, dword [ebx + 4]
cmp eax, 0x3f50
ja 0x406e1c
cmp eax, 0x3f4d
jbe 0x406de0
cmp dword [esp + 0x94], 4
je 0x406e1c
nop
lea esi, [esi]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x90]
call fcn.00406170
test eax, eax
jne 0x40760d
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
sub edi, dword [esp + 0x28]
sub esi, dword [esp + 0x34]
add dword [eax + 8], edi
add dword [eax + 0x14], esi
add dword [ebx + 0x20], esi
test byte [ebx + 0xc], 4
je 0x406e4a
test esi, esi
jne 0x407800
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x40]
test edx, edx
je 0x406e57
add eax, 0x40
mov edx, dword [ebx + 4]
cmp edx, 0x3f3f
je 0x4077f0
cmp edx, 0x3f47
je 0x406e76
cmp edx, 0x3f42
jne 0x406e7e
mov dword [esp + 0x48], 0x100
add eax, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
or edi, esi
mov dword [edx + 0x2c], eax
je 0x406e9e
cmp dword [esp + 0x94], 4
jne 0x40761c
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40761c
mov dword [esp + 0x2c], 0xfffffffb
jmp 0x40761c
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
test ah, 2
jne 0x406f87
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x406eeb
sar eax, 9
mov dword [edx + 0x30], 1
and eax, 1
mov dword [edx + 0x2c], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409c10
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x90]
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edi + 4], 0x3f3f
jmp case.0x406747.16191
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
test ah, 8
jne 0x407930
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x406f46
mov dword [edx + 0x1c], 0
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x44], 0
mov dword [edx + 4], 0x3f3b
test ah, 0x10
jne 0x407880
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x24]
test edx, edx
je 0x406f73
mov dword [edx + 0x24], 0
mov esi, dword [esp + 0x2c]
test ah, 2
mov dword [esi + 4], 0x3f3c
je 0x406ed0
cmp ebp, 0xf
ja 0x406fcc
mov esi, dword [esp + 0x28]
test esi, esi
je 0x406d70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x406fac
test esi, esi
je 0x407854
add ebx, 1
movzx edx, byte [ebx - 1]
sub esi, 1
shl edx, cl
add ecx, 8
add edi, edx
cmp ecx, 0xf
jbe 0x406fa4
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov ebp, ecx
mov esi, dword [esp + 0x2c]
test byte [esi + 0xc], 4
je 0x407c00
movzx edx, word [esi + 0x1c]
cmp edx, dword [esp + 0x30]
je 0x407c00
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, esi
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [esi + 4], 0x3f51
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
jmp 0x406f58
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0x3f43
test edx, edx
je 0x4079e0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov eax, edx
cmp edi, edx
cmovbe eax, edi
cmp eax, ecx
cmova eax, ecx
test eax, eax
mov esi, eax
je 0x406d70
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
sub edi, esi
mov dword [esp + 4], ebx
add ebx, esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
sub dword [esp + 0x34], esi
add dword [esp + 0x44], esi
sub dword [eax + 0x44], esi
mov eax, dword [eax + 4]
jmp 0x406739
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x44]
jmp 0x407032
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4083f4
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4083f4
cmp ebp, 0x1f
ja 0x40710c
mov edi, dword [esp + 0x28]
test edi, edi
je 0x407a00
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x30]
jmp 0x4070e8
test esi, esi
je 0x407e74
add edx, 1
movzx eax, byte [edx - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edi, eax
cmp ecx, 0x1f
jbe 0x4070e0
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], esi
mov ebp, ecx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x30]
cmp dword [ebx + 0x20], eax
je 0x4083ea
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x6c]
mov esi, dword [eax + 0x60]
cmp edi, esi
jae 0x408008
mov ecx, ebp
add esi, 1
add edi, 1
cmp ecx, 2
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
ja 0x4071c6
test ebp, ebp
je 0x4080b6
movzx eax, byte [ebx]
lea edx, [ebx + 1]
sub ebp, 1
shl eax, cl
add ecx, 8
add esi, eax
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
sub ecx, 3
movzx eax, word [ebx + ebx + 0x410b9e]
mov dword [edi + 0x6c], ebx
mov ebx, esi
and ebx, 7
shr esi, 3
mov word [edi + eax*2 + 0x74], bx
mov eax, dword [esp + 0x38]
add eax, 1
cmp dword [esp + 0x28], eax
je 0x407ff8
cmp ecx, 2
mov dword [esp + 0x38], eax
mov ebx, edx
jbe 0x40716f
mov edx, ebx
jmp 0x407187
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov esi, dword [eax + 0x64]
add eax, 0x74
mov dword [esp + 0x58], esi
add esi, dword [eax - 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x50], edx
jbe 0x40854b
mov eax, dword [esp + 0x2c]
mov edx, 0xffffffff
mov ecx, dword [eax + 0x50]
mov ebx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x58]
shl edx, cl
not edx
mov eax, edx
mov dword [esp + 0x30], edx
and eax, esi
lea eax, [ebx + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, word [eax + 2]
movzx eax, cl
cmp ebp, eax
jae 0x40728d
test edi, edi
je 0x4079f4
mov ebx, dword [esp + 0x38]
mov ecx, ebp
jmp 0x407259
test edi, edi
je 0x407b20
add ebx, 1
movzx eax, byte [ebx - 1]
mov edx, dword [esp + 0x28]
sub edi, 1
shl eax, cl
add ecx, 8
add esi, eax
mov eax, dword [esp + 0x30]
and eax, esi
lea edx, [edx + eax*4]
movzx ebp, byte [edx + 1]
movzx edx, word [edx + 2]
cmp ebp, ecx
mov eax, ebp
ja 0x407251
mov ebp, ecx
mov dword [esp + 0x38], ebx
mov ecx, eax
cmp dx, 0xf
jbe 0x407c10
cmp dx, 0x10
je 0x4081eb
cmp dx, 0x11
je 0x40813a
lea ebx, [eax + 7]
cmp ebp, ebx
mov edx, ebx
jae 0x4072f5
test edi, edi
je 0x4079f4
mov ecx, ebp
mov ebx, dword [esp + 0x38]
mov ebp, eax
mov eax, edx
jmp 0x4072d8
test edi, edi
je 0x407b20
add ebx, 1
movzx edx, byte [ebx - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp ecx, eax
jb 0x4072d0
mov eax, ebp
mov dword [esp + 0x38], ebx
mov ebp, ecx
mov edx, esi
mov ecx, eax
sub ebp, eax
shr edx, cl
sub ebp, 7
mov esi, edx
shr edx, 7
and esi, 0x7f
lea ecx, [esi + 0xb]
mov esi, edx
xor edx, edx
mov eax, dword [esp + 0x4c]
add ecx, eax
cmp ecx, dword [esp + 0x50]
mov ebx, ecx
mov dword [esp + 0x28], ecx
ja 0x40873c
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + eax*2 + 0x74]
mov ecx, dword [esp + 0x54]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x38]
nop
lea esi, [esi]
mov word [eax], dx
add eax, 2
cmp eax, ecx
jne 0x407340
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x6c], eax
jmp 0x407200
cmp ebp, 0x1f
ja 0x4073a6
mov esi, dword [esp + 0x28]
test esi, esi
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407388
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x407380
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4073b8
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x2c]
test byte [eax + 0x15], 2
je 0x4073cc
test byte [eax + 0xc], 4
jne 0x408374
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f37
jmp 0x4073e8
cmp ebp, 0xf
ja 0x407426
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407408
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x407400
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x407443
mov ecx, dword [esp + 0x30]
movzx edx, cl
mov dword [eax + 8], edx
mov edx, ecx
shr edx, 8
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
test ah, 2
je 0x407490
test byte [edx + 0xc], 4
je 0x407490
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], dh
mov dword [esp], eax
call fcn.00409c10
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x14]
lea esi, [esi]
lea edi, [edi]
mov esi, dword [esp + 0x2c]
test ah, 4
mov dword [esi + 4], 0x3f38
jne 0x407e10
xor ebp, ebp
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x24]
test edx, edx
je 0x4074c0
mov dword [edx + 0x10], 0
mov esi, dword [esp + 0x2c]
mov dword [esi + 4], 0x3f39
test ah, 4
je 0x407563
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [edx + 0x44]
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x407554
mov edx, dword [edx + 0x24]
test edx, edx
je 0x407529
mov edi, dword [edx + 0x10]
test edi, edi
je 0x407529
mov eax, dword [edx + 0x14]
sub eax, ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 4], ebx
lea edx, [esi + eax]
mov dword [esp + 0x38], edx
mov edx, ecx
sub edx, eax
cmp dword [esp + 0x38], ecx
cmovbe edx, esi
add eax, edi
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
test ah, 2
je 0x40753c
mov eax, dword [esp + 0x2c]
test byte [eax + 0xc], 4
jne 0x4081ce
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x28], esi
add ebx, esi
mov edx, dword [eax + 0x44]
mov ecx, edx
mov dword [esp + 0x38], edx
sub ecx, esi
mov dword [eax + 0x44], ecx
test ecx, ecx
jne 0x406d70
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x44], 0
mov dword [ecx + 4], 0x3f3a
jmp 0x406f2b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
test ah, 4
je 0x4074ae
cmp ebp, 0xf
ja 0x4075d6
mov edx, dword [esp + 0x28]
test edx, edx
je 0x406d70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x4075b8
test esi, esi
je 0x407854
add ebx, 1
movzx edx, byte [ebx - 1]
sub esi, 1
shl edx, cl
add ecx, 8
add edi, edx
cmp ecx, 0xf
jbe 0x4075b0
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x44], ecx
mov edx, dword [edx + 0x24]
test edx, edx
je 0x4075eb
mov dword [edx + 0x14], ecx
test ah, 2
je 0x4075fe
mov edx, dword [esp + 0x2c]
test byte [edx + 0xc], 4
jne 0x4084ee
xor ebp, ebp
mov dword [esp + 0x30], 0
jmp 0x4074c0
mov dword [ebx + 4], 0x3f52
mov dword [esp + 0x2c], 0xfffffffc
mov eax, dword [esp + 0x2c]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebp, 0xf
ja 0x407678
mov esi, dword [esp + 0x28]
test esi, esi
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407658
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x407650
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov ebp, ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp al, 8
mov dword [edx + 0x14], eax
je 0x407fc0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, edx
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx + 4], 0x3f51
jmp 0x406d80
mov eax, dword [esp + 0x2c]
shr dword [esp + 0x30], 3
sub ebp, 3
mov ebx, edx
mov dword [eax + 4], 0x3f44
nop
lea esi, [esi]
cmp ebp, 0xd
ja 0x407718
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x4076f8
test edx, edx
je 0x407835
add ebx, 1
movzx eax, byte [ebx - 1]
sub edx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xd
jbe 0x4076f0
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
mov ebp, ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
sub ebp, 0xe
mov eax, ecx
mov esi, ecx
mov edx, ecx
shr eax, 5
shr esi, 0xa
and edx, 0x1f
and eax, 0x1f
and esi, 0xf
add edx, 0x101
add eax, 1
add esi, 4
shr ecx, 0xe
cmp eax, 0x1e
mov dword [edi + 0x64], edx
mov dword [edi + 0x68], eax
mov dword [edi + 0x60], esi
mov dword [esp + 0x30], ecx
ja 0x407765
cmp edx, 0x11e
jbe 0x408267
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x34]
mov esi, dword [edi + 0x38]
cmp edx, eax
jb 0x407c30
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x44]
cmp edx, eax
cmovbe eax, edx
mov edi, dword [esp + 0x34]
cmp eax, edi
cmova eax, edi
sub edi, eax
sub edx, eax
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x44], edx
mov edi, dword [esp + 0x44]
add eax, edi
movsb byte es:[edi], byte [esi]
cmp edi, eax
jne 0x4077d0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], edi
mov edx, dword [eax + 0x44]
test edx, edx
je case.0x406747.16199
mov eax, dword [eax + 4]
jmp 0x406739
sub eax, 0xffffff80
jmp 0x406e7e
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 8], esi
mov dword [esp + 0x28], eax
sub eax, esi
test ecx, ecx
mov dword [esp + 4], eax
mov dword [esp], edx
je 0x407873
call fcn.00409c10
mov edx, dword [esp + 0x90]
mov dword [ebx + 0x1c], eax
mov dword [edx + 0x30], eax
jmp 0x406e4a
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], esi
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
jmp 0x406d80
call fcn.00409a30
jmp 0x407823
mov edi, dword [esp + 0x28]
test edi, edi
je 0x406d70
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x38], ebp
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ecx + 0x24]
add edi, 1
movzx edx, byte [ebx + edi - 1]
test eax, eax
je 0x4078c7
mov esi, dword [eax + 0x24]
test esi, esi
je 0x4078c7
mov ebp, dword [ecx + 0x44]
cmp ebp, dword [eax + 0x28]
jae 0x4078c7
lea eax, [ebp + 1]
mov dword [ecx + 0x44], eax
mov byte [esi + ebp], dl
test dl, dl
je 0x4078d1
cmp dword [esp + 0x28], edi
ja 0x4078a0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
test byte [eax + 0x15], 2
je 0x407910
test byte [eax + 0xc], 4
je 0x407910
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov esi, eax
mov eax, dword [eax + 0x1c]
mov byte [esp + 0x38], dl
mov dword [esp], eax
call fcn.00409c10
movzx edx, byte [esp + 0x38]
mov dword [esi + 0x1c], eax
lea esi, [esi]
lea edi, [edi]
add ebx, edi
sub dword [esp + 0x28], edi
test dl, dl
jne 0x406d70
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
jmp 0x406f73
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
xor edi, edi
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x2c]
jmp 0x407956
cmp dword [esp + 0x28], edi
jbe 0x407981
mov eax, dword [ecx + 0x24]
add edi, 1
movzx edx, byte [ebx + edi - 1]
test eax, eax
je 0x40797d
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x40797d
mov ebp, dword [ecx + 0x44]
cmp ebp, dword [eax + 0x20]
jae 0x40797d
lea eax, [ebp + 1]
mov dword [ecx + 0x44], eax
mov byte [esi + ebp], dl
test dl, dl
jne 0x407950
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
test byte [eax + 0x15], 2
je 0x4079c0
test byte [eax + 0xc], 4
je 0x4079c0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov esi, eax
mov eax, dword [eax + 0x1c]
mov byte [esp + 0x38], dl
mov dword [esp], eax
call fcn.00409c10
movzx edx, byte [esp + 0x38]
mov dword [esi + 0x1c], eax
lea esi, [esi]
lea edi, [edi]
add ebx, edi
sub dword [esp + 0x28], edi
test dl, dl
jne 0x406d70
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
jmp 0x406f46
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0x3f3f
jmp case.0x406747.16191
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x58]
mov edi, dword [eax + 0x50]
mov dword [eax + 0x1bc8], 0
mov eax, 0xffffffff
shl eax, cl
not eax
mov dword [esp + 0x4c], eax
and eax, dword [esp + 0x30]
lea eax, [edi + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
movzx esi, word [eax + 2]
movzx eax, cl
cmp eax, ebp
jbe 0x407ac8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x406d70
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov edi, dword [esp + 0x30]
jmp 0x407a78
test edx, edx
je 0x407f02
add ebx, 1
movzx eax, byte [ebx - 1]
mov esi, dword [esp + 0x38]
sub edx, 1
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [esp + 0x4c]
and eax, edi
lea esi, [esi + eax*4]
movzx ebp, byte [esi + 1]
movzx eax, byte [esi]
movzx esi, word [esi + 2]
cmp ebp, ecx
mov byte [esp + 0x50], al
mov eax, ebp
ja 0x407a70
mov dword [esp + 0x28], edx
movzx edx, byte [esp + 0x50]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
test dl, dl
mov dword [esp + 0x38], esi
je 0x407f43
test dl, 0xf0
je 0x408280
mov ecx, eax
shr dword [esp + 0x30], cl
mov ecx, dword [esp + 0x2c]
sub ebp, eax
mov dword [ecx + 0x1bc8], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x44], eax
test dl, 0x20
je 0x408107
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x1bc8], 0xffffffff
mov dword [eax + 4], 0x3f3f
jmp case.0x406747.16191
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edi
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 1
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
jmp 0x4074cb
cmp ebp, edx
jae 0x407ba7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407b88
test esi, esi
je 0x407854
add ebx, 1
movzx eax, byte [ebx - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edi, eax
cmp ecx, edx
jb 0x407b80
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov ebp, ecx
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [esp + 0x2c]
shl eax, cl
mov ecx, dword [esp + 0x30]
sub ebp, edx
not eax
add dword [esi + 0x1bc8], edx
and eax, ecx
add eax, dword [esi + 0x44]
mov edi, ecx
mov ecx, edx
shr edi, cl
mov dword [esp + 0x30], edi
mov dword [esi + 0x44], eax
jmp 0x406b66
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], eax
nop
lea esi, [esi]
mov dword [ebx + 4], 0x3f4f
jmp 0x4070ab
xor ebp, ebp
mov dword [esp + 0x30], 0
jmp 0x406ed0
shr esi, cl
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
sub ebp, eax
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
mov dword [esp + 0x4c], eax
mov word [ebx + ecx*2 + 0x74], dx
jmp 0x407200
sub eax, edx
sub esi, eax
add esi, dword [edi + 0x2c]
jmp 0x4077a6
cmp ebp, 0xf
ja 0x407c88
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x408649
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407c68
test esi, esi
je 0x407854
add ebx, 1
movzx eax, byte [ebx - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edi, eax
cmp ecx, 0xf
jbe 0x407c60
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov ebp, ecx
test dl, 2
mov eax, dword [esp + 0x2c]
je 0x407c9f
cmp dword [esp + 0x30], 0x8b1f
je 0x4085dd
mov dword [eax + 0x14], 0
mov eax, dword [eax + 0x24]
test eax, eax
je 0x407cb4
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x4081a4
mov eax, dword [esp + 0x30]
mov edx, 0x8421085
mov ecx, eax
shr eax, 8
shl ecx, 8
movzx ecx, cx
add ecx, eax
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 4
mov eax, edx
shl eax, 5
sub eax, edx
cmp ecx, eax
jne 0x4081a4
mov eax, dword [esp + 0x30]
and eax, 0xf
cmp eax, 8
je 0x40865c
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x54], ecx
movzx ecx, byte [esp + 0x38]
add ecx, eax
mov eax, 0xffffffff
shl eax, cl
mov ecx, edx
not eax
mov dword [esp + 0x5c], eax
and eax, dword [esp + 0x30]
shr eax, cl
add eax, dword [esp + 0x54]
lea eax, [edi + eax*4]
movzx edx, word [eax + 2]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
mov word [esp + 0x4c], dx
mov byte [esp + 0x38], cl
lea edx, [eax + esi]
cmp edx, ebp
jbe 0x407def
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406d70
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], esi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x407d9d
test edi, edi
je 0x4079f0
add ebx, 1
movzx eax, byte [ebx - 1]
mov ecx, ebp
mov edx, dword [esp + 0x58]
add ebp, 8
sub edi, 1
shl eax, cl
mov ecx, edx
add esi, eax
mov eax, dword [esp + 0x5c]
and eax, esi
shr eax, cl
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax]
mov byte [esp + 0x38], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
add edx, eax
cmp edx, ebp
ja 0x407d95
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x28], edi
mov word [esp + 0x4c], cx
mov edi, dword [esp + 0x2c]
mov ecx, esi
sub ebp, dword [esp + 0x50]
shr dword [esp + 0x30], cl
add esi, dword [edi + 0x1bc8]
jmp 0x406c34
mov dword [esp + 0x30], 0
xor ebp, ebp
jmp 0x407595
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x406794
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
jmp 0x406d80
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov esi, dword [esp + 0x44]
sub esi, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x44]
mov edx, eax
jmp 0x4077b2
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], esi
mov ebp, ecx
mov dword [esp + 0x30], edi
jmp 0x407a00
cmp ebp, edx
jae 0x407ed7
mov esi, dword [esp + 0x28]
test esi, esi
je 0x406d70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x407eb8
test esi, esi
je 0x407854
add ebx, 1
movzx eax, byte [ebx - 1]
sub esi, 1
shl eax, cl
add ecx, 8
add edi, eax
cmp ecx, edx
jb 0x407eb0
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov ebp, ecx
mov edi, dword [esp + 0x30]
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [esp + 0x2c]
shl eax, cl
sub ebp, edx
not eax
and eax, edi
shr edi, cl
add dword [esi + 0x48], eax
mov dword [esp + 0x30], edi
add dword [esi + 0x1bc8], edx
jmp 0x406ae2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
jmp 0x406d80
movzx edi, word [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
and edx, 0xf
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], edx
mov dword [eax + 4], 0x3f4b
jmp 0x406ada
mov edx, dword [esp + 0x2c]
sub ebp, eax
shr dword [esp + 0x30], cl
mov dword [edx + 0x1bc8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], 0x3f4d
jmp 0x4069b4
mov ebx, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edx
mov ebp, ecx
mov dword [esp + 0x2c], 0
jmp 0x406d80
cmp dword [esp + 0x94], 6
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x44], edx
mov dword [eax + 4], 0x3f42
je 0x4087fd
xor ebp, ebp
mov dword [esp + 0x30], 0
jmp 0x407027
test dword [esp + 0x30], 0xe000
je 0x40845c
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
mov ebx, edx
mov dword [esp + 0x30], esi
mov ebp, ecx
cmp edi, 0x12
ja 0x40803c
mov esi, dword [esp + 0x2c]
lea eax, [edi + edi + 0x410ba0]
mov ecx, 0x410bc6
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
xor edi, edi
cmp ecx, eax
mov word [esi + edx*2 + 0x74], di
jne 0x408020
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x6c], 0x13
mov edi, dword [esp + 0x2c]
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 7
mov dword [edi + 0x70], eax
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f4]
mov dword [esp + 8], 0x13
mov dword [esp], 0
mov dword [esp + 0x14], eax
lea eax, [edi + 0x58]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x70]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x74]
mov dword [esp + 4], eax
call fcn.00409040
test eax, eax
je 0x4084cf
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, edi
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edi + 4], 0x3f51
jmp 0x406d80
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
mov ebp, ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
sub ebp, 3
shr dword [esp + 0x30], 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
test dl, 0x40
je 0x408446
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], 0x410213
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
lea ebx, [eax + 3]
cmp ebx, ebp
mov edx, ebx
jbe 0x408185
test edi, edi
je 0x4079f4
mov ecx, ebp
mov ebx, dword [esp + 0x38]
mov ebp, eax
mov eax, edx
jmp 0x408168
test edi, edi
je 0x407b20
add ebx, 1
movzx edx, byte [ebx - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x408160
mov eax, ebp
mov dword [esp + 0x38], ebx
mov ebp, ecx
mov edx, esi
mov ecx, eax
sub ebp, eax
shr edx, cl
sub ebp, 3
mov esi, edx
shr edx, 3
and esi, 7
lea ecx, [esi + 3]
mov esi, edx
xor edx, edx
jmp 0x40730f
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov edi, eax
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call fcn.00409c10
mov dword [edi + 0x1c], eax
jmp 0x40753c
lea ebx, [eax + 2]
cmp ebx, ebp
mov edx, ebx
jbe 0x408235
test edi, edi
je 0x4079f4
mov ecx, ebp
mov ebx, dword [esp + 0x38]
mov ebp, eax
mov eax, edx
jmp 0x408218
test edi, edi
je 0x407b20
add ebx, 1
movzx edx, byte [ebx - 1]
sub edi, 1
shl edx, cl
add ecx, 8
add esi, edx
cmp eax, ecx
ja 0x408210
mov eax, ebp
mov dword [esp + 0x38], ebx
mov ebp, ecx
mov ebx, dword [esp + 0x4c]
mov ecx, eax
sub ebp, eax
shr esi, cl
test ebx, ebx
je 0x40873c
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x4c]
sub ebp, 2
movzx edx, word [eax + ebx*2 + 0x72]
mov eax, esi
shr esi, 2
and eax, 3
lea ecx, [eax + 3]
jmp 0x40730f
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f45
jmp 0x407152
lea ecx, [edx + eax]
mov edx, 0xffffffff
shl edx, cl
mov ecx, eax
not edx
mov dword [esp + 0x54], edx
and edx, dword [esp + 0x30]
shr edx, cl
add edx, esi
lea ecx, [edi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov word [esp + 0x50], si
mov esi, ecx
add ecx, eax
cmp ecx, ebp
mov dword [esp + 0x58], ecx
jbe 0x40833d
mov edx, dword [esp + 0x28]
test edx, edx
je 0x406d70
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
jmp 0x4082e8
test edi, edi
je 0x40852e
add ebx, 1
movzx edx, byte [ebx - 1]
mov ecx, ebp
mov esi, dword [esp + 0x58]
add ebp, 8
sub edi, 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 + 0x38]
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, ebp
ja 0x4082e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x30]
mov ecx, eax
sub ebp, eax
sub ebp, esi
mov eax, dword [esp + 0x58]
shr edi, cl
mov ecx, esi
mov esi, dword [esp + 0x2c]
shr edi, cl
test dl, dl
mov dword [esp + 0x30], edi
mov dword [esi + 0x1bc8], eax
movzx eax, word [esp + 0x50]
mov dword [esi + 0x44], eax
jne 0x407af6
jmp 0x407f5a
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], 4
mov eax, edx
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], dh
shr eax, 0x10
mov byte [esp + 0x6e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x6f], al
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call fcn.00409c10
mov dword [edi + 0x1c], eax
jmp 0x4073cc
mov edx, ebx
jmp 0x4068cb
cmp dword [esp + 0x94], 6
mov esi, dword [esp + 0x2c]
mov dword [esi + 4], 0x3f47
jne case.0x406747.16199
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
jmp 0x406d80
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [ebx + 4], 0x3f50
mov dword [esp + 0x2c], 1
jmp 0x406d80
mov esi, dword [ebx + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 8], eax
sub ecx, eax
test esi, esi
mov dword [esp + 4], ecx
mov dword [esp], edx
je 0x4085d3
call fcn.00409c10
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x90]
mov dword [ebx + 0x1c], eax
mov ecx, edx
mov dword [esi + 0x30], eax
and ecx, 4
jmp 0x406818
mov eax, dword [esp + 0x2c]
and edx, 0xf
mov dword [eax + 0x4c], edx
mov dword [eax + 4], 0x3f49
jmp 0x406b57
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x408473
mov eax, dword [esp + 0x30]
shr eax, 8
and eax, 1
mov dword [edx], eax
test dword [esp + 0x30], 0x200
je 0x4084b5
mov eax, dword [esp + 0x2c]
test byte [eax + 0xc], 4
je 0x4084b5
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], dh
mov dword [esp], eax
call fcn.00409c10
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f36
jmp 0x407367
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f46
jmp 0x4071db
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x6c]
mov dword [esp + 8], 2
mov edx, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov byte [esp + 0x6c], dl
mov byte [esp + 0x6d], dh
mov dword [esp], eax
call fcn.00409c10
mov dword [esp + 0x30], 0
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x14]
jmp 0x4074c0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
cmp dword [eax + 4], 0x3f51
je case.0x406747.16209
cmp word [eax + 0x274], 0
jne 0x4086b5
mov ebx, eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov edi, ebx
mov edx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], 2
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x10], esi
mov dword [eax], edi
mov dword [eax + 4], edx
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x40], ebp
mov dword [ebx + 0x3c], eax
jmp 0x40761c
call fcn.00409a30
jmp 0x40842c
mov ebp, dword [eax + 0x28]
test ebp, ebp
jne 0x4085eb
mov dword [eax + 0x28], 0xf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, 0xffff8b1f
mov dword [esp], 0
xor ebp, ebp
call fcn.00409c10
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x6c]
mov word [esp + 0x6c], di
mov dword [esi + 0x1c], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409c10
mov dword [esi + 4], 0x3f35
mov dword [esi + 0x1c], eax
mov dword [esp + 0x30], 0
jmp 0x407635
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], 0
mov ebx, eax
jmp 0x406d80
shr dword [esp + 0x30], 4
mov edx, dword [esp + 0x2c]
sub ebp, 4
mov eax, dword [esp + 0x30]
and eax, 0xf
mov ecx, eax
mov eax, dword [edx + 0x28]
add ecx, 8
test eax, eax
jne 0x40876a
cmp ecx, 0xf
mov dword [edx + 0x28], ecx
jbe 0x40877b
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_window_size
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov eax, edi
mov dword [edi + 0x58], 9
add eax, 0x534
mov dword [edi + 0x70], eax
mov dword [edi + 0x50], eax
mov eax, edi
lea edx, [eax + 0x74]
lea esi, [eax + 0x70]
lea edi, [edi + 0x2f4]
add eax, 0x58
mov dword [esp + 8], ecx
mov dword [esp], 1
mov dword [esp + 4], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x38], edx
call fcn.00409040
test eax, eax
mov edx, dword [esp + 0x38]
je 0x40881c
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ebx + 4], 0x3f51
jmp 0x406d80
cmp ecx, 0xf
ja 0x40868b
cmp eax, ecx
jb 0x40868b
mov edi, dword [esp + 0x2c]
mov eax, 1
shl eax, cl
mov dword [edi + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409a30
and dword [esp + 0x30], 0x200
mov esi, dword [esp + 0x90]
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
je 0x4087ef
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f3d
jmp 0x406c85
mov ebx, dword [esp + 0x2c]
shr dword [esp + 0x30], 3
sub ebp, 3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
jmp 0x406d80
mov dword [edi + 4], 0x3f3f
xor ebp, ebp
jmp case.0x406747.16191
mov dword [esp + 0x38], ebx
xor ebp, ebp
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
jmp 0x406d80
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x70]
mov dword [ecx + 0x5c], 6
mov dword [ecx + 0x54], eax
lea eax, [ecx + 0x5c]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov edi, ecx
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.00409040
test eax, eax
je 0x4083c0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, edi
mov dword [esp + 0x2c], 0xfffffffd
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edi + 4], 0x3f51
jmp 0x406d80