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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x90]
call fcn.0040af40
mov dword [esp + 0x40], eax
test eax, eax
jne case.default.0x40b3e7
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 0xc]
test edi, edi
je case.default.0x40b3e7
mov ebx, dword [esp + 0x90]
mov eax, dword [eax]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x40b5f8
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
cmp eax, 0x3f3f
jne 0x40b3b5
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f40
mov eax, 0x3f40
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x90]
mov ecx, dword [edx + 0x3c]
mov ebx, dword [ebx + 0x10]
mov ebp, dword [edx + 0x40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x3c]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x40b3e7
jmp dword [eax*4 + 0x41cf70]
cmp ebp, 0x1f
ja 0x40b435
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40b418
test ebx, ebx
je 0x40c460
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x40b410
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov edx, esi
mov ecx, esi
mov eax, esi
shr edx, 0x18
shl ecx, 0x18
shr eax, 8
add ecx, edx
and eax, 0xff00
lea edx, [ecx + eax]
mov eax, esi
mov esi, dword [esp + 0x90]
shl eax, 8
and eax, 0xff0000
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [edx + 4], 0x3f3e
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x40d23d
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409fe0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov dword [ecx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [ecx + 4], 0x3f3f
lea esi, [esi]
nop
mov eax, dword [esp + 0x94]
sub eax, 5
cmp eax, 1
jbe 0x40c3ca
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
test eax, eax
je 0x40b708
mov eax, dword [esp + 0x28]
mov ecx, ebp
and ebp, 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 0x40c860
cmp ebp, 0x1f
ja 0x40b559
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x40b538
test ebx, ebx
je 0x40c442
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x40b530
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x38]
mov eax, esi
sub eax, dword [esp + 0x34]
add dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x20], eax
mov ecx, edx
and ecx, 4
je 0x40c848
test eax, eax
jne 0x40cfd7
test ecx, ecx
je 0x40c848
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
mov eax, esi
test ecx, ecx
jne 0x40b5c4
mov ecx, esi
shr eax, 0x18
shl ecx, 0x18
add eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, esi
shl ecx, 8
and ecx, 0xff0000
add eax, ecx
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x1c], eax
je 0x40c848
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], 0x3f51
mov dword [esp + 0x38], eax
jmp case.0x40b3e7.16209
test ebx, ebx
je 0x40b38d
mov dword [esp + 0x40], 0xfffffffe
jmp 0x40b992
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 0x50], 0x41d080
mov dword [eax + 0x58], 9
mov dword [eax + 0x54], 0x41d000
mov dword [eax + 0x5c], 5
mov dword [eax + 4], 0x3f47
je 0x40d48e
mov dword [esp + 0x2c], edx
sub ebp, 3
shr dword [esp + 0x30], 3
nop
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f48
cmp ebx, 5
jbe 0x40c620
mov eax, dword [esp + 0x34]
cmp eax, 0x101
jbe 0x40c620
mov esi, dword [esp + 0x90]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov esi, dword [esp + 0x28]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x40], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.0040a840
mov eax, dword [esp + 0x90]
mov ebp, dword [esi + 0x40]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
cmp eax, 0x3f3f
jne 0x40b3d9
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1bc8], 0xffffffff
jmp case.0x40b3e7.16191
cmp ebp, 2
ja 0x40d14e
test ebx, ebx
je 0x40d1b9
mov eax, dword [esp + 0x2c]
mov ecx, ebp
sub ebx, 1
add ebp, 8
lea edx, [eax + 1]
movzx eax, byte [eax]
shl eax, cl
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov eax, ecx
and eax, 1
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 1
and eax, 3
cmp eax, 2
je 0x40c294
cmp eax, 3
je 0x40cd65
cmp eax, 1
je 0x40b60d
shr ecx, 3
mov dword [esi + 4], 0x3f41
sub ebp, 3
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
lea esi, [esi]
nop
mov ecx, ebp
and ebp, 0xfffffff8
and ecx, 7
shr dword [esp + 0x30], cl
cmp ebp, 0x1f
ja 0x40b7cf
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40b7b0
test ebx, ebx
je 0x40c460
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x40b7a8
mov dword [esp + 0x2c], edx
mov ebp, ecx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
movzx edx, ax
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x40ccd0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x40cb10
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4c
mov edx, dword [esp + 0x34]
test edx, edx
je 0x40cfb6
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
mov eax, esi
sub eax, edx
cmp ecx, eax
jbe 0x40cad0
add ecx, edx
mov eax, dword [esp + 0x28]
mov edx, ecx
sub edx, esi
cmp dword [eax + 0x30], edx
jae 0x40c740
mov esi, dword [eax + 0x1bc4]
test esi, esi
je 0x40c740
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.invalid_distance_too_far_back
mov dword [eax + 4], 0x3f51
mov dword [esp + 0x40], 0xfffffffd
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
lea esi, [esi]
nop
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x28]
mov dword [eax + 0x40], ebp
mov ebp, dword [eax + 0x2c]
mov dword [eax + 0x3c], edx
test ebp, ebp
jne 0x40b8e0
cmp dword [esp + 0x38], esi
je 0x40b90d
mov eax, dword [eax + 4]
cmp eax, 0x3f50
ja 0x40b90d
cmp eax, 0x3f4d
jbe 0x40b8e0
cmp dword [esp + 0x94], 4
je 0x40b90d
mov eax, dword [esp + 0x90]
mov edx, edi
call fcn.0040ae00
test eax, eax
jne 0x40cfbf
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x38]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
sub ecx, eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
add dword [eax + 0x14], ecx
sub esi, ebx
add dword [eax + 8], esi
add dword [edi + 0x20], ecx
test byte [edi + 0xc], 4
je 0x40b935
test ecx, ecx
jne 0x40c3f0
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x40]
test edx, edx
je 0x40b946
add eax, 0x40
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 4]
cmp edx, 0x3f3f
je 0x40c3e0
cmp edx, 0x3f47
je 0x40b969
cmp edx, 0x3f42
jne 0x40b96e
add eax, 0x100
mov edi, dword [esp + 0x90]
or esi, ecx
mov dword [edi + 0x2c], eax
je 0x40b986
cmp dword [esp + 0x94], 4
jne 0x40b992
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40ccfb
mov eax, dword [esp + 0x40]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x40c7d0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1bcc], eax
mov dword [edx + 4], 0x3f4a
mov eax, dword [esp + 0x28]
mov esi, 0xffffffff
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x54]
mov eax, dword [esp + 0x30]
shl esi, cl
mov dword [esp + 0x48], edx
not esi
and eax, esi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x44], 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, ebp
jbe 0x40ba70
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x54], edi
mov ecx, ebp
mov edi, dword [esp + 0x2c]
mov ebp, esi
mov esi, dword [esp + 0x30]
jmp 0x40ba28
test ebx, ebx
je 0x40c720
movzx eax, byte [edi]
mov edx, dword [esp + 0x48]
add edi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
mov eax, esi
and eax, ebp
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x44], 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 0x40ba20
mov dword [esp + 0x30], esi
mov ebp, ecx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x54]
mov esi, eax
test byte [esp + 0x44], 0xf0
je 0x40c914
mov edx, dword [esp + 0x28]
mov esi, dword [edx + 0x1bc8]
mov edx, dword [esp + 0x28]
add esi, eax
mov ecx, eax
sub ebp, eax
shr dword [esp + 0x30], cl
mov dword [edx + 0x1bc8], esi
test byte [esp + 0x44], 0x40
je 0x40cae8
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [edx + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x30], 0
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f50
lea esi, [esi]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x40], 1
jmp 0x40b890
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
test ah, 2
jne 0x40bb8e
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x24]
test edx, edx
je 0x40bb1b
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.0040a520
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [esi + 4], 0x3f3f
jmp case.0x40b3e7.16191
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
test ah, 0x10
jne 0x40c490
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x40bb7a
mov dword [edx + 0x24], 0
mov edx, dword [esp + 0x28]
mov dword [edx + 4], 0x3f3c
test ah, 2
je 0x40bb00
cmp ebp, 0xf
ja 0x40bbd9
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x30]
jmp 0x40bbb8
test ebx, ebx
je 0x40cab0
movzx edx, byte [esi]
add esi, 1
sub ebx, 1
shl edx, cl
add ecx, 8
add eax, edx
cmp ecx, 0xf
jbe 0x40bbb0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov eax, ebp
mov ebp, ecx
mov esi, dword [esp + 0x28]
test byte [esi + 0xc], 4
je 0x40c8f0
movzx edx, word [esi + 0x1c]
cmp edx, dword [esp + 0x30]
je 0x40c8f0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [esi + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x44]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f43
test edx, edx
je 0x40c550
cmp ebx, edx
mov eax, edx
mov edx, dword [esp + 0x34]
cmovbe eax, ebx
cmp eax, edx
cmova eax, edx
mov esi, eax
test eax, eax
je 0x40d28b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
sub ebx, esi
mov dword [esp], edi
add edi, esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x28]
add dword [esp + 0x2c], esi
sub dword [esp + 0x34], esi
sub dword [eax + 0x44], esi
mov eax, dword [eax + 4]
jmp 0x40b3d9
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x44]
jmp 0x40bc22
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x6c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x44], eax
cmp esi, eax
jae 0x40cd9f
mov ecx, ebp
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
cmp ecx, 2
ja 0x40bd0a
test ebx, ebx
je 0x40cec0
lea edx, [eax + 1]
movzx eax, byte [eax]
sub ebx, 1
shl eax, cl
add ecx, 8
add edi, eax
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x28]
sub ecx, 3
mov ebp, dword [esp + 0x2c]
movzx eax, word [ebp + ebp + 0x41d87e]
mov dword [esi + 0x6c], ebp
mov ebp, edi
shr edi, 3
and ebp, 7
mov word [esi + eax*2 + 0x74], bp
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x44], eax
jbe 0x40cd8f
mov eax, edx
cmp ecx, 2
jbe 0x40bcb5
mov edx, eax
jmp 0x40bccd
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x48], 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 + 0x48]
jbe 0x40c8af
mov ecx, dword [esi + 0x58]
mov eax, 0xffffffff
mov edx, dword [esi + 0x50]
mov dword [esp + 0x4c], edi
shl eax, cl
not eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
and ecx, edx
lea esi, [edi + ecx*4]
movzx ecx, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, cl
cmp ebp, esi
jae 0x40bdda
test ebx, ebx
je 0x40ce80
mov dword [esp + 0x30], ebx
mov ecx, ebp
jmp 0x40bd9c
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x40ca90
movzx esi, byte [eax]
mov edi, dword [esp + 0x2c]
add eax, 1
sub dword [esp + 0x30], 1
shl esi, cl
add ecx, 8
add edx, esi
mov esi, dword [esp + 0x44]
and esi, edx
lea esi, [edi + esi*4]
movzx ebp, byte [esi + 1]
movzx edi, word [esi + 2]
mov ebx, ebp
movzx esi, bl
cmp esi, ecx
ja 0x40bd90
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x30]
cmp di, 0xf
jbe 0x40c870
cmp di, 0x10
je 0x40cf41
cmp di, 0x11
je 0x40cd08
lea edi, [esi + 7]
cmp edi, ebp
jbe 0x40be30
test ebx, ebx
je 0x40ce80
mov ecx, ebp
mov ebp, esi
mov esi, edi
jmp 0x40be18
test ebx, ebx
je 0x40cc91
movzx edi, byte [eax]
add eax, 1
sub ebx, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp esi, ecx
ja 0x40be10
mov esi, ebp
mov ebp, ecx
mov ecx, esi
sub ebp, esi
xor esi, esi
shr edx, cl
sub ebp, 7
mov ecx, edx
and edx, 0x7f
lea edi, [edx + 0xb]
mov edx, ecx
mov dword [esp + 0x30], edi
shr edx, 7
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x50]
ja 0x40d3ce
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 0x6c]
mov dword [esp + 0x48], edi
lea edi, [ecx + edi*2]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x48]
mov ecx, edi
mov dword [esp + 0x48], 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 0x40be90
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x6c], ecx
jmp 0x40c895
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x40baca
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40baca
cmp ebp, 0x1f
ja 0x40bf19
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x40bef8
test ebx, ebx
je 0x40c442
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0x1f
jbe 0x40bef0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebp
mov ebp, ecx
and edx, 4
je 0x40bac0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
cmp esi, dword [eax + 0x20]
je 0x40bac0
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x40cbb9
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f40
jmp case.0x40b3e7.16192
cmp ebp, 0x1f
ja 0x40bfb5
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40bf98
test ebx, ebx
je 0x40c3c0
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0x1f
jbe 0x40bf90
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x40bfc7
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x28]
test byte [eax + 0x15], 2
je 0x40bfdb
test byte [eax + 0xc], 4
jne 0x40cedb
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f37
jmp 0x40bffd
cmp ebp, 0xf
ja 0x40c03d
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40c020
test ebx, ebx
je 0x40c460
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x40c018
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x40c05a
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 ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x14]
mov eax, edx
test dh, 2
je 0x40c0a0
test byte [ecx + 0xc], 4
je 0x40c0a0
movzx eax, word [esp + 0x30]
mov dword [esp + 8], 2
mov esi, ecx
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov edx, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
mov eax, edx
lea esi, [esi]
mov esi, dword [esp + 0x28]
mov dword [esi + 4], 0x3f38
test dh, 4
jne 0x40c9f9
mov dword [esp + 0x30], 0
xor ebp, ebp
jmp 0x40c1f2
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov edx, eax
and edx, 0x400
test edx, edx
je 0x40c18b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x44]
cmp ebx, edx
mov esi, edx
cmovbe esi, ebx
mov dword [esp + 0x44], esi
test esi, esi
je 0x40c17c
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x40c14f
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x48], esi
test esi, esi
je 0x40c14f
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x4c], esi
sub esi, edx
cmp ecx, esi
jbe 0x40c14f
mov eax, dword [esp + 0x44]
add edx, ecx
sub edx, dword [esp + 0x4c]
add eax, esi
cmp ecx, eax
cmovae edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x14]
test ah, 2
je 0x40c162
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x40ce59
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x44]
sub ebx, ecx
mov dword [esp + 0x44], edx
sub edx, ecx
mov dword [eax + 0x44], edx
test edx, edx
jne 0x40c3ca
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x44], 0
mov dword [ecx + 4], 0x3f3a
test ah, 8
jne 0x40c560
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x40c1b8
mov dword [edx + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x44], 0
mov dword [ecx + 4], 0x3f3b
jmp 0x40bb5f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
jmp 0x40c19d
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x14]
mov eax, edx
test dh, 4
jne 0x40cbab
mov esi, dword [esp + 0x28]
xor edx, edx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40c206
mov dword [ecx + 0x10], 0
mov esi, dword [esp + 0x28]
mov dword [esi + 4], 0x3f39
jmp 0x40c0d7
cmp ebp, 0xf
ja 0x40c267
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40c248
test ebx, ebx
je 0x40c3c0
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xf
jbe 0x40c240
mov dword [esp + 0x2c], edx
mov ebp, ecx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
cmp al, 8
je 0x40cca4
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [esi + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
sub ebp, 3
shr dword [esp + 0x30], 3
mov dword [eax + 4], 0x3f44
lea esi, [esi]
nop
cmp ebp, 0xd
ja 0x40c2f7
test ebx, ebx
je 0x40c3ca
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x40c2d8
test ebx, ebx
je 0x40c3c0
movzx eax, byte [edx]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add esi, eax
cmp ecx, 0xd
jbe 0x40c2d0
mov dword [esp + 0x2c], edx
mov ebp, ecx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
sub ebp, 0xe
mov eax, ecx
mov edx, ecx
shr eax, 5
and edx, 0x1f
and eax, 0x1f
add edx, 0x101
add eax, 1
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
mov esi, ecx
shr ecx, 0xe
shr esi, 0xa
mov dword [esp + 0x48], eax
and esi, 0xf
mov dword [esp + 0x30], ecx
add esi, 4
mov eax, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x28]
mov dword [esi + 0x60], eax
cmp edx, 0x11e
ja 0x40c354
cmp dword [esp + 0x48], 0x1e
jbe 0x40cf28
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov edx, dword [esp + 0x28]
shr dword [esp + 0x30], cl
sub ebp, eax
mov dword [edx + 0x1bc8], eax
mov dword [edx + 0x44], esi
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4d
mov esi, dword [esp + 0x34]
test esi, esi
je 0x40cfb6
mov edx, dword [esp + 0x28]
sub esi, 1
add edi, 1
mov dword [esp + 0x34], esi
mov eax, dword [edx + 0x44]
mov byte [edi - 1], al
mov dword [edx + 4], 0x3f48
jmp case.0x40b3e7.16200
mov dword [esp + 0x2c], edx
mov ebp, ecx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
jmp 0x40b890
sub eax, 0xffffff80
jmp 0x40b96e
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
sub eax, dword [esp + 0x38]
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 0x40c480
call fcn.0040a520
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0x90]
mov dword [edi + 0x30], eax
jmp 0x40b935
mov edi, ebp
mov ebp, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
sub ecx, dword [esp + 0x34]
jmp 0x40b890
mov ebp, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], esi
sub ecx, dword [esp + 0x34]
jmp 0x40b890
call fcn.00409fe0
mov ecx, dword [esp + 0x2c]
jmp 0x40c424
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x48], ebp
jmp 0x40c4b4
cmp ebx, esi
jbe 0x40c4e3
mov eax, dword [esp + 0x2c]
add esi, 1
movzx edx, byte [eax + esi - 1]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x40c4df
mov edi, dword [eax + 0x24]
test edi, edi
je 0x40c4df
mov ebp, dword [ecx + 0x44]
cmp ebp, dword [eax + 0x28]
jae 0x40c4df
lea eax, [ebp + 1]
mov dword [ecx + 0x44], eax
mov byte [edi + ebp], dl
test dl, dl
jne 0x40c4b0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
test byte [eax + 0x15], 2
je 0x40c530
test byte [eax + 0xc], 4
je 0x40c530
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov byte [esp + 0x44], dl
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1c], eax
movzx edx, byte [esp + 0x44]
lea esi, [esi]
lea esi, [esi]
add dword [esp + 0x2c], esi
sub ebx, esi
test dl, dl
jne 0x40c3ca
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
jmp 0x40bb7a
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f3f
jmp case.0x40b3e7.16191
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x48], ebp
lea 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 0x40c5ab
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x40c5ab
mov ebp, dword [ecx + 0x44]
cmp ebp, dword [eax + 0x20]
jae 0x40c5ab
lea eax, [ebp + 1]
mov dword [ecx + 0x44], eax
mov byte [edi + ebp], dl
test dl, dl
je 0x40c5b3
cmp ebx, esi
ja 0x40c580
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
test byte [eax + 0x15], 2
je 0x40c600
test byte [eax + 0xc], 4
je 0x40c600
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov byte [esp + 0x44], dl
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1c], eax
movzx edx, byte [esp + 0x44]
lea esi, [esi]
lea esi, [esi]
add dword [esp + 0x2c], esi
sub ebx, esi
test dl, dl
jne 0x40c3ca
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
jmp 0x40c1b8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x58]
mov esi, dword [eax + 0x50]
mov dword [eax + 0x1bc8], 0
mov eax, 0xffffffff
shl eax, cl
mov dword [esp + 0x44], esi
not eax
mov dword [esp + 0x48], eax
and eax, dword [esp + 0x30]
lea eax, [esi + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
movzx esi, word [eax + 2]
movzx eax, cl
cmp eax, ebp
jbe 0x40c6d7
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x2c]
mov ecx, ebp
mov edi, dword [esp + 0x30]
jmp 0x40c688
test ebx, ebx
je 0x40cb90
movzx eax, byte [edx]
mov esi, dword [esp + 0x44]
add edx, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [esp + 0x48]
and eax, edi
lea esi, [esi + eax*4]
movzx eax, byte [esi]
movzx ebp, byte [esi + 1]
movzx esi, word [esi + 2]
mov byte [esp + 0x30], al
mov eax, ebp
cmp ebp, ecx
ja 0x40c680
mov dword [esp + 0x48], ebp
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
movzx edx, byte [esp + 0x30]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x4c]
test dl, dl
je 0x40c372
test dl, 0xf0
je 0x40d01f
mov ecx, eax
shr dword [esp + 0x30], cl
mov ecx, dword [esp + 0x28]
sub ebp, eax
mov dword [ecx + 0x1bc8], eax
mov dword [ecx + 0x44], esi
test dl, 0x20
je 0x40ce99
mov eax, dword [esp + 0x28]
mov dword [eax + 0x1bc8], 0xffffffff
mov dword [eax + 4], 0x3f3f
jmp case.0x40b3e7.16191
mov dword [esp + 0x2c], edi
mov ebp, ecx
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x30], esi
jmp 0x40b890
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
cmp eax, edx
jb 0x40c900
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x48]
add esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov eax, edx
cmp ecx, edx
cmovbe eax, ecx
mov edx, dword [esp + 0x34]
cmp eax, edx
cmova eax, edx
sub edx, eax
sub ecx, eax
add eax, edi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
mov dword [edx + 0x44], ecx
lea esi, [esi]
lea esi, [esi]
movsb byte es:[edi], byte [esi]
cmp edi, eax
jne 0x40c7a0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x44]
test edx, edx
je case.0x40b3e7.16199
mov eax, dword [eax + 4]
jmp 0x40b3d9
mov dword [esp + 0x40], 0xfffffffc
jmp 0x40b992
cmp ebp, edx
jae 0x40c81a
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edi
mov edi, edx
mov edx, dword [esp + 0x30]
jmp 0x40c7f8
test ebx, ebx
je 0x40c440
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, edi
jb 0x40c7f0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, edi
mov edi, ebp
mov ebp, ecx
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [esp + 0x28]
sub ebp, edx
shl eax, cl
mov ecx, dword [esp + 0x30]
not eax
add dword [esi + 0x1bc8], edx
and eax, ecx
add eax, dword [esi + 0x44]
mov ecx, edx
shr dword [esp + 0x30], cl
mov dword [esi + 0x44], eax
jmp 0x40b9b6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [esp + 0x38], eax
lea esi, [esi]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f4f
jmp 0x40beb7
shr edx, cl
mov ecx, dword [esp + 0x48]
sub ebp, esi
mov dword [esp + 0x30], ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
add esi, 1
mov dword [ecx + 0x6c], esi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x30]
mov word [ecx + esi*2 + 0x74], di
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x50], esi
ja 0x40bd5a
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0x3f51
je case.0x40b3e7.16209
cmp word [eax + 0x274], 0
jne 0x40d302
mov edx, dword [esp + 0x90]
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x30], 0
xor ebp, ebp
jmp 0x40bb00
mov ecx, dword [esp + 0x28]
sub edx, eax
add eax, dword [ecx + 0x2c]
add eax, dword [esp + 0x48]
add esi, eax
jmp 0x40c76e
movzx ecx, word [esp + 0x4c]
mov dword [esp + 0x58], ecx
movzx ecx, byte [esp + 0x44]
add ecx, eax
mov eax, 0xffffffff
shl eax, cl
mov ecx, edx
mov edx, dword [esp + 0x48]
not eax
mov dword [esp + 0x5c], eax
and eax, dword [esp + 0x30]
shr eax, cl
add eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [esp + 0x44], dl
movzx edx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [esp + 0x4c], dx
lea edx, [eax + esi]
cmp edx, ebp
jbe 0x40c9e0
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x30]
jmp 0x40c988
test ebx, ebx
je 0x40ce40
movzx eax, byte [edi]
mov ecx, ebp
add ebp, 8
add edi, 1
sub ebx, 1
shl eax, cl
movzx ecx, byte [esp + 0x54]
add esi, eax
mov eax, dword [esp + 0x5c]
and eax, esi
shr eax, cl
mov ecx, dword [esp + 0x48]
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 + 0x44], dl
mov edx, dword [esp + 0x54]
add edx, eax
cmp edx, ebp
ja 0x40c980
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x4c]
mov word [esp + 0x4c], cx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov ecx, esi
sub ebp, dword [esp + 0x50]
shr dword [esp + 0x30], cl
add esi, dword [edx + 0x1bc8]
jmp 0x40ba87
mov dword [esp + 0x30], 0
xor ebp, ebp
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x40ca28
test ebx, ebx
je 0x40c442
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x40ca20
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x44], ecx
mov eax, dword [eax + 0x24]
test eax, eax
je 0x40ca5c
mov dword [eax + 0x14], ecx
test dh, 2
je 0x40ca6f
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x40d1ce
mov eax, edx
mov dword [esp + 0x30], 0
and edx, 0x400
xor ebp, ebp
jmp 0x40c206
mov ebx, dword [esp + 0x30]
mov ebp, ecx
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
jmp 0x40b890
mov ebp, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
sub ecx, dword [esp + 0x34]
jmp 0x40b890
mov eax, dword [esp + 0x28]
mov esi, edi
sub esi, ecx
mov eax, dword [eax + 0x44]
mov ecx, eax
jmp 0x40c77c
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
movzx eax, word [esp + 0x4c]
and edx, 0xf
mov dword [ecx + 4], 0x3f4b
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
jmp 0x40b80f
cmp ebp, edx
jae 0x40cb5a
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edi
mov edi, edx
mov edx, dword [esp + 0x30]
jmp 0x40cb38
test ebx, ebx
je 0x40c440
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, edi
jb 0x40cb30
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, edi
mov edi, ebp
mov ebp, ecx
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [esp + 0x28]
sub ebp, edx
shl eax, cl
mov ecx, dword [esp + 0x30]
not eax
add dword [esi + 0x1bc8], edx
and eax, ecx
add dword [esi + 0x48], eax
mov eax, ecx
mov ecx, edx
shr eax, cl
mov dword [esp + 0x30], eax
jmp 0x40b817
mov dword [esp + 0x30], edi
mov ebp, ecx
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
jmp 0x40b890
cmp ebp, 0xf
jbe 0x40ca03
jmp 0x40ca47
cmp ebp, 0xf
ja 0x40cc01
test ebx, ebx
je 0x40c3ca
mov ecx, ebp
mov esi, dword [esp + 0x2c]
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x40cbe0
test ebx, ebx
je 0x40c442
movzx eax, byte [esi]
add esi, 1
sub ebx, 1
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, 0xf
jbe 0x40cbd8
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebp
mov ebp, ecx
mov eax, dword [esp + 0x28]
test dl, 2
je 0x40cc18
cmp dword [esp + 0x30], 0x8b1f
je 0x40d296
mov eax, dword [eax + 0x24]
test eax, eax
je 0x40cc26
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x40cf0a
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 0x40cf0a
mov eax, dword [esp + 0x30]
and eax, 0xf
cmp eax, 8
je 0x40d389
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x4c]
mov ebp, ecx
mov dword [esp + 0x30], edx
jmp 0x40c3ca
test dword [esp + 0x30], 0xe000
je 0x40d157
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 0x44], edx
mov dword [eax + 4], 0x3f42
je 0x40d517
mov dword [esp + 0x30], 0
xor ebp, ebp
jmp 0x40bc17
mov dword [esp + 0x40], 0xfffffffb
jmp 0x40b992
lea edi, [esi + 3]
cmp edi, ebp
jbe 0x40cd40
test ebx, ebx
je 0x40ce80
mov ecx, ebp
mov ebp, esi
mov esi, edi
jmp 0x40cd28
test ebx, ebx
je 0x40cc91
movzx edi, byte [eax]
add eax, 1
sub ebx, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp esi, ecx
ja 0x40cd20
mov esi, ebp
mov ebp, ecx
mov ecx, esi
shr edx, cl
mov ecx, edx
and edx, 7
lea edi, [edx + 3]
mov edx, ecx
mov ecx, 0xfffffffd
sub ecx, esi
mov dword [esp + 0x30], edi
shr edx, 3
xor esi, esi
add ebp, ecx
jmp 0x40be4c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], edx
sub ebp, 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 case.0x40b3e7.16209
mov dword [esp + 0x2c], edx
mov esi, eax
mov ebp, ecx
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x48]
cmp esi, 0x12
ja 0x40cdd4
lea eax, [esi + esi + 0x41d880]
mov esi, dword [esp + 0x28]
mov ecx, 0x41d8a6
lea esi, [esi]
movzx edx, word [eax]
add eax, 2
mov word [esi + edx*2 + 0x74], 0
cmp ecx, eax
jne 0x40cdb8
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.0040ded0
test eax, eax
je 0x40d214
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [esi + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x30], esi
jmp 0x40b890
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov dword [esi + 0x1c], eax
jmp 0x40c162
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
sub ecx, dword [esp + 0x34]
jmp 0x40b890
test dl, 0x40
je 0x40d138
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x30], edi
mov ebp, ecx
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jmp 0x40b890
mov eax, dword [esp + 0x30]
mov esi, 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 [esi + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov dword [esi + 0x1c], eax
jmp 0x40bfdb
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f45
jmp 0x40bc9e
lea edi, [esi + 2]
cmp edi, ebp
jbe 0x40cf80
test ebx, ebx
je 0x40ce80
mov ecx, ebp
mov ebp, esi
mov esi, edi
jmp 0x40cf68
test ebx, ebx
je 0x40cc91
movzx edi, byte [eax]
add eax, 1
sub ebx, 1
shl edi, cl
add ecx, 8
add edx, edi
cmp ecx, esi
jb 0x40cf60
mov esi, ebp
mov ebp, ecx
mov edi, dword [esp + 0x48]
mov ecx, esi
sub ebp, esi
shr edx, cl
test edi, edi
je 0x40d3ce
mov edi, dword [esp + 0x28]
mov ecx, edx
mov esi, dword [esp + 0x48]
shr edx, 2
and ecx, 3
sub ebp, 2
movzx esi, word [edi + esi*2 + 0x72]
lea edi, [ecx + 3]
mov dword [esp + 0x30], edi
jmp 0x40be4c
mov ecx, dword [esp + 0x38]
jmp 0x40b890
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], 0xfffffffc
mov dword [eax + 4], 0x3f52
jmp 0x40b992
mov edx, dword [esp + 0x34]
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 0x40d233
call fcn.0040a520
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov dword [edx + 0x1c], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x30], eax
mov ecx, edx
and ecx, 4
jmp 0x40b587
add edx, eax
mov dword [esp + 0x50], esi
mov esi, 0xffffffff
mov ecx, edx
shl esi, cl
mov ecx, eax
mov edx, esi
mov esi, dword [esp + 0x44]
not edx
mov dword [esp + 0x54], edx
and edx, dword [esp + 0x30]
shr edx, cl
add edx, dword [esp + 0x50]
lea ecx, [esi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov word [esp + 0x4c], si
lea esi, [ecx + eax]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], esi
cmp esi, ebp
jbe 0x40d0f4
test ebx, ebx
je 0x40c3ca
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
jmp 0x40d098
test ebx, ebx
je 0x40d272
movzx edx, byte [edi]
mov ecx, ebp
mov esi, dword [esp + 0x44]
add ebp, 8
add edi, 1
sub ebx, 1
shl edx, cl
movzx ecx, byte [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x54]
and edx, eax
shr edx, cl
add edx, dword [esp + 0x50]
lea ecx, [esi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
mov word [esp + 0x4c], si
movzx esi, byte [ecx + 1]
mov ecx, dword [esp + 0x48]
add ecx, esi
cmp ecx, ebp
ja 0x40d090
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x30]
mov ecx, eax
sub ebp, eax
shr esi, cl
mov eax, esi
mov esi, dword [esp + 0x48]
mov ecx, esi
sub ebp, esi
mov esi, dword [esp + 0x28]
shr eax, cl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x1bc8], eax
movzx eax, word [esp + 0x4c]
mov dword [esi + 0x44], eax
test dl, dl
jne 0x40c6fd
jmp 0x40c385
mov eax, dword [esp + 0x28]
and edx, 0xf
mov dword [eax + 0x4c], edx
mov dword [eax + 4], 0x3f49
jmp 0x40b9a7
mov edx, dword [esp + 0x2c]
jmp 0x40b731
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x40d16e
mov eax, dword [esp + 0x30]
shr eax, 8
and eax, 1
mov dword [edx], eax
test dword [esp + 0x30], 0x200
je 0x40d186
mov eax, dword [esp + 0x28]
test byte [eax + 0xc], 4
jne 0x40d45d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f36
jmp 0x40bf75
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x94], 6
mov dword [eax + 4], 0x3f47
jne case.0x40b3e7.16199
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x40], 0
jmp 0x40b890
movzx eax, word [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 8], 2
xor ebp, ebp
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov dword [esp + 0x30], 0
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
mov edx, eax
and edx, 0x400
jmp 0x40c206
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f46
jmp 0x40bd1b
call fcn.00409fe0
jmp 0x40d001
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], 2
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], ebx
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [eax + 0x40], ebp
mov dword [eax + 0x3c], edi
jmp 0x40b992
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
jmp 0x40b890
mov ecx, dword [esp + 0x38]
sub ecx, edx
jmp 0x40b890
mov esi, dword [eax + 0x28]
test esi, esi
jne 0x40d2a4
mov dword [eax + 0x28], 0xf
mov dword [esp + 8], 0
xor ebp, ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0040a520
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x6c]
mov ecx, 0xffff8b1f
mov word [esp + 0x6c], cx
mov dword [esi + 0x1c], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040a520
mov dword [esi + 4], 0x3f35
mov dword [esi + 0x1c], eax
mov dword [esp + 0x30], 0
jmp 0x40c225
mov edx, dword [esp + 0x28]
mov eax, edx
lea esi, [edx + 0x2f4]
mov dword [edx + 0x58], 9
lea ecx, [edx + 0x70]
add eax, 0x534
mov dword [esp + 0x44], esi
mov dword [edx + 0x70], eax
mov dword [edx + 0x50], eax
mov eax, edx
lea edx, [edx + 0x74]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x54]
add eax, 0x58
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov dword [esp], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
call fcn.0040ded0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
test eax, eax
je 0x40d4af
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
shr dword [esp + 0x30], 4
mov eax, dword [esp + 0x30]
sub ebp, 4
mov edx, dword [esp + 0x28]
and eax, 0xf
mov ecx, eax
mov eax, dword [edx + 0x28]
add ecx, 8
test eax, eax
jne 0x40d3f8
mov dword [edx + 0x28], ecx
cmp ecx, 0xf
jbe 0x40d401
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_window_size
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x4c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [esp + 0x28]
mov dword [eax + 4], 0x3f51
jmp case.0x40b3e7.16209
cmp ecx, 0xf
ja 0x40d3b0
cmp eax, ecx
jb 0x40d3b0
mov esi, dword [esp + 0x28]
mov eax, 1
shl eax, cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00409fe0
and dword [esp + 0x30], 0x200
mov edx, esi
mov dword [esi + 0x1c], eax
mov esi, dword [esp + 0x90]
mov dword [esi + 0x30], eax
jne 0x40d52e
mov dword [edx + 4], 0x3f3f
xor ebp, ebp
jmp case.0x40b3e7.16191
movzx eax, word [esp + 0x30]
mov esi, 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 [esi + 0x1c]
mov dword [esp], eax
call fcn.0040a520
mov dword [esi + 0x1c], eax
jmp 0x40d186
mov ecx, dword [esp + 0x38]
sub ebp, 3
sub ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], 0
shr dword [esp + 0x30], 3
jmp 0x40b890
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x5c], 6
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x64]
mov dword [esp], 2
mov dword [esp + 0x44], eax
add eax, eax
add eax, edx
mov dword [esp + 4], eax
call fcn.0040ded0
test eax, eax
je 0x40d1a0
mov eax, dword [esp + 0x90]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [esi + 4], 0x3f51
jmp case.0x40b3e7.16209
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
xor ebp, ebp
sub ecx, dword [esp + 0x34]
jmp 0x40b890
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
xor ebp, ebp
mov dword [eax + 4], 0x3f3d
jmp 0x40b3f5