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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [0x4f002c]
mov ebx, dword [ebp + 8]
xor eax, ebp
mov ecx, ebx
mov dword [ebp - 0x10], eax
call fcn.00408a3a
mov esi, 0xfffffffe
test eax, eax
je 0x408c29
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bd44
mov eax, esi
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x408c15
mov esi, dword [ebx]
test esi, esi
je 0x40a5e0
mov eax, dword [ebx + 0x1c]
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [eax + 4]
cmp eax, 0x3f3f
jne 0x408c5c
mov dword [edi], 0x3f40
mov eax, 0x3f40
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x30], edx
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edi
mov edi, ecx
mov dword [ebp - 0x2c], esi
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 0x40]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
lea ecx, [ecx - 5]
mov dword [ebp - 0x74], ecx
lea ecx, [edi + 0x5c]
mov dword [ebp - 0x70], ecx
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x4c], ecx
lea ecx, [edi + 0x58]
mov dword [ebp - 0x6c], ecx
lea ecx, [edi + 0x534]
mov dword [ebp - 0x68], ecx
lea ecx, [edi + 0x70]
mov dword [ebp - 0x60], ecx
lea ecx, [edi + 0x2f4]
mov dword [ebp - 0x5c], ecx
lea ecx, [edi + 0x74]
mov dword [ebp - 0x64], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x3c], ecx
add eax, 0xffffc0cc
cmp eax, 0x1e
ja case.default.0x408cdf
mov ebx, dword [ebp - 0x20]
jmp dword [eax*4 + 0x4cc780]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x409929
cmp edx, 0xf
ja 0x408d14
test ebx, ebx
je 0x40a5d9
mov ecx, edx
movzx edx, byte [esi]
dec ebx
inc esi
shl edx, cl
add dword [ebp - 0x1c], edx
mov edx, ecx
add edx, 8
cmp edx, 0x10
jb 0x408cf6
test al, 2
mov dword [ebp - 0x20], ebx
je 0x4099f8
cmp dword [ebp - 0x1c], 0x8b1f
jne 0x4099f8
cmp dword [edi + 0x28], 0
mov ebx, esi
jne 0x408d3b
mov dword [edi + 0x28], 0xf
xor eax, eax
push eax
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.0041cf92
add esp, 0xc
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x14]
mov dword [esi], eax
mov word [ecx], 0x8b1f
push 2
push ecx
push eax
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov esi, ebx
mov dword [eax], 0x3f35
jmp 0x40a580
cmp edx, 0xf
ja 0x408d9d
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x10
jb 0x408d81
mov ecx, edx
mov edx, dword [ebp - 0x1c]
cmp dl, 8
mov dword [edi + 0x14], edx
jne 0x40993e
test edx, 0xe000
je 0x409abc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x40994b
cmp edx, 0x1f
jbe 0x409b17
jmp 0x409b33
cmp edx, 0xf
jbe 0x409b93
jmp 0x409baf
cmp edx, 0x1f
ja 0x408e09
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x20
jb 0x408ded
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x1c], 0
bswap ecx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0x3f3e
cmp dword [edi + 0x10], 0
je 0x40a7b9
xor eax, eax
push eax
push eax
push eax
mov edi, edx
call fcn.0041cc91
mov edx, edi
mov edi, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0x3f3f
cmp dword [ebp - 0x74], 2
jb 0x40a5db
cmp dword [edi + 8], 0
je 0x408e88
mov ecx, edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], ebx
and ecx, 7
shr dword [ebp - 0x1c], cl
sub edx, ecx
mov dword [eax], 0x3f4e
jmp 0x40a580
cmp edx, 3
jae 0x409217
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
lea edx, [edx + 8]
inc esi
dec ebx
mov dword [ebp - 0x18], edx
shl eax, cl
mov ecx, dword [ebp - 0x1c]
add ecx, eax
jmp 0x40921d
mov ecx, edx
and ecx, 7
shr dword [ebp - 0x1c], cl
sub edx, ecx
cmp edx, 0x1f
ja 0x408edd
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x20
jb 0x408ec1
mov ecx, dword [ebp - 0x1c]
movzx eax, cx
shr ecx, 0x10
xor ecx, 0xffff
cmp eax, ecx
jne 0x409955
cmp dword [ebp + 0xc], 6
mov edx, 0
mov dword [edi + 0x44], eax
mov dword [ebp - 0x1c], 0
mov dword [edi + 4], 0x3f42
je 0x40a80b
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f43
mov edi, dword [edi + 0x44]
mov dword [ebp - 0x20], ebx
test edi, edi
je 0x40920c
cmp edi, ebx
mov ecx, ebx
cmova edi, ebx
mov ebx, dword [ebp - 0x40]
cmp edi, ebx
cmova edi, ebx
test edi, edi
je 0x40a7e2
push edi
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
call fcn.004a8990
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebp - 0x24]
sub ebx, edi
sub dword [ebp - 0x20], edi
add dword [ebp - 0x30], edi
add esi, edi
mov dword [ebp - 0x40], ebx
sub dword [eax + 0x44], edi
mov edi, eax
jmp 0x40a088
cmp edx, 0xd
ja 0x408f93
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0xe
jb 0x408f77
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x24]
mov edx, edi
mov ecx, edi
and edx, 0x1f
shr ecx, 5
add edx, 0x101
and ecx, 0x1f
mov dword [eax + 0x64], edx
lea eax, [ecx + 1]
mov dword [ebx + 0x68], eax
mov eax, edi
mov ebx, dword [ebp - 0x18]
shr edi, 0xe
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x24]
shr eax, 0xa
and eax, 0xf
add eax, 4
add ebx, 0xfffffff2
cmp edx, 0x11e
mov dword [ebp - 0x18], eax
mov dword [edi + 0x60], eax
ja 0x409967
cmp ecx, 0x1e
jae 0x409967
mov dword [edi + 0x6c], 0
mov dword [ebp - 0x2c], esi
mov dword [edi + 4], 0x3f45
xor ecx, ecx
jmp 0x40901a
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x6c]
mov ebx, edx
mov dword [ebp - 0x2c], esi
cmp ecx, eax
mov dword [ebp - 0x18], eax
jae 0x40907a
mov edx, ecx
mov ecx, ebx
cmp ebx, 2
ja 0x409048
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40a787
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
dec esi
mov dword [ebp - 0x20], esi
movzx edi, byte [ebx]
inc ebx
mov dword [ebp - 0x2c], ebx
shl edi, cl
lea ecx, [ecx + 8]
add eax, edi
jmp 0x40904b
mov eax, dword [ebp - 0x1c]
mov ebx, ecx
mov edi, eax
lea ecx, [edx + 1]
mov esi, dword [ebp - 0x24]
movzx edx, word [edx + edx + 0x4cc81c]
shr eax, 3
and edi, 7
add ebx, 0xfffffffd
cmp ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x6c], ecx
mov word [esi + edx*2 + 0x74], di
mov edi, esi
mov edx, ecx
jb 0x40901c
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
cmp ecx, 0x12
mov dword [ebp - 0x18], ebx
ja 0x4090a1
inc ecx
movzx eax, word [ecx + ecx + 0x4cc81a]
mov dword [edi + 0x6c], ecx
inc ecx
cmp ecx, 0x14
mov word [edi + eax*2 + 0x74], 0
jne 0x409089
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x70], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x58], 7
push esi
push dword [ebp - 0x6c]
push edx
push 0x13
push dword [ebp - 0x64]
push 0
call fcn.0041cf98
add esp, 0x18
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x4095c6
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ecx + 0x18], str.invalid_code_lengths_set
jmp 0x409aa0
mov ecx, dword [edi + 0x6c]
jmp 0x4095e3
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x409289
cmp edx, ecx
jae 0x409118
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov edi, ecx
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
mov ecx, edi
add dword [ebp - 0x1c], eax
cmp edx, edi
jb 0x4090f9
xor eax, eax
mov edi, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x24]
dec eax
sub edi, ecx
shl eax, cl
not eax
and eax, edx
add eax, dword [esi + 0x44]
mov dword [esi + 0x44], eax
add dword [esi + 0x1bc8], ecx
shr edx, cl
mov dword [ebp - 0x1c], edx
mov edx, edi
mov edi, esi
mov esi, dword [ebp - 0x2c]
jmp 0x40928c
mov ecx, dword [edi + 0x4c]
mov eax, dword [ebp - 0x28]
jmp 0x409420
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40a803
mov ecx, eax
mov ah, byte [edi + 0x44]
mov ebx, edi
mov edi, dword [ebp - 0x30]
dec ecx
mov dword [ebp - 0x40], ecx
mov byte [edi], ah
inc edi
mov dword [ebx + 4], 0x3f48
mov dword [ebp - 0x30], edi
mov edi, ebx
jmp 0x40a57d
cmp dword [edi + 0xc], 0
je 0x409937
cmp edx, 0x1f
ja 0x4091ae
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x20
jb 0x409192
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
sub ebx, dword [ebp - 0x40]
add dword [eax + 0x14], ebx
add dword [edi + 0x20], ebx
mov dword [ebp - 0x18], edx
mov eax, dword [edi + 0xc]
mov ecx, eax
and ecx, 4
test ebx, ebx
je 0x409f92
mov esi, ebx
mov ebx, dword [ebp - 0x20]
test ecx, ecx
je 0x409fc6
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov ecx, dword [edi + 0x1c]
sub eax, esi
cmp dword [edi + 0x14], 0
je 0x409fa8
push esi
push eax
push ecx
call fcn.0041cf92
jmp 0x409fb0
mov eax, dword [edi + 0xc]
jmp 0x40a00f
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
jmp 0x409f6f
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, ecx
mov edx, ecx
and eax, 1
mov dword [edi + 8], eax
mov eax, ecx
mov ecx, 3
shr eax, 1
and eax, 3
cmp eax, ecx
je 0x409978
cmp eax, 2
je 0x409989
cmp eax, 1
mov eax, dword [ebp - 0x38]
mov ecx, 0x3f41
jne 0x40998e
cmp dword [ebp + 0xc], 6
mov dword [edi + 0x50], 0x4cc9c0
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x4cd1c0
mov dword [edi + 0x5c], 5
mov ecx, edi
mov dword [edi + 4], 0x3f47
jne 0x409993
jmp 0x40a812
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov cl, byte [edi + 0x5c]
mov eax, dword [edi + 0x54]
xor edi, edi
mov dword [ebp - 0x18], edx
dec edi
shl edi, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
not edi
mov dword [ebp - 0x20], edi
and ecx, edi
mov al, byte [eax + ecx*4 + 1]
mov dword [ebp - 0x58], eax
movzx eax, al
cmp edx, eax
jae 0x409302
test ebx, ebx
je 0x40a5f4
mov edx, dword [ebp - 0x18]
movzx eax, byte [esi]
dec ebx
inc esi
mov ecx, edx
add edx, 8
shl eax, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
add ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
and ecx, dword [ebp - 0x20]
mov al, byte [eax + ecx*4 + 1]
movzx edi, al
cmp edx, edi
jb 0x4092c2
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
mov eax, edi
jmp 0x409308
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], esi
mov edx, dword [ebp - 0x34]
movzx esi, word [edx + ecx*4 + 2]
movzx ecx, byte [edx + ecx*4]
test cl, 0xf0
je 0x40932d
mov eax, dword [ebx + 0x1bc8]
mov word [ebp - 0x34], si
mov esi, ecx
jmp 0x4093e0
movzx esi, si
mov ebx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x44], esi
xor esi, esi
dec esi
shl esi, cl
mov ecx, eax
not esi
mov edi, ebx
and edi, esi
mov dword [ebp - 0x48], esi
mov esi, edx
mov edx, eax
shr edi, cl
add edi, dword [ebp - 0x44]
movzx eax, byte [esi + edi*4 + 1]
lea ecx, [edx + eax]
mov dword [ebp - 0x58], eax
mov eax, edx
cmp ecx, dword [ebp - 0x18]
jbe 0x4093ba
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
test ebx, ebx
je 0x40a5f4
mov eax, dword [ebp - 0x18]
movzx edx, byte [esi]
mov edi, dword [ebp - 0x1c]
dec ebx
inc esi
mov ecx, eax
add eax, 8
shl edx, cl
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
add edi, edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edi
and edi, dword [ebp - 0x48]
shr edi, cl
add edi, dword [ebp - 0x44]
movzx edx, byte [edx + edi*4 + 1]
lea ecx, [ecx + edx]
cmp ecx, eax
ja 0x40936c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x58], edx
movzx ecx, word [esi + edi*4 + 2]
movzx esi, byte [esi + edi*4]
sub dword [ebp - 0x18], eax
mov word [ebp - 0x34], cx
mov ecx, eax
shr ebx, cl
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x24]
add eax, dword [ebx + 0x1bc8]
mov dword [ebx + 0x1bc8], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x18]
movzx edi, cl
shr dword [ebp - 0x1c], cl
mov ecx, esi
add eax, edi
sub edx, edi
test cl, 0x40
mov dword [ebx + 0x1bc8], eax
jne 0x40951b
movzx eax, word [ebp - 0x34]
and ecx, 0xf
mov edi, ebx
mov esi, dword [ebp - 0x2c]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 4], 0x3f4b
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
test ecx, ecx
je 0x409475
cmp edx, ecx
jae 0x409447
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov edi, ecx
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
mov ecx, edi
add dword [ebp - 0x1c], eax
cmp edx, edi
jb 0x409428
xor eax, eax
mov edi, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x24]
dec eax
sub edi, ecx
shl eax, cl
not eax
and eax, edx
add dword [esi + 0x48], eax
add dword [esi + 0x1bc8], ecx
shr edx, cl
mov dword [ebp - 0x1c], edx
mov edx, edi
mov edi, esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f4c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
test eax, eax
je 0x40a62a
mov ecx, dword [ebp - 0x50]
mov edx, dword [edi + 0x48]
mov ebx, eax
sub ecx, eax
mov eax, edx
sub eax, ecx
jbe 0x4094bc
cmp eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x18]
jbe 0x409504
cmp dword [edi + 0x1bc4], 0
je 0x409504
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x40a05e
mov ecx, dword [edi + 0x44]
cmp ecx, ebx
mov edi, ecx
cmova edi, ebx
cmp ebx, 0x2f
jg 0x40952f
mov eax, ebx
test edi, edi
je 0x409a5c
not eax
not ecx
neg edx
mov dword [ebp - 0x2c], esi
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x30]
inc ecx
mov esi, eax
mov bl, byte [eax + edx]
mov byte [eax], bl
inc eax
inc ecx
jne 0x4094e9
add esi, edi
mov ebx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x2c]
jmp 0x409ab1
mov ecx, dword [edi + 0x34]
mov ebx, eax
sub ebx, ecx
jbe 0x409868
mov ecx, dword [edi + 0x2c]
sub ecx, ebx
jmp 0x40986c
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
mov edi, ebx
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x40a05e
cmp edx, 0xf
mov ebx, edi
ja 0x4099a7
cmp edx, ebx
jae 0x4099a7
lea eax, [edx - 1]
mov dword [ebp - 0x34], ebx
cmp eax, 7
ja case.0x409567.3
mov edi, ebx
dec ebx
mov dword [ebp - 0x2c], eax
and ebx, 0xf
mov eax, ebx
mov dword [ebp - 0x44], ebx
lea eax, [ebx + 1]
mov ebx, edi
mov edi, dword [ebp - 0x2c]
jmp dword [edi*4 + 0x4cc7fc]
mov edi, dword [ebp - 0x30]
movzx edx, byte [edi - 1]
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xe0
pshufd xmm0, xmm0, 0
movdqu xmmword [edi], xmm0
add edi, eax
cmp ebx, eax
mov dword [ebp - 0x30], edi
je 0x40a55f
mov eax, dword [ebp - 0x40]
not ecx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
not eax
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax + 2]
mov ecx, 0x10
movdqu xmmword [edi], xmm0
add edi, 0x10
add eax, ecx
jne 0x4095b1
jmp 0x40a4b4
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
mov dword [ebp - 0x38], 0
mov eax, edi
mov edi, dword [edi + 0x64]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x2c], edi
add eax, edi
cmp ecx, eax
mov dword [ebp - 0x44], eax
jae 0x40980e
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], ecx
mov cl, byte [edi + 0x58]
mov eax, dword [edi + 0x50]
xor edi, edi
dec edi
shl edi, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
not edi
and ecx, edi
movzx eax, byte [eax + ecx*4 + 1]
cmp dword [ebp - 0x18], eax
jae 0x409653
test ebx, ebx
je 0x40a5f4
mov edx, dword [ebp - 0x18]
movzx eax, byte [esi]
dec ebx
inc esi
mov ecx, edx
add edx, 8
shl eax, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
add ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
and ecx, edi
movzx eax, byte [eax + ecx*4 + 1]
cmp edx, eax
jb 0x409623
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
movzx ecx, word [edx + ecx*4 + 2]
cmp cx, 0xf
ja 0x409686
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
sub dword [ebp - 0x18], eax
inc edx
mov dword [edi + 0x6c], edx
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov word [edi + edx*2 + 0x74], cx
mov ecx, eax
shr dword [ebp - 0x1c], cl
jmp 0x4097df
cmp cx, 0x10
je 0x4096df
cmp cx, 0x11
jne 0x409746
lea edx, [eax + 3]
cmp dword [ebp - 0x18], edx
jae 0x4096c0
test ebx, ebx
je 0x40a5f4
movzx edi, byte [esi]
mov ecx, dword [ebp - 0x18]
dec ebx
inc esi
shl edi, cl
add ecx, 8
add dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x18], ecx
jb 0x40969e
mov edx, dword [ebp - 0x1c]
mov ecx, eax
shr edx, cl
mov ecx, edx
shr edx, 3
and ecx, 7
mov dword [ebp - 0x1c], edx
mov edx, 0xfffffffd
add ecx, 3
jmp 0x40978a
lea edx, [eax + 2]
cmp dword [ebp - 0x18], edx
jae 0x409706
test ebx, ebx
je 0x40a5f4
movzx edi, byte [esi]
mov ecx, dword [ebp - 0x18]
dec ebx
inc esi
shl edi, cl
add ecx, 8
add dword [ebp - 0x1c], edi
cmp ecx, edx
mov dword [ebp - 0x18], ecx
jb 0x4096e7
mov edi, dword [ebp - 0x18]
mov ecx, eax
mov edx, dword [ebp - 0x1c]
sub edi, eax
mov eax, dword [ebp - 0x34]
shr edx, cl
test eax, eax
je 0x40a5bf
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x24]
add edi, 0xfffffffe
mov ecx, edx
shr edx, 2
mov dword [ebp - 0x18], edi
and ecx, 3
mov dword [ebp - 0x1c], edx
add ecx, 3
mov dword [ebp - 0x48], ecx
movzx eax, word [esi + eax*2 + 0x72]
mov edi, esi
mov esi, dword [ebp - 0x2c]
jmp 0x409794
lea edx, [eax + 7]
cmp dword [ebp - 0x18], edx
jae 0x409770
test ebx, ebx
je 0x40a5f4
movzx edi, byte [esi]
mov ecx, dword [ebp - 0x18]
dec ebx
inc esi
shl edi, cl
add ecx, 8
add dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x18], ecx
jb 0x40974e
mov edx, dword [ebp - 0x1c]
mov ecx, eax
shr edx, cl
mov ecx, edx
shr edx, 7
and ecx, 0x7f
mov dword [ebp - 0x1c], edx
mov edx, 0xfffffff9
add ecx, 0xb
mov dword [ebp - 0x48], ecx
sub edx, eax
xor eax, eax
add dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
lea edx, [edx + ecx]
cmp edx, dword [ebp - 0x44]
ja 0x40a592
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
xor edx, edx
mov word [edi + ecx*2 + 0x74], ax
inc edx
cmp dword [ebp - 0x48], edx
je 0x4097df
sub edx, dword [ebp - 0x48]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov ecx, dword [edi + 0x6c]
mov ebx, dword [ebp - 0x24]
inc edx
lea edi, [ecx + 1]
mov dword [ebx + 0x6c], edi
mov edi, dword [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], ax
jne 0x4097c2
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
add eax, edx
cmp ecx, eax
mov dword [ebp - 0x44], eax
jb 0x409601
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
cmp dword [ecx], 0x3f51
jne 0x409814
jmp 0x40a57d
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
cmp word [edi + 0x274], 0
je 0x4099e9
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x18], edx
mov dword [edi + 0x70], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x58], 9
push dword [ebp - 0x5c]
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
push dword [ebp - 0x2c]
push dword [ebp - 0x64]
push 1
call fcn.0041cf98
add esp, 0x18
mov ebx, dword [ebp + 8]
test eax, eax
je 0x409a63
mov dword [ebp - 0x38], eax
mov dword [ebx + 0x18], str.invalid_literal_lengths_set
jmp 0x409aa0
sub ecx, eax
mov ebx, eax
mov eax, dword [edi + 0x44]
add ecx, dword [edi + 0x38]
mov edi, dword [ebp - 0x40]
cmp ebx, eax
cmova ebx, eax
cmp ebx, edi
cmova ebx, edi
cmp edi, 0xf
jg 0x4098ea
test bl, 8
mov dword [ebp - 0x34], ebx
je 0x4098a0
movq xmm0, qword [ecx]
mov eax, dword [ebp - 0x30]
add ecx, 8
movq qword [eax], xmm0
add eax, 8
mov dword [ebp - 0x30], eax
test byte [ebp - 0x34], 4
je 0x4098b6
mov eax, dword [ecx]
mov edi, dword [ebp - 0x30]
add ecx, 4
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x30], edi
test byte [ebp - 0x34], 2
je 0x4098ce
movzx eax, word [ecx]
mov edi, dword [ebp - 0x30]
add ecx, 2
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x24]
test byte [ebp - 0x34], 1
je 0x4098e2
mov al, byte [ecx]
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
inc ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x40]
jmp 0x40a570
movdqu xmm0, xmmword [ecx]
mov edx, dword [ebp - 0x30]
lea eax, [ebx - 1]
mov edi, eax
and edi, 0xf
shr eax, 4
movdqu xmmword [edx], xmm0
lea edx, [edx + edi + 1]
je 0x409aab
inc edi
neg eax
add ecx, edi
xor edi, edi
movdqu xmm0, xmmword [ecx + edi]
movdqu xmmword [edx + edi], xmm0
add edi, 0x10
inc eax
jne 0x409911
add dword [ebp - 0x30], ebx
jmp 0x409aae
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f40
jmp 0x40a580
xor eax, eax
jmp 0x40a006
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [ebp - 0x28]
mov edx, ecx
jmp 0x40a061
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x40a05e
mov eax, dword [ebp + 8]
mov edx, ebx
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x40a05e
mov eax, dword [ebp + 8]
mov ecx, 0x3f51
mov dword [eax + 0x18], str.invalid_block_type
jmp 0x40998e
mov ecx, 0x3f44
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
shr edx, 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffffd
jmp 0x40a57d
mov edi, dword [ebp - 0x30]
lea eax, [ebx - 1]
mov ecx, edi
sub ecx, edx
movdqu xmm0, xmmword [ecx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
lea ecx, [edi + ecx + 1]
movdqu xmmword [edi], xmm0
je 0x409f97
mov edi, dword [ebp - 0x24]
neg edx
neg eax
movdqu xmm0, xmmword [ecx + edx]
movdqu xmmword [ecx], xmm0
add ecx, 0x10
inc eax
jne 0x4099d2
add dword [ebp - 0x30], ebx
jmp 0x409ab1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
jmp 0x40a05e
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x409a10
mov dword [ecx + 0x30], 0xffffffff
mov eax, dword [edi + 0xc]
test al, 1
je 0x409a4d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
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 eax, edx
mov edx, dword [ebp - 0x18]
add eax, ecx
je 0x40a4c2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x40a05e
xor ebx, ebx
jmp 0x409f9d
mov eax, dword [edi + 0x70]
mov dword [edi + 0x54], eax
mov dword [edi + 0x5c], 6
mov eax, dword [edi + 0x64]
lea eax, [edi + eax*2 + 0x74]
push dword [ebp - 0x5c]
push dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [edi + 0x68]
push eax
push 2
call fcn.0041cf98
add esp, 0x18
test eax, eax
je 0x40a08f
mov dword [ebp - 0x38], eax
mov dword [ebx + 0x18], str.invalid_distances_set
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
jmp 0x40a061
mov dword [ebp - 0x30], edx
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
jmp 0x40a573
mov eax, dword [edi + 0x24]
mov ecx, edx
test eax, eax
je 0x409ad2
mov ecx, edx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
mov ecx, dword [edi + 0x14]
bt ecx, 9
jae 0x409b05
test byte [edi + 0xc], 4
je 0x409b05
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov byte [eax], cl
mov byte [eax + 1], ch
push 2
push eax
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x1c], 0
mov dword [eax], 0x3f36
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x20
jb 0x409b17
mov eax, dword [edi + 0x24]
test eax, eax
je 0x409b40
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
test byte [edi + 0x15], 2
je 0x409b81
test byte [edi + 0xc], 4
je 0x409b81
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, edx
mov byte [eax], dl
mov byte [eax + 1], dh
shr edx, 0x18
shr ecx, 0x10
mov byte [eax + 2], cl
mov byte [eax + 3], dl
push 4
push eax
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x1c], 0
mov dword [eax], 0x3f37
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x10
jb 0x409b93
mov eax, dword [edi + 0x24]
test eax, eax
je 0x409bc8
mov edx, dword [ebp - 0x1c]
movzx ecx, dl
shr edx, 8
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x24]
mov dword [ecx + 0xc], edx
test byte [edi + 0x15], 2
je 0x409bfb
test byte [edi + 0xc], 4
je 0x409bfb
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov byte [eax], cl
mov byte [eax + 1], ch
push 2
push eax
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x1c], 0
mov dword [eax], 0x3f38
mov eax, dword [edi + 0x14]
bt eax, 0xa
jb 0x409c2f
mov eax, dword [edi + 0x24]
test eax, eax
je 0x409c24
mov dword [eax + 0x10], 0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
jmp 0x409caf
cmp edx, 0xf
ja 0x409c52
test ebx, ebx
je 0x40a5d9
mov ecx, edx
movzx edx, byte [esi]
dec ebx
inc esi
shl edx, cl
add dword [ebp - 0x1c], edx
mov edx, ecx
add edx, 8
cmp edx, 0x10
jb 0x409c34
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x44], edx
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x409c65
mov dword [ecx + 0x14], edx
mov eax, dword [edi + 0x14]
xor edi, edi
bt eax, 9
mov eax, dword [ebp - 0x28]
jae 0x409cad
mov edx, dword [ebp - 0x24]
mov ecx, eax
test byte [edx + 0xc], 4
jne 0x409c81
xor edx, edx
mov eax, ecx
jmp 0x409caf
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov byte [eax], cl
mov byte [eax + 1], ch
push 2
push eax
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov dword [esi], eax
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, ecx
xor edx, edx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x24]
mov dword [eax], 0x3f39
mov eax, dword [edi + 0x14]
bt eax, 0xa
jae 0x409d72
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x20], eax
cmp ecx, ebx
mov eax, ecx
cmova eax, ebx
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x409d6a
mov edi, dword [edi + 0x24]
mov dword [ebp - 0x18], edx
test edi, edi
je 0x409d26
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
test edx, edx
je 0x409d29
mov eax, edx
mov edx, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, edi
sub eax, edx
add edx, ecx
cmp edx, edi
cmovbe eax, ecx
push eax
push esi
push dword [ebp - 0x20]
call fcn.004a8990
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
jmp 0x409d29
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
bt eax, 9
jae 0x409d5b
test byte [edi + 0xc], 4
je 0x409d5b
push dword [ebp - 0x2c]
push esi
mov dword [ebp - 0x20], ebx
mov ebx, esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov dword [esi], eax
mov esi, ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edi + 0x44]
sub ecx, eax
sub ebx, eax
add esi, eax
mov dword [edi + 0x44], ecx
test ecx, ecx
jne 0x40a5db
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test byte [edi + 0x15], 8
jne 0x409d9d
mov eax, dword [edi + 0x24]
test eax, eax
je 0x409e25
mov dword [eax + 0x1c], 0
jmp 0x409e25
test ebx, ebx
je 0x40a5d9
xor edi, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x24]
mov bl, byte [esi + edi]
inc edi
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x409ddf
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x409ddf
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0x409ddf
mov esi, dword [ebp - 0x24]
lea ecx, [edx + 1]
mov dword [esi + 0x44], ecx
mov esi, dword [ebp - 0x2c]
mov byte [eax + edx], bl
test bl, bl
je 0x409de8
cmp dword [ebp - 0x20], edi
ja 0x409db0
mov eax, dword [ebp - 0x24]
test byte [eax + 0x15], 2
je 0x409e0e
mov eax, dword [ebp - 0x24]
test byte [eax + 0xc], 4
je 0x409e0e
push edi
push esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov esi, dword [ebp - 0x2c]
test bl, bl
jne 0x40a7a2
mov eax, dword [ebp - 0x20]
add esi, edi
mov edx, dword [ebp - 0x18]
sub eax, edi
mov edi, dword [ebp - 0x24]
mov ebx, eax
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test byte [edi + 0x15], 0x10
jne 0x409e50
mov eax, dword [edi + 0x24]
test eax, eax
je 0x409ed8
mov dword [eax + 0x24], 0
jmp 0x409ed8
test ebx, ebx
je 0x40a5d9
xor edi, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x24]
mov bl, byte [esi + edi]
inc edi
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x409e92
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x409e92
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0x409e92
mov esi, dword [ebp - 0x24]
lea ecx, [edx + 1]
mov dword [esi + 0x44], ecx
mov esi, dword [ebp - 0x2c]
mov byte [eax + edx], bl
test bl, bl
je 0x409e9b
cmp dword [ebp - 0x20], edi
ja 0x409e63
mov eax, dword [ebp - 0x24]
test byte [eax + 0x15], 2
je 0x409ec1
mov eax, dword [ebp - 0x24]
test byte [eax + 0xc], 4
je 0x409ec1
push edi
push esi
mov esi, dword [ebp - 0x4c]
push dword [esi]
call fcn.0041cf92
add esp, 0xc
mov dword [esi], eax
mov esi, dword [ebp - 0x2c]
test bl, bl
jne 0x40a7a2
mov eax, dword [ebp - 0x20]
add esi, edi
mov edx, dword [ebp - 0x18]
sub eax, edi
mov edi, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f3c
mov eax, dword [edi + 0x14]
bt eax, 9
jb 0x409eee
mov ecx, edi
jmp 0x409f30
cmp edx, 0xf
ja 0x409f11
test ebx, ebx
je 0x40a5d9
mov ecx, edx
movzx edx, byte [esi]
dec ebx
inc esi
shl edx, cl
add dword [ebp - 0x1c], edx
mov edx, ecx
add edx, 8
cmp edx, 0x10
jb 0x409ef3
test byte [edi + 0xc], 4
je 0x409f25
mov ecx, dword [ebp - 0x4c]
movzx ecx, word [ecx]
cmp dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x28]
jne 0x409f7a
mov ecx, edi
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov ecx, dword [ecx + 0x24]
mov edi, edx
test ecx, ecx
je 0x409f50
shr eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
xor ecx, ecx
mov eax, dword [ebx + 0x24]
inc ecx
mov dword [eax + 0x30], ecx
xor eax, eax
push eax
push eax
push eax
call fcn.0041cf92
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x28]
mov edx, edi
mov edi, ebx
mov dword [eax], 0x3f3f
jmp 0x40a580
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx], 0x3f51
jmp 0x40a088
mov ebx, dword [ebp - 0x20]
jmp 0x409fc6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
jmp 0x40a573
push esi
push eax
push ecx
call fcn.0041cc91
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov edx, edi
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0xc]
mov ecx, eax
and ecx, 4
test ecx, ecx
je 0x409ff4
mov edx, dword [ebp - 0x1c]
cmp dword [edi + 0x14], 0
mov esi, edi
mov esi, dword [ebp - 0x2c]
mov ecx, edx
bswap ecx
cmovne ecx, edx
cmp ecx, dword [edi + 0x1c]
jne 0x40a06c
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x1c], 0
jmp 0x40a003
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0x3f4f
test eax, eax
je 0x40a7f5
cmp dword [edi + 0x14], 0
mov eax, dword [ebp - 0x28]
je 0x40a7f8
cmp edx, 0x1f
ja 0x40a045
test ebx, ebx
je 0x40a5d9
movzx eax, byte [esi]
mov ecx, edx
add edx, 8
dec ebx
inc esi
shl eax, cl
add dword [ebp - 0x1c], eax
cmp edx, 0x20
jb 0x40a029
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x20]
je 0x40a7ec
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.incorrect_length_check
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f51
jmp 0x40a580
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [ebp - 0x40]
mov dword [ecx], 0x3f51
mov dword [ebp - 0x50], eax
mov eax, ecx
jmp 0x40a580
mov eax, dword [ebp - 0x28]
cmp dword [ebp + 0xc], 6
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov dword [eax], 0x3f47
je 0x40a826
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f48
mov eax, dword [ebp - 0x40]
cmp eax, 0x102
jb 0x40a131
cmp ebx, 6
jb 0x40a131
mov ecx, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x40], edx
push dword [ebp - 0x50]
push edi
call fcn.004080f8
add esp, 8
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
mov esi, dword [edi]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [edi + 0x3c]
cmp dword [edi + 4], 0x3f3f
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
jne 0x40a57d
mov dword [edi + 0x1bc8], 0xffffffff
jmp 0x40a57d
mov dword [edi + 0x1bc8], 0
mov dword [ebp - 0x18], edx
mov cl, byte [edi + 0x58]
mov eax, dword [edi + 0x50]
xor edi, edi
dec edi
shl edi, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
not edi
mov dword [ebp - 0x20], edi
and ecx, edi
mov al, byte [eax + ecx*4 + 1]
mov dword [ebp - 0x48], eax
movzx eax, al
cmp edx, eax
jae 0x40a19c
test ebx, ebx
je 0x40a5f4
mov edx, dword [ebp - 0x18]
movzx eax, byte [esi]
dec ebx
inc esi
mov ecx, edx
add edx, 8
shl eax, cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
add ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
and ecx, dword [ebp - 0x20]
mov al, byte [eax + ecx*4 + 1]
movzx edi, al
cmp edx, edi
jb 0x40a164
mov dword [ebp - 0x48], eax
mov eax, edi
mov edx, dword [ebp - 0x34]
movzx edi, word [edx + ecx*4 + 2]
movzx ecx, byte [edx + ecx*4]
test ecx, ecx
mov word [ebp - 0x44], di
mov edx, ecx
mov byte [ebp - 0x54], cl
je 0x40a245
mov edx, dword [ebp - 0x48]
mov edi, ecx
and edi, 0xfffffff0
jne 0x40a25b
movzx edx, word [ebp - 0x44]
add ecx, eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
xor edx, edx
dec edx
shl edx, cl
mov ecx, eax
not edx
and edi, edx
mov dword [ebp - 0x2c], edx
mov edx, eax
shr edi, cl
mov ecx, dword [ebp - 0x34]
add edi, dword [ebp - 0x20]
movzx eax, byte [ecx + edi*4 + 1]
lea ecx, [edx + eax]
cmp ecx, dword [ebp - 0x18]
jbe 0x40a271
mov dword [ebp - 0x44], edx
test ebx, ebx
je 0x40a5f4
mov eax, dword [ebp - 0x18]
movzx edx, byte [esi]
mov edi, dword [ebp - 0x1c]
dec ebx
inc esi
mov ecx, eax
add eax, 8
shl edx, cl
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
add edi, edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edi
and edi, dword [ebp - 0x2c]
shr edi, cl
add edi, dword [ebp - 0x20]
movzx edx, byte [edx + edi*4 + 1]
lea ecx, [ecx + edx]
cmp ecx, eax
ja 0x40a1fb
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
jmp 0x40a27c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
jmp 0x40a2a7
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
jmp 0x40a2aa
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], esi
mov ecx, edx
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
mov dl, byte [eax + edi*4]
movzx eax, word [eax + edi*4 + 2]
shr esi, cl
mov dword [ebx + 0x1bc8], ecx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x54], dl
movzx edx, dl
mov dword [ebp - 0x34], edx
sub eax, ecx
mov edx, dword [ebp - 0x48]
movzx edi, dl
add ecx, edi
sub eax, edi
movzx edi, word [ebp - 0x44]
mov dword [ebx + 0x1bc8], ecx
mov ecx, edx
mov dword [ebp - 0x18], eax
shr esi, cl
cmp byte [ebp - 0x54], 0
mov dword [ebp - 0x1c], esi
mov dword [ebx + 0x44], edi
mov edi, ebx
je 0x40a2fb
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
test cl, 0x20
jne 0x40a30f
mov esi, dword [ebp - 0x2c]
test cl, 0x40
jne 0x40a328
mov ebx, dword [ebp - 0x20]
and ecx, 0xf
mov dword [edi + 0x4c], ecx
mov dword [edi + 4], 0x3f49
jmp 0x4090ed
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [eax], 0x3f4d
jmp 0x40a580
mov esi, dword [ebp - 0x2c]
mov dword [edi + 0x1bc8], 0xffffffff
mov dword [edi + 4], 0x3f3f
jmp 0x40a580
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x40a05e
mov edi, dword [ebp - 0x30]
movzx edx, word [edi - 2]
movd xmm0, edx
mov edx, edi
pshuflw xmm0, xmm0, 0xe0
add edx, eax
cmp ebx, eax
pshufd xmm0, xmm0, 0
movdqu xmmword [edi], xmm0
je 0x40a55c
movzx eax, word [edx - 2]
not ecx
mov edi, edx
mov edx, dword [ebp - 0x18]
movd xmm0, eax
mov eax, dword [ebp - 0x40]
pshuflw xmm0, xmm0, 0xe0
pshufd xmm0, xmm0, 0
not eax
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax + 2]
mov ecx, 0x10
movdqu xmmword [edi], xmm0
add edi, 0x10
add eax, ecx
jne 0x40a386
jmp 0x40a4b4
mov edi, dword [ebp - 0x30]
mov eax, edx
mov dword [ebp - 0x2c], esi
mov ecx, ebx
neg eax
mov dword [ebp - 0x44], eax
mov esi, edi
mov ebx, edi
mov edi, dword [ebp - 0x44]
mov eax, ecx
sub ecx, edx
movdqu xmm0, xmmword [esi + edi]
lea edi, [ebx + edx]
add edx, edx
cmp edx, 0xf
movdqu xmmword [ebx], xmm0
ja 0x40a3cc
cmp edx, ecx
jb 0x40a3ac
mov esi, edi
dec ecx
sub esi, edx
mov edx, ecx
movdqu xmm0, xmmword [esi]
and edx, 0xf
mov dword [ebp - 0x44], esi
shr ecx, 4
lea esi, [edi + edx + 1]
mov dword [ebp - 0x30], esi
movdqu xmmword [edi], xmm0
je 0x40a564
inc edx
mov edi, dword [ebp - 0x24]
neg ecx
add dword [ebp - 0x44], edx
xor edx, edx
mov esi, dword [ebp - 0x44]
movdqu xmm0, xmmword [esi + edx]
mov esi, dword [ebp - 0x30]
movdqu xmmword [esi + edx], xmm0
add edx, 0x10
inc ecx
jne 0x40a3fc
add ebx, eax
mov dword [ebp - 0x30], ebx
jmp 0x40a567
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
movd xmm0, dword [edi - 4]
pshufd xmm0, xmm0, 0
movdqu xmmword [edi], xmm0
add edi, eax
cmp ebx, eax
je 0x40a542
mov eax, dword [ebp - 0x40]
not ecx
movd xmm0, dword [edi - 4]
not eax
pshufd xmm0, xmm0, 0
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax + 2]
mov ecx, 0x10
movdqu xmmword [edi], xmm0
add edi, 0x10
add eax, ecx
jne 0x40a457
jmp 0x40a4b4
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
movq xmm0, qword [edi - 8]
pshufd xmm0, xmm0, 0x44
movdqu xmmword [edi], xmm0
add edi, eax
cmp ebx, eax
je 0x40a542
mov eax, dword [ebp - 0x40]
not ecx
movq xmm0, qword [edi - 8]
not eax
pshufd xmm0, xmm0, 0x44
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax + 2]
mov ecx, 0x10
movdqu xmmword [edi], xmm0
add edi, 0x10
add eax, ecx
jne 0x40a4a4
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x24]
jmp 0x40a570
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 0xf
cmp eax, 8
jne 0x40a54d
mov eax, ecx
mov edi, dword [edi + 0x28]
shr eax, 4
mov ecx, eax
and ecx, 0xf
lea edx, [ecx + 8]
test edi, edi
jne 0x40a4ef
mov edi, esi
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x28], edx
mov esi, edi
mov edi, edx
mov ebx, dword [ebp + 8]
cmp edx, 0xf
ja 0x40a5a4
cmp edx, edi
ja 0x40a5a4
mov edi, dword [ebp - 0x24]
mov eax, 0x100
shl eax, cl
mov dword [edi + 0x18], eax
xor eax, eax
push eax
push eax
push eax
call fcn.0041cc91
xor edx, edx
add esp, 0xc
mov dword [edi + 0x1c], eax
mov dword [ebx + 0x30], eax
xor eax, eax
bt dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x1c], 0
setae al
lea eax, [eax + eax + 0x3f3d]
mov dword [edi + 4], eax
jmp 0x40a57d
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x24]
jmp 0x4098e2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x40a05e
mov dword [ebp - 0x30], edx
mov edi, dword [ebp - 0x24]
jmp 0x40a56a
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
sub eax, ebx
mov dword [ebp - 0x40], eax
sub dword [edi + 0x44], ebx
je 0x40a587
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
jmp 0x408cce
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f48
jmp 0x40a580
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x409aa0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ebx + 0x18], str.invalid_window_size
mov dword [ebp - 0x1c], eax
add edx, 0xfffffffc
jmp 0x409f87
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov edx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x40a05e
xor ebx, ebx
mov eax, dword [ebp - 0x38]
jmp 0x40a5fc
cmp dword [ebx + 4], 0
je 0x408c3a
mov esi, 0xfffffffe
jmp 0x408c15
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], ebx
cmp eax, 0x10
jb 0x40a621
mov edi, dword [ebp - 0x30]
mov ebx, eax
mov eax, 0x55555555
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], eax
jmp 0x40a644
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], ecx
push eax
push 0x55
mov edi, dword [ebp - 0x30]
push edi
mov ebx, eax
call fcn.004a9490
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov ebx, eax
mov dword [eax], esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], edx
cmp dword [ecx + 0x2c], 0
mov eax, dword [ebx + 0x10]
je 0x40a696
mov esi, dword [ebp - 0x50]
mov edx, dword [ebx + 0xc]
mov ecx, ebx
sub esi, eax
push esi
call fcn.0040a832
add esp, 4
test eax, eax
je 0x40a6be
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f52
mov esi, 0xfffffffc
jmp 0x408c15
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp + 0xc]
cmp ecx, eax
je 0x40a6c1
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp ecx, 0x3f50
jg 0x40a6ba
cmp esi, 4
jne 0x40a66c
cmp ecx, 0x3f4d
jle 0x40a66c
mov ecx, eax
jmp 0x40a6c1
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x50]
sub eax, dword [ebx + 4]
sub edx, ecx
add dword [ebx + 8], eax
add dword [ebx + 0x14], edx
mov edi, eax
mov esi, dword [ebp - 0x24]
add dword [esi + 0x20], edx
test edx, edx
je 0x40a71e
mov eax, dword [esi + 0xc]
and eax, 4
je 0x40a71e
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
mov ebx, edx
mov eax, dword [eax + 0xc]
sub eax, edx
cmp dword [esi + 0x14], 0
je 0x40a703
push edx
push eax
push ecx
call fcn.0041cf92
jmp 0x40a70b
push edx
push eax
push ecx
call fcn.0041cc91
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
mov dword [ecx], eax
mov dword [edx + 0x30], eax
mov edx, ebx
xor eax, eax
xor ecx, ecx
mov ebx, edx
mov edx, dword [esi + 4]
cmp dword [esi + 8], eax
setne cl
xor eax, eax
shl ecx, 6
add ecx, dword [esi + 0x40]
cmp edx, 0x3f3f
sete al
shl eax, 7
add eax, ecx
xor ecx, ecx
cmp edx, 0x3f42
sete cl
shl ecx, 8
cmp edx, 0x3f47
mov edx, 0x100
cmovne edx, ecx
mov ecx, dword [ebp + 8]
add edx, eax
or ebx, edi
mov dword [ecx + 0x2c], edx
mov ecx, dword [ebp - 0x3c]
mov edx, 0xfffffffb
mov esi, ecx
cmove esi, edx
cmp dword [ebp + 0xc], 4
cmove esi, edx
test ecx, ecx
cmovne esi, ecx
jmp 0x408c15
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
mov edx, ecx
jmp 0x40a5fc
mov dword [ebp - 0x3c], 0xfffffffd
jmp case.0x408cdf.16208
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
add esi, edi
sub eax, edi
mov dword [ebp - 0x3c], ecx
mov ebx, eax
jmp case.0x408cdf.16208
mov eax, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x10], eax
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x1c]
mov esi, 2
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], edx
jmp 0x408c15
mov eax, dword [ebp - 0x38]
mov ebx, ecx
jmp 0x40a5fc
mov dword [ebp - 0x1c], 0
xor edx, edx
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x3f50
jmp case.0x408cdf.16208
mov dword [ebp - 0x18], edx
jmp 0x40a62a
xor edx, edx
jmp 0x40a5db
shr edx, 3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffffd
jmp case.0x408cdf.16208
mov dword [ebp - 0x3c], 0
jmp case.0x408cdf.16208