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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov ecx, dword [ebp + 8]
test ecx, ecx
je case.default.0x581030
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
test eax, eax
mov dword [ebp - 0x50], eax
je case.default.0x581030
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.default.0x581030
mov ebx, dword [edx]
test ebx, ebx
je 0x581037
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov esi, dword [ebp - 0x50]
mov eax, dword [esi]
cmp eax, 0xb
je 0x58104d
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
mov esi, dword [edi + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
cmp eax, 0x1c
ja case.default.0x581030
jmp dword [eax*4 + 0x6c394c]
mov edx, dword [edx + 4]
test edx, edx
je 0x580ff3
nop
mov eax, 0xfffffffe
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esi], 0xc
mov eax, 0xc
jmp 0x580ffd
cmp edi, 0xf
ja 0x581086
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0xf
jbe 0x58105f
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x50]
cmp bl, 8
mov dword [esi + 0x10], ebx
je 0x5825c8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x581f40
cmp edi, 0xd
ja 0x5810d3
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0xd
jbe 0x5810ac
mov eax, dword [ebp - 0x24]
sub edi, 0xe
mov edx, dword [ebp - 0x24]
shr dword [ebp - 0x24], 0xa
mov ebx, dword [ebp - 0x50]
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov esi, dword [ebp - 0x24]
mov dword [ebx + 0x60], eax
and edx, 0x1f
lea ecx, [edx + 1]
mov dword [ebx + 0x64], ecx
mov edx, dword [ebp - 0x50]
and esi, 0xf
shr dword [ebp - 0x24], 4
cmp eax, 0x11e
lea ebx, [esi + 4]
mov dword [edx + 0x5c], ebx
ja 0x58111d
cmp ecx, 0x1e
jbe 0x5825e7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, 0x1b
mov dword [ecx], 0x1b
jmp switch.0x00581030
cmp edi, 0x1f
ja 0x581166
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0x1f
jbe 0x58113f
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shl dword [ebp - 0x24], 0x18
shr ecx, 8
mov edx, dword [ebp - 0x50]
shr ebx, 0x18
and ecx, 0xff00
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
and eax, 0xff00
add ebx, ecx
mov dword [ebp - 0x24], 0
shl eax, 8
add ebx, eax
mov dword [edx], 0xa
add ebx, esi
mov dword [edx + 0x18], ebx
mov dword [edi + 0x30], ebx
xor edi, edi
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x58285b
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00585770
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [esi], 0xb
mov dword [ecx + 0x30], eax
cmp dword [ebp + 0xc], 5
jne case.0x581030.12
lea esi, [esi]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], esi
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x3c], edi
mov edi, dword [ebx + 0x28]
mov dword [ebx + 0x38], ecx
test edi, edi
jne 0x581240
cmp dword [ebx], 0x17
ja 0x58212a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x5812de
nop
lea esi, [esi]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi + 0x34]
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x5818a0
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x581276
mov dword [edi + 0x30], 0
mov ecx, dword [edi + 0x24]
mov edx, 1
mov dword [edi + 0x2c], 0
shl edx, cl
mov dword [edi + 0x28], edx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [eax + 0x10]
sub ebx, esi
cmp edx, ebx
jbe 0x5822ff
mov eax, dword [edi + 0x30]
mov esi, edx
sub esi, eax
cmp esi, ebx
jbe 0x581296
mov esi, ebx
sub dword [ebp - 0x6c], ebx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x6c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
sub ebx, esi
jne 0x582341
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x28]
add eax, esi
cmp eax, edx
je 0x5823a8
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x2c]
cmp eax, edx
jae 0x5812d8
add eax, esi
mov dword [edi + 0x2c], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [edx + 4]
sub ebx, eax
sub esi, ecx
add dword [edx + 8], esi
mov ecx, dword [ebp - 0x50]
add dword [edx + 0x14], ebx
mov edi, dword [ecx + 8]
add dword [ecx + 0x1c], ebx
test edi, edi
setne al
xor edx, edx
test ebx, ebx
setne dl
test edx, eax
je 0x58133f
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x58214f
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x18]
mov dword [esp], edi
call fcn.005807b0
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [edi + 0x30], eax
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x3c]
test edx, edx
je 0x58134f
add eax, 0x40
mov ecx, dword [ebp - 0x50]
cmp dword [ecx], 0xb
je 0x582122
mov edx, dword [ebp + 8]
or esi, ebx
mov dword [edx + 0x2c], eax
sete al
cmp dword [ebp + 0xc], 4
sete bl
or eax, ebx
test al, 1
je 0x581390
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x581390
mov dword [ebp - 0x30], 0xfffffffb
jmp 0x581390
mov eax, dword [ebp - 0x30]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x20]
test edx, edx
je 0x5813b0
mov eax, dword [ebp - 0x24]
shr eax, 8
and eax, 1
mov dword [edx], eax
mov esi, dword [ebp - 0x50]
test byte [esi + 0x11], 2
jne 0x58271a
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 2
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0x1f
jbe 0x5813cf
mov edi, dword [ebp - 0x50]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x581406
mov esi, dword [ebp - 0x24]
mov dword [eax + 4], esi
mov ebx, dword [ebp - 0x50]
test byte [ebx + 0x11], 2
jne 0x582531
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 3
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
cmp edi, 0xf
jbe 0x581430
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x20]
test edx, edx
je 0x581471
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x24]
shr esi, 8
mov dword [edx + 8], ebx
mov dword [edx + 0xc], esi
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
test dh, 2
jne 0x58248e
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 4
test dh, 4
je 0x582327
cmp edi, 0xf
ja 0x5814c7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 0xf
jbe 0x5814a0
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x5814dd
mov dword [eax + 0x14], ebx
mov edx, dword [esi + 0x10]
test dh, 2
jne 0x5824f3
mov dword [ebp - 0x24], 0
xor edi, edi
mov eax, dword [ebp - 0x50]
mov dword [eax], 5
test dh, 4
je 0x581584
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x40]
cmp eax, dword [ebp - 0x1c]
mov ebx, eax
jbe 0x581511
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x581576
mov esi, dword [ebp - 0x50]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x58155c
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x58155c
mov dword [ebp - 0x34], ebx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub edx, eax
lea eax, [edx + ebx]
cmp eax, ecx
jbe 0x58153d
sub ecx, edx
mov dword [ebp - 0x34], ecx
lea eax, [esi + edx]
mov esi, dword [ebp - 0x34]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x10]
test dh, 2
jne 0x5825a4
sub dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x50]
add dword [ebp - 0x14], ebx
mov eax, dword [ecx + 0x40]
sub eax, ebx
mov dword [ecx + 0x40], eax
test eax, eax
jne 0x5811f0
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x40], 0
mov dword [eax], 6
test dh, 8
je 0x582135
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
xor ebx, ebx
lea esi, [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x50]
movzx esi, byte [ebx + eax]
mov eax, dword [ecx + 0x20]
inc ebx
test eax, eax
je 0x5815f0
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x5815f0
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x20]
mov dword [ebp - 0x70], ecx
jae 0x5815f0
mov eax, esi
mov byte [ecx + edx], al
mov edx, dword [ebp - 0x50]
inc dword [edx + 0x40]
lea esi, [esi]
lea edi, [edi]
test esi, esi
setne cl
xor edx, edx
cmp ebx, dword [ebp - 0x1c]
setb dl
test edx, ecx
jne 0x5815b0
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x582450
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x5811f0
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x40], 0
mov dword [ecx], 7
test dh, 0x10
je 0x582108
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
xor ebx, ebx
nop
lea esi, [esi]
mov ecx, dword [ebp - 0x14]
movzx esi, byte [ebx + ecx]
mov ecx, dword [ebp - 0x50]
inc ebx
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x581680
mov edx, dword [eax + 0x24]
test edx, edx
je 0x581680
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x28]
mov dword [ebp - 0x70], ecx
jae 0x581680
mov eax, esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x50]
inc dword [eax + 0x40]
nop
test esi, esi
setne cl
xor edx, edx
cmp ebx, dword [ebp - 0x1c]
setb dl
test edx, ecx
jne 0x581650
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x582387
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x5811f0
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 8
test dh, 2
je 0x5820ba
cmp edi, 0xf
ja 0x5816f6
lea esi, [esi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [eax]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 0xf
jbe 0x5816d0
mov ebx, dword [ebp - 0x50]
movzx esi, word [ebx + 0x18]
cmp esi, dword [ebp - 0x24]
je 0x5820b1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.header_crc_mismatch
mov dword [ebx], 0x1b
mov eax, 0x1b
jmp switch.0x00581030
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 4]
test esi, esi
je 0x582084
mov dword [ebx], 0x18
mov ecx, edi
mov eax, 0x18
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
jmp switch.0x00581030
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x581796
cmp ebx, edi
jbe 0x58177c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [edx]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
cmp ebx, edi
ja 0x581757
mov cl, bl
mov edx, dword [ebp - 0x24]
mov eax, 1
shr dword [ebp - 0x24], cl
sub edi, ebx
shl eax, cl
mov esi, dword [ebp - 0x50]
dec eax
and eax, edx
add dword [esi + 0x40], eax
mov ebx, dword [ebp - 0x50]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0x50]
mov esi, 1
mov ebx, dword [ebp - 0x50]
mov ecx, dword [eax + 0x58]
mov edx, dword [ebx + 0x50]
shl esi, cl
mov dword [ebp - 0x68], edx
lea edx, [esi - 1]
jmp 0x5817e1
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [eax]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x68]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx esi, cl
cmp esi, edi
ja 0x5817c0
test bl, 0xf0
jne 0x581878
mov ecx, ebx
movzx edx, bl
shr ecx, 0x10
mov dword [ebp - 0x44], ecx
mov esi, ebx
mov dword [ebp - 0x48], edx
jmp 0x58182f
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
mov edx, esi
mov eax, dword [ebp - 0x48]
movzx ebx, dh
movzx ecx, bl
add ecx, eax
mov ebx, dword [ebp - 0x24]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
movzx ecx, dh
mov ebx, dword [ebp - 0x44]
shr eax, cl
mov ecx, dword [ebp - 0x68]
add eax, ebx
mov ebx, dword [ecx + eax*4]
movzx eax, dh
movzx eax, al
movzx ecx, bh
movzx edx, cl
add eax, edx
cmp eax, edi
ja 0x58180d
mov eax, esi
movzx ecx, ah
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
movzx ecx, bh
movzx eax, bl
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
test al, 0x40
je 0x5824d7
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x18], 0x6c37f4
jmp 0x581de9
mov eax, 1
mov ebx, 1
mov dword [esp + 8], eax
mov ecx, dword [edi + 0x24]
shl ebx, cl
mov dword [esp + 4], ebx
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x28]
mov dword [esp], esi
call dword [edx + 0x20]
mov dword [ebp - 0x4c], eax
test eax, eax
mov dword [edi + 0x34], eax
jne 0x582367
mov edi, dword [ebp - 0x50]
mov dword [edi], 0x1c
mov eax, 0xfffffffc
jmp 0x581045
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5811f0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x44]
sub edx, esi
cmp eax, edx
jbe 0x582375
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 0x30]
cmp eax, edx
jae 0x5824c6
mov ebx, ecx
mov ecx, dword [ecx + 0x28]
sub edx, eax
mov eax, dword [ebx + 0x34]
sub ecx, edx
add ecx, eax
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x40]
cmp eax, edx
jae 0x581937
mov edx, eax
cmp edx, dword [ebp - 0x20]
jbe 0x58193f
mov edx, dword [ebp - 0x20]
sub dword [ebp - 0x20], edx
sub eax, edx
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x40], eax
lea esi, [esi]
movzx eax, byte [ecx]
inc ecx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], al
inc ebx
dec edx
mov dword [ebp - 0x18], ebx
jne 0x581950
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
test edx, edx
jne 0x582851
mov dword [eax], 0x12
mov eax, 0x12
jmp switch.0x00581030
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x68], 0
mov dword [eax], 0x11
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
mov esi, dword [ecx + 0x64]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
add ebx, esi
mov esi, dword [ecx + 0x68]
cmp esi, ebx
jae 0x581a8d
mov edx, dword [ecx + 0x4c]
mov eax, 1
mov ecx, dword [ecx + 0x54]
mov dword [ebp - 0x54], edx
shl eax, cl
dec eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
jbe 0x581a15
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebp - 0x14]
add edi, 8
movzx edx, byte [eax]
inc dword [ebp - 0x14]
shl edx, cl
add dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x54]
and eax, ebx
mov ebx, dword [edx + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x5819dc
mov eax, ebx
shr eax, 0x10
cmp ax, 0xf
ja 0x582172
movzx ecx, bh
movzx edx, cl
cmp edx, edi
jbe 0x581a5c
nop
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx ecx, bh
movzx edx, cl
cmp edx, edi
ja 0x581a30
mov edx, dword [ebp - 0x50]
movzx ecx, bh
movzx eax, cl
shr dword [ebp - 0x24], cl
sub edi, eax
shr ebx, 0x10
mov word [edx + esi*2 + 0x70], bx
lea eax, [esi + 1]
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x68], eax
mov esi, eax
mov ebx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
add ebx, edx
cmp esi, ebx
jb 0x5819c4
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
cmp eax, 0x1b
je 0x58102b
mov dword [ebx + 0x54], 9
mov eax, ebx
add eax, 0x530
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], eax
add ebx, 0x2f0
mov dword [esp + 0x14], ebx
mov esi, dword [ebp - 0x50]
add esi, 0x54
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0x50]
add esi, 0x6c
mov dword [esp + 0xc], esi
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x60]
mov dword [esp], 1
mov eax, ecx
add eax, 0x70
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00585ef0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x582604
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.invalid_literal_lengths_set
mov ebx, dword [ebp - 0x50]
jmp 0x581710
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi + 0x40], edx
mov dword [esi], 0xe
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 0x40]
test ebx, ebx
jne 0x582792
mov ebx, dword [ebp - 0x50]
mov eax, 0xb
mov dword [ebx], 0xb
jmp switch.0x00581030
mov edx, dword [ebp - 0x50]
mov dword [edx], 0x12
cmp dword [ebp - 0x1c], 5
seta al
xor ebx, ebx
cmp dword [ebp - 0x20], 0x101
seta bl
test ebx, eax
jne 0x5828ed
mov esi, dword [ebp - 0x50]
mov eax, 1
mov ebx, dword [ebp - 0x50]
mov ecx, dword [esi + 0x54]
mov edx, dword [ebx + 0x4c]
shl eax, cl
mov dword [ebp - 0x64], edx
lea edx, [eax - 1]
jmp 0x581ba2
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x64]
and eax, edx
mov ebx, dword [esi + eax*4]
movzx ecx, bh
movzx eax, cl
cmp eax, edi
ja 0x581b80
test bl, bl
je 0x581c41
test bl, 0xf0
jne 0x581c41
mov ecx, ebx
mov esi, ebx
shr ecx, 0x10
mov dword [ebp - 0x3c], ecx
movzx ebx, bl
mov dword [ebp - 0x40], ebx
jmp 0x581bf8
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov ebx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x14], ebx
shl eax, cl
add dword [ebp - 0x24], eax
mov edx, esi
mov eax, dword [ebp - 0x40]
movzx ebx, dh
movzx ecx, bl
add ecx, eax
mov ebx, dword [ebp - 0x24]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
movzx ecx, dh
mov ebx, dword [ebp - 0x3c]
shr eax, cl
mov ecx, dword [ebp - 0x64]
add eax, ebx
mov ebx, dword [ecx + eax*4]
movzx eax, dh
movzx eax, al
movzx ecx, bh
movzx edx, cl
add eax, edx
cmp eax, edi
ja 0x581bd6
mov eax, esi
movzx ecx, ah
movzx esi, cl
shr dword [ebp - 0x24], cl
sub edi, esi
movzx ecx, bh
mov esi, ebx
movzx edx, cl
shr dword [ebp - 0x24], cl
sub edi, edx
mov edx, dword [ebp - 0x50]
shr esi, 0x10
test bl, bl
mov dword [edx + 0x40], esi
jne 0x58257f
mov dword [edx], 0x17
mov eax, 0x17
jmp switch.0x00581030
mov dword [ebp - 0x24], 0
xor edi, edi
mov esi, dword [ebp - 0x50]
mov dword [esi], 0x1a
mov dword [ebp - 0x30], 1
jmp 0x5811f0
mov dword [ebp - 0x30], 0xfffffffd
jmp 0x5811f0
mov ecx, edi
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
cmp edi, 0x1f
ja 0x581cd0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0x1f
jbe 0x581ca9
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x581b09
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x581f40
mov edx, dword [ebp - 0x50]
mov ebx, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x68]
cmp eax, ebx
jae 0x5823bf
cmp edi, 2
ja 0x581d46
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [edx]
inc dword [ebp - 0x14]
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 2
jbe 0x581d20
mov esi, dword [ebp - 0x50]
sub edi, 3
mov eax, dword [ebp - 0x24]
shr dword [ebp - 0x24], 3
mov ecx, dword [esi + 0x68]
and eax, 7
movzx edx, word [ecx + ecx + 0x6c2ee0]
mov word [esi + edx*2 + 0x70], ax
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
jmp 0x581d05
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x5823b4
cmp ebx, edi
jbe 0x581da6
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl eax, cl
add dword [ebp - 0x24], eax
cmp ebx, edi
ja 0x581d80
mov esi, dword [ebp - 0x24]
mov cl, bl
mov eax, 1
shr dword [ebp - 0x24], cl
sub edi, ebx
shl eax, cl
lea edx, [eax - 1]
and edx, esi
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x44]
add edx, eax
mov dword [esi + 0x44], edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ecx + 0x2c]
add eax, ebx
sub eax, esi
cmp edx, eax
jbe 0x5818e4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x6c3843
mov dword [ecx], 0x1b
mov eax, 0x1b
jmp switch.0x00581030
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x5814f8
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x581492
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x581e29
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x00581030
cmp edi, 0xf
ja 0x581e55
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx esi, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl esi, cl
add dword [ebp - 0x24], esi
cmp edi, 0xf
jbe 0x581e2e
mov eax, ebx
xor edx, edx
shr eax, 1
cmp dword [ebp - 0x24], 0x8b1f
sete dl
test eax, edx
jne 0x582660
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x10], 0
test eax, eax
je 0x581e88
mov dword [eax + 0x30], 0xffffffff
mov ebx, dword [ecx + 8]
test bl, 1
je 0x581ec1
movzx ecx, byte [ebp - 0x24]
mov ebx, 0x8421085
mov esi, dword [ebp - 0x24]
shl ecx, 8
shr esi, 8
add ecx, esi
mov eax, ecx
mul ebx
mov eax, edx
mov edx, ecx
sub edx, eax
shr edx, 1
add edx, eax
shr edx, 4
mov esi, edx
shl esi, 5
sub esi, edx
cmp ecx, esi
je 0x5826e7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_header_check
mov ecx, dword [ebp - 0x50]
jmp 0x581de9
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 8]
test eax, eax
je 0x581c78
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x581c78
cmp edi, 0x1f
ja 0x581f27
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0x1f
jbe 0x581f00
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x1c], eax
je 0x581c6f
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [esi], 0x1b
mov eax, 0x1b
jmp switch.0x00581030
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 8]
test eax, eax
je 0x582480
cmp edi, 0x1f
ja 0x581f8a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov esi, dword [ebp - 0x14]
add edi, 8
movzx ebx, byte [esi]
inc esi
mov dword [ebp - 0x14], esi
shl ebx, cl
add dword [ebp - 0x24], ebx
cmp edi, 0x1f
jbe 0x581f63
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
sub eax, esi
mov esi, dword [ebp - 0x50]
add dword [edx + 0x14], eax
add dword [esi + 0x1c], eax
test eax, eax
je 0x581fd1
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x5826c7
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x18]
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call fcn.005807b0
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [edx + 0x30], eax
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x18]
test eax, eax
jne 0x5825fc
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr ebx, 8
mov esi, dword [ebp - 0x24]
shr edx, 0x18
and ebx, 0xff00
and eax, 0xff00
add edx, ebx
shl eax, 8
add edx, eax
shl esi, 0x18
add edx, esi
cmp edx, ecx
je 0x582471
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [eax], 0x1b
mov eax, 0x1b
jmp switch.0x00581030
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x581632
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x581594
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5811f0
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x40]
mov byte [ebx], al
inc ebx
dec dword [ebp - 0x20]
mov eax, 0x12
mov dword [ebp - 0x18], ebx
mov dword [esi], 0x12
jmp switch.0x00581030
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x5816bb
cmp edi, 2
ja 0x5827dd
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
jmp 0x582084
mov dword [ebp - 0x24], 0
xor edi, edi
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5820d4
mov dword [eax + 0x30], 1
sar edx, 9
and edx, 1
mov dword [eax + 0x2c], edx
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.005807b0
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp + 8]
mov dword [ecx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, 0xb
mov dword [ecx], 0xb
jmp switch.0x00581030
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5816b2
mov dword [eax + 0x24], 0
jmp 0x5816b2
sub eax, 0xffffff80
jmp 0x58135b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
jmp 0x5812de
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x581622
mov dword [eax + 0x1c], 0
jmp 0x581622
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x50]
mov edi, dword [ecx + 0x18]
mov dword [esp], edi
call fcn.00585770
jmp 0x581333
cmp ax, 0x10
je 0x58222b
cmp ax, 0x11
je 0x582299
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
jbe 0x5821c2
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
ja 0x582193
mov edx, dword [ebp - 0x24]
movzx ecx, bh
movzx ebx, cl
shr edx, cl
mov ecx, edi
mov edi, edx
and edi, 0x7f
sub ecx, ebx
add edi, 0xb
mov dword [ebp - 0x60], edi
shr edx, 7
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 7]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
lea edx, [esi + eax]
mov eax, dword [ebp - 0x58]
add eax, ecx
cmp edx, eax
ja 0x58274f
mov edx, dword [ebp - 0x60]
dec edx
cmp edx, 0xffffffff
jne 0x582212
jmp 0x581a7d
mov esi, eax
mov ecx, dword [ebp - 0x50]
dec edx
lea eax, [esi + 1]
cmp edx, 0xffffffff
mov word [ecx + esi*2 + 0x70], bx
mov dword [ecx + 0x68], eax
jne 0x582210
jmp 0x581a7b
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
jbe 0x582266
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc dword [ebp - 0x14]
shl eax, cl
add dword [ebp - 0x24], eax
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
ja 0x582238
movzx ecx, bh
movzx ebx, cl
sub edi, ebx
shr dword [ebp - 0x24], cl
test esi, esi
je 0x582839
mov eax, dword [ebp - 0x50]
sub edi, 2
mov edx, dword [ebp - 0x24]
shr dword [ebp - 0x24], 2
movzx ebx, word [eax + esi*2 + 0x6e]
and edx, 3
add edx, 3
mov dword [ebp - 0x60], edx
jmp 0x5821e7
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
jbe 0x5822d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5811f0
dec dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edi, 8
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x14], edx
shl eax, cl
add dword [ebp - 0x24], eax
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
ja 0x5822a6
mov edx, dword [ebp - 0x24]
movzx ecx, bh
movzx ebx, cl
shr edx, cl
mov ecx, edi
mov edi, edx
and edi, 7
sub ecx, ebx
add edi, 3
mov dword [ebp - 0x60], edi
shr edx, 3
xor ebx, ebx
mov dword [ebp - 0x24], edx
lea edi, [ecx - 3]
jmp 0x5821e7
sub dword [ebp - 0x6c], edx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], edx
mov ebx, dword [ebp - 0x4c]
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov dword [edi + 0x30], 0
mov eax, dword [edi + 0x28]
jmp 0x5812d5
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5814ef
mov dword [eax + 0x10], 0
jmp 0x5814ef
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x34]
mov eax, dword [ecx + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], esi
sub eax, ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [edi + 0x30], ebx
mov eax, dword [edi + 0x28]
jmp 0x5812d5
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x6c], edx
jmp 0x581254
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
mov eax, edx
jmp 0x581937
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call fcn.005807b0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x58169e
mov dword [edi + 0x30], 0
jmp 0x5812cc
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0x44]
jmp 0x581dc7
cmp eax, 0x12
ja 0x5823e4
lea edx, [eax + 1]
movzx ebx, word [edx + edx + 0x6c2ede]
mov eax, edx
mov ecx, dword [ebp - 0x50]
inc edx
cmp eax, 0x12
mov word [ecx + ebx*2 + 0x70], 0
jbe 0x5823c7
mov dword [ecx + 0x68], eax
mov ebx, dword [ebp - 0x50]
mov ecx, 0x13
mov edx, dword [ebp - 0x50]
mov dword [ebx + 0x54], 7
mov esi, ebx
add edx, 0x530
mov dword [ebx + 0x6c], edx
add esi, 0x2f0
mov dword [ebx + 0x4c], edx
mov dword [esp + 0x14], esi
sub esi, 0x29c
mov dword [esp + 0x10], esi
add esi, 0x18
mov dword [esp + 0xc], esi
add esi, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.00585ef0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x58197e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x581710
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call fcn.005807b0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x58160e
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x50]
xor edi, edi
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x50]
mov dword [esi], 0x19
jmp 0x581ed9
movzx edx, byte [ebp - 0x24]
mov ecx, 2
lea eax, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], dl
movzx ebx, byte [ebp - 0x24]
mov byte [ebp - 0xf], bl
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov edx, dword [esi + 0x18]
mov dword [esp], edx
call fcn.005807b0
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x10]
jmp 0x581480
mov esi, dword [ebp - 0x50]
mov ecx, eax
sub ecx, edx
mov eax, dword [esi + 0x34]
add ecx, eax
jmp 0x58192b
mov esi, dword [ebp - 0x50]
shr ebx, 0x10
mov dword [esi + 0x44], ebx
mov ebx, eax
and ebx, 0xf
mov dword [esi + 0x48], ebx
mov dword [esi], 0x15
jmp 0x581d74
movzx edx, byte [ebp - 0x24]
mov esi, 2
lea ebx, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], dl
movzx ecx, byte [ebp - 0x24]
mov byte [ebp - 0xf], cl
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x18]
mov dword [esp], edx
call fcn.005807b0
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x18], eax
jmp 0x5814e6
movzx ecx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
movzx eax, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], cl
mov ecx, 4
movzx edx, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x10]
movzx ebx, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], bl
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x18]
mov dword [esp], edx
call fcn.005807b0
mov dword [edi + 0x18], eax
jmp 0x581413
movzx eax, bl
test al, 0x20
jne 0x581b2c
test al, 0x40
je 0x582704
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x6c38bd
mov esi, dword [ebp - 0x50]
jmp 0x581f40
mov dword [esp + 8], ebx
mov esi, dword [ebp - 0x14]
mov dword [esp + 4], esi
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call fcn.005807b0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x581565
test dword [ebp - 0x24], 0xe000
je 0x58139b
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x581de9
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x68], 0
mov dword [esi], 0x10
jmp 0x581cff
cmp ecx, dword [ebp - 0x24]
jmp 0x582013
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x6c]
mov dword [edx + 0x58], 6
mov dword [edx + 0x50], ecx
mov dword [esp + 0x14], ebx
mov ebx, edx
add ebx, 0x58
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov eax, dword [edx + 0x64]
mov dword [esp + 8], eax
mov esi, dword [edx + 0x60]
mov dword [esp], 2
lea ecx, [edx + esi*2 + 0x70]
mov dword [esp + 4], ecx
call fcn.00585ef0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x581b3f
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x581710
mov dword [esp], 0
xor edi, edi
xor ebx, ebx
mov dword [esp + 8], edi
lea esi, [ebp - 0x10]
mov dword [esp + 4], ebx
call fcn.005807b0
mov ebx, dword [ebp - 0x50]
mov ecx, 2
mov dword [ebx + 0x18], eax
movzx eax, byte [ebp - 0x24]
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], dl
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov edi, dword [ebx + 0x18]
mov dword [esp], edi
xor edi, edi
call fcn.005807b0
mov dword [ebx + 0x18], eax
mov eax, 1
mov dword [ebp - 0x24], 0
mov dword [ebx], 1
jmp switch.0x00581030
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 0x18]
mov dword [esp], esi
call fcn.00585770
jmp 0x581fc5
mov edx, dword [ebp - 0x24]
and edx, 0xf
cmp edx, 8
je 0x582767
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x581f40
mov edx, dword [ebp - 0x50]
mov ebx, eax
and ebx, 0xf
mov dword [edx + 0x48], ebx
mov dword [edx], 0x13
jmp 0x58174f
movzx ecx, byte [ebp - 0x24]
mov edx, 2
lea ebx, [ebp - 0x10]
shr dword [ebp - 0x24], 8
mov byte [ebp - 0x10], cl
movzx eax, byte [ebp - 0x24]
mov byte [ebp - 0xf], al
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov ecx, dword [esi + 0x18]
mov dword [esp], ecx
call fcn.005807b0
mov dword [esi + 0x18], eax
jmp 0x5813bd
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
jmp 0x581a8d
shr dword [ebp - 0x24], 4
sub edi, 4
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
and ebx, 0xf
lea ecx, [ebx + 8]
cmp dword [eax + 0x24], ecx
jae 0x58288b
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x582026
cmp ebx, dword [ebp - 0x1c]
jbe 0x58279a
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x20]
jbe 0x5827a2
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5811f0
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x18]
mov dword [esp], esi
add esi, ebx
call sub.msvcrt.dll_memcpy
sub dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x14], ebx
sub dword [ebp - 0x20], ebx
mov edx, eax
sub dword [eax + 0x40], ebx
mov eax, dword [edx]
mov dword [ebp - 0x18], esi
jmp 0x58102b
mov ebx, dword [ebp - 0x24]
lea edx, [edi - 1]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x50]
and ebx, 1
shr eax, 1
mov dword [esi + 4], ebx
mov ebx, eax
and ebx, 3
cmp ebx, 1
je 0x582960
jb 0x582952
cmp ebx, 2
je 0x5828df
cmp ebx, 3
jne 0x582826
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
lea edi, [edx - 2]
mov edx, dword [ebp - 0x50]
shr eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
jmp 0x58102b
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x581a8d
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
jmp 0x58102b
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x10], esi
mov esi, dword [ebp - 0x50]
mov dword [ecx + 0xc], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, 2
mov dword [ecx], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
jmp 0x581045
mov ebx, dword [ebp - 0x50]
mov esi, 1
xor eax, eax
shl esi, cl
xor edx, edx
mov dword [ebx + 0x14], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0
call fcn.00585770
and dword [ebp - 0x24], 0x200
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x24], 1
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [ebp - 0x24], 0
sbb eax, eax
and eax, 2
add eax, 9
mov dword [edi], eax
xor edi, edi
jmp 0x58102b
mov esi, dword [ebp - 0x50]
mov dword [esi], 0xf
jmp 0x582826
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax], esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], edi
mov dword [esp + 4], esi
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00585aa0
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x18], edi
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
mov edi, dword [esi + 0x38]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
mov dword [ebp - 0x1c], edx
mov edi, dword [ecx + 0x3c]
jmp 0x58102b
mov edi, dword [ebp - 0x50]
mov dword [edi], 0xd
jmp 0x582826
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x4c], 0x6c2f20
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x6c3720
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
jmp 0x582826