Function at 0x57fd80
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.0x57fdf0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
test eax, eax
mov dword [ebp - 0x50], eax
je case.default.0x57fdf0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.default.0x57fdf0
mov ebx, dword [edx]
test ebx, ebx
je 0x57fdf7
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov esi, dword [ebp - 0x50]
mov eax, dword [esi]
cmp eax, 0xb
je 0x57fe0d
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.0x57fdf0
jmp dword [eax*4 + 0x6a700c]
mov edx, dword [edx + 4]
test edx, edx
je 0x57fdb3
nop
mov eax, 0xfffffffe
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esi], 0xc
mov eax, 0xc
jmp 0x57fdbd
cmp edi, 0xf
ja 0x57fe46
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x57fe1f
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x50]
cmp bl, 8
mov dword [esi + 0x10], ebx
je 0x581388
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x580d00
cmp edi, 0xd
ja 0x57fe93
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x57fe6c
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 0x57fedd
cmp ecx, 0x1e
jbe 0x5813a7
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.0x0057fdf0
cmp edi, 0x1f
ja 0x57ff26
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x57feff
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 0x58161b
mov dword [esp], 0
xor edx, edx
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00584530
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.0x57fdf0.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 0x580000
cmp dword [ebx], 0x17
ja 0x580eea
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x58009e
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 0x580660
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x580036
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 0x5810bf
mov eax, dword [edi + 0x30]
mov esi, edx
sub esi, eax
cmp esi, ebx
jbe 0x580056
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 0x581101
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x28]
add eax, esi
cmp eax, edx
je 0x581168
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x2c]
cmp eax, edx
jae 0x580098
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 0x5800ff
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x580f0f
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.0057f570
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 0x58010f
add eax, 0x40
mov ecx, dword [ebp - 0x50]
cmp dword [ecx], 0xb
je 0x580ee2
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 0x580150
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x580150
mov dword [ebp - 0x30], 0xfffffffb
jmp 0x580150
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 0x580170
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 0x5814da
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 0x57ffb0
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 0x58018f
mov edi, dword [ebp - 0x50]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x5801c6
mov esi, dword [ebp - 0x24]
mov dword [eax + 4], esi
mov ebx, dword [ebp - 0x50]
test byte [ebx + 0x11], 2
jne 0x5812f1
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 0x57ffb0
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 0x5801f0
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x20]
test edx, edx
je 0x580231
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 0x58124e
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x50]
xor edi, edi
mov dword [esi], 4
test dh, 4
je 0x5810e7
cmp edi, 0xf
ja 0x580287
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x580260
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x58029d
mov dword [eax + 0x14], ebx
mov edx, dword [esi + 0x10]
test dh, 2
jne 0x5812b3
mov dword [ebp - 0x24], 0
xor edi, edi
mov eax, dword [ebp - 0x50]
mov dword [eax], 5
test dh, 4
je 0x580344
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x40]
cmp eax, dword [ebp - 0x1c]
mov ebx, eax
jbe 0x5802d1
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x580336
mov esi, dword [ebp - 0x50]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x58031c
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x58031c
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 0x5802fd
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 0x581364
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 0x57ffb0
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 0x580ef5
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x5803b0
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x5803b0
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x20]
mov dword [ebp - 0x70], ecx
jae 0x5803b0
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 0x580370
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x581210
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x57ffb0
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 0x580ec8
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x580440
mov edx, dword [eax + 0x24]
test edx, edx
je 0x580440
mov ecx, dword [ecx + 0x40]
cmp ecx, dword [eax + 0x28]
mov dword [ebp - 0x70], ecx
jae 0x580440
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 0x580410
mov ecx, dword [ebp - 0x50]
test byte [ecx + 0x11], 2
jne 0x581147
sub dword [ebp - 0x1c], ebx
add dword [ebp - 0x14], ebx
test esi, esi
jne 0x57ffb0
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 8
test dh, 2
je 0x580e7a
cmp edi, 0xf
ja 0x5804b6
lea esi, [esi]
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x580490
mov ebx, dword [ebp - 0x50]
movzx esi, word [ebx + 0x18]
cmp esi, dword [ebp - 0x24]
je 0x580e71
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.header_crc_mismatch
mov dword [ebx], 0x1b
mov eax, 0x1b
jmp switch.0x0057fdf0
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebx + 4]
test esi, esi
je 0x580e44
mov dword [ebx], 0x18
mov ecx, edi
mov eax, 0x18
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
jmp switch.0x0057fdf0
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x580556
cmp ebx, edi
jbe 0x58053c
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x580517
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 0x5805a1
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x580580
test bl, 0xf0
jne 0x580638
mov ecx, ebx
movzx edx, bl
shr ecx, 0x10
mov dword [ebp - 0x44], ecx
mov esi, ebx
mov dword [ebp - 0x48], edx
jmp 0x5805ef
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x5805cd
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 0x581297
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x18], 0x6a6eb4
jmp 0x580ba9
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 0x581127
mov edi, dword [ebp - 0x50]
mov dword [edi], 0x1c
mov eax, 0xfffffffc
jmp 0x57fe05
mov ecx, dword [ebp - 0x50]
mov dword [ecx], 0x16
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x57ffb0
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 0x581135
sub eax, edx
mov edx, eax
mov eax, dword [ecx + 0x30]
cmp eax, edx
jae 0x581286
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 0x5806f7
mov edx, eax
cmp edx, dword [ebp - 0x20]
jbe 0x5806ff
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 0x580710
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
test edx, edx
jne 0x581611
mov dword [eax], 0x12
mov eax, 0x12
jmp switch.0x0057fdf0
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 0x58084d
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 0x5807d5
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x58079c
mov eax, ebx
shr eax, 0x10
cmp ax, 0xf
ja 0x580f32
movzx ecx, bh
movzx edx, cl
cmp edx, edi
jbe 0x58081c
nop
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x57ffb0
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 0x5807f0
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 0x580784
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
cmp eax, 0x1b
je 0x57fdeb
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.00584cb0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5813c4
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], str.invalid_literal_lengths_set
mov ebx, dword [ebp - 0x50]
jmp 0x5804d0
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 0x581552
mov ebx, dword [ebp - 0x50]
mov eax, 0xb
mov dword [ebx], 0xb
jmp switch.0x0057fdf0
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 0x5816ad
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 0x580962
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x580940
test bl, bl
je 0x580a01
test bl, 0xf0
jne 0x580a01
mov ecx, ebx
mov esi, ebx
shr ecx, 0x10
mov dword [ebp - 0x3c], ecx
movzx ebx, bl
mov dword [ebp - 0x40], ebx
jmp 0x5809b8
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x580996
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 0x58133f
mov dword [edx], 0x17
mov eax, 0x17
jmp switch.0x0057fdf0
mov dword [ebp - 0x24], 0
xor edi, edi
mov esi, dword [ebp - 0x50]
mov dword [esi], 0x1a
mov dword [ebp - 0x30], 1
jmp 0x57ffb0
mov dword [ebp - 0x30], 0xfffffffd
jmp 0x57ffb0
mov ecx, edi
and ecx, 7
and edi, 0xfffffff8
shr dword [ebp - 0x24], cl
cmp edi, 0x1f
ja 0x580a90
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x57ffb0
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 0x580a69
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x5808c9
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x580d00
mov edx, dword [ebp - 0x50]
mov ebx, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x68]
cmp eax, ebx
jae 0x58117f
cmp edi, 2
ja 0x580b06
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x57ffb0
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 0x580ae0
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 + 0x6a65a0]
mov word [esi + edx*2 + 0x70], ax
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
jmp 0x580ac5
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x581174
cmp ebx, edi
jbe 0x580b66
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x580b40
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 0x5806a4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 0x6a6f03
mov dword [ecx], 0x1b
mov eax, 0x1b
jmp switch.0x0057fdf0
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x5802b8
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x580252
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x580be9
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x0057fdf0
cmp edi, 0xf
ja 0x580c15
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x57ffb0
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 0x580bee
mov eax, ebx
xor edx, edx
shr eax, 1
cmp dword [ebp - 0x24], 0x8b1f
sete dl
test eax, edx
jne 0x581420
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x10], 0
test eax, eax
je 0x580c48
mov dword [eax + 0x30], 0xffffffff
mov ebx, dword [ecx + 8]
test bl, 1
je 0x580c81
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 0x5814a7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.incorrect_header_check
mov ecx, dword [ebp - 0x50]
jmp 0x580ba9
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 8]
test eax, eax
je 0x580a38
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x580a38
cmp edi, 0x1f
ja 0x580ce7
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x57ffb0
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 0x580cc0
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
cmp dword [esi + 0x1c], eax
je 0x580a2f
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [esi], 0x1b
mov eax, 0x1b
jmp switch.0x0057fdf0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 8]
test eax, eax
je 0x581240
cmp edi, 0x1f
ja 0x580d4a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x580d23
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 0x580d91
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x581487
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.0057f570
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 0x5813bc
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 0x581231
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.0x0057fdf0
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x5803f2
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x10]
jmp 0x580354
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x57ffb0
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.0x0057fdf0
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
jmp 0x58047b
cmp edi, 2
ja 0x58159d
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57ffb0
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 0x580e44
mov dword [ebp - 0x24], 0
xor edi, edi
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x580e94
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.0057f570
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.0x0057fdf0
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x580472
mov dword [eax + 0x24], 0
jmp 0x580472
sub eax, 0xffffff80
jmp 0x58011b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
jmp 0x58009e
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5803e2
mov dword [eax + 0x1c], 0
jmp 0x5803e2
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.00584530
jmp 0x5800f3
cmp ax, 0x10
je 0x580feb
cmp ax, 0x11
je 0x581059
movzx eax, bh
movzx edx, al
add edx, 7
cmp edx, edi
jbe 0x580f82
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x580f53
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 0x58150f
mov edx, dword [ebp - 0x60]
dec edx
cmp edx, 0xffffffff
jne 0x580fd2
jmp 0x58083d
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 0x580fd0
jmp 0x58083b
movzx edx, bh
movzx eax, dl
add eax, 2
cmp eax, edi
jbe 0x581026
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x57ffb0
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 0x580ff8
movzx ecx, bh
movzx ebx, cl
sub edi, ebx
shr dword [ebp - 0x24], cl
test esi, esi
je 0x5815f9
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 0x580fa7
movzx edx, bh
movzx ecx, dl
add ecx, 3
cmp ecx, edi
jbe 0x581095
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x57ffb0
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 0x581066
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 0x580fa7
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 0x580095
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5802af
mov dword [eax + 0x10], 0
jmp 0x5802af
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 0x580095
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x6c], edx
jmp 0x580014
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x40]
mov eax, edx
jmp 0x5806f7
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.0057f570
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x58045e
mov dword [edi + 0x30], 0
jmp 0x58008c
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebx + 0x44]
jmp 0x580b87
cmp eax, 0x12
ja 0x5811a4
lea edx, [eax + 1]
movzx ebx, word [edx + edx + 0x6a659e]
mov eax, edx
mov ecx, dword [ebp - 0x50]
inc edx
cmp eax, 0x12
mov word [ecx + ebx*2 + 0x70], 0
jbe 0x581187
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.00584cb0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x58073e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x5804d0
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.0057f570
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x5803ce
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 0x580c99
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.0057f570
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x10]
jmp 0x580240
mov esi, dword [ebp - 0x50]
mov ecx, eax
sub ecx, edx
mov eax, dword [esi + 0x34]
add ecx, eax
jmp 0x5806eb
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 0x580b34
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.0057f570
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x18], eax
jmp 0x5802a6
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.0057f570
mov dword [edi + 0x18], eax
jmp 0x5801d3
movzx eax, bl
test al, 0x20
jne 0x5808ec
test al, 0x40
je 0x5814c4
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], 0x6a6f7d
mov esi, dword [ebp - 0x50]
jmp 0x580d00
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.0057f570
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x18], eax
jmp 0x580325
test dword [ebp - 0x24], 0xe000
je 0x58015b
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x580ba9
mov esi, dword [ebp - 0x50]
mov dword [esi + 0x68], 0
mov dword [esi], 0x10
jmp 0x580abf
cmp ecx, dword [ebp - 0x24]
jmp 0x580dd3
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.00584cb0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5808ff
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x5804d0
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.0057f570
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.0057f570
mov dword [ebx + 0x18], eax
mov eax, 1
mov dword [ebp - 0x24], 0
mov dword [ebx], 1
jmp switch.0x0057fdf0
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.00584530
jmp 0x580d85
mov edx, dword [ebp - 0x24]
and edx, 0xf
cmp edx, 8
je 0x581527
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x50]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x580d00
mov edx, dword [ebp - 0x50]
mov ebx, eax
and ebx, 0xf
mov dword [edx + 0x48], ebx
mov dword [edx], 0x13
jmp 0x58050f
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.0057f570
mov dword [esi + 0x18], eax
jmp 0x58017d
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
jmp 0x58084d
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 0x58164b
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x580de6
cmp ebx, dword [ebp - 0x1c]
jbe 0x58155a
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x20]
jbe 0x581562
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x57ffb0
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 0x57fdeb
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 0x581720
jb 0x581712
cmp ebx, 2
je 0x58169f
cmp ebx, 3
jne 0x5815e6
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 0x57fdeb
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x50]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
jmp 0x58084d
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
jmp 0x57fdeb
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 0x57fe05
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.00584530
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 0x57fdeb
mov esi, dword [ebp - 0x50]
mov dword [esi], 0xf
jmp 0x5815e6
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.00584860
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 0x57fdeb
mov edi, dword [ebp - 0x50]
mov dword [edi], 0xd
jmp 0x5815e6
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x4c], 0x6a65e0
mov dword [ecx + 0x54], 9
mov dword [ecx + 0x50], 0x6a6de0
mov dword [ecx + 0x58], 5
mov dword [ecx], 0x12
jmp 0x5815e6