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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je case.0x575586.31
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x575586.31
lea eax, [edi + 0xc]
xor ecx, ecx
cmp dword [eax], ecx
je case.0x575586.31
cmp dword [edi], ecx
jne 0x575536
cmp dword [edi + 4], ecx
jne case.0x575586.31
lea edx, [edi + 0xc]
jmp 0x575538
mov edx, eax
mov ecx, dword [ebx]
mov dword [ebp - 0x30], eax
push 0xc
pop esi
cmp ecx, 0xb
jne 0x57554c
mov dword [ebx], esi
mov ecx, esi
mov dword [ebp - 0x30], edx
mov eax, dword [eax]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], eax
jmp 0x57687c
mov eax, esi
mov dword [ebp - 0x34], esi
jmp dword [ecx*4 + 0x57698c]
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x57559f
mov dword [ebx], 0xc
jmp 0x57687a
push 0x10
pop ecx
cmp esi, ecx
jae 0x5755da
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0x5755a9
xor eax, eax
test byte [ebx + 8], 2
je 0x57562a
cmp edx, 0x8b1f
jne 0x57562a
push eax
push eax
push eax
call fcn.00576ef8
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x18]
push 2
push eax
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0x18
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x57687a
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x575638
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x5756d7
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0x5756d7
mov eax, edx
and al, 0xf
cmp al, 8
je 0x575671
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x576874
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0x10], esi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x5756c6
mov dword [ebx + 0x24], ecx
xor esi, esi
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebx + 0x14], eax
call fcn.00576cb7
mov edx, dword [ebp - 0x14]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x57687a
cmp ecx, dword [ebx + 0x24]
jbe 0x57568e
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x576874
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x576874
push 0x10
pop eax
cmp esi, eax
jae 0x57571c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0x5756ed
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x575665
test edx, 0xe000
je 0x57573c
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x576874
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x57574d
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x575773
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0xc
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov dword [ebp - 0x14], edx
mov ecx, eax
jmp 0x5757a1
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp ecx, 0x20
jae 0x5757c9
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x575a6f
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x20
jb 0x5757a4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5757d3
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x575809
mov eax, edx
mov byte [ebp - 0x18], dl
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x18]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x15], dl
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
jmp 0x575833
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
cmp eax, 0x10
jae 0x57585b
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x575a6f
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp ecx, 0x10
jb 0x575836
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x575873
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x575896
push 2
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], dl
push eax
mov byte [ebp - 0x17], cl
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x5758ac
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x57592d
push 0x10
pop eax
cmp esi, eax
jae 0x5758ee
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0x5758bf
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x5758fb
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x575921
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
jmp 0x575937
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x575937
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x5759d7
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebp - 8]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x5759cf
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x5759a3
mov edi, dword [edx + 0x10]
test edi, edi
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp + 8]
je 0x5759a3
mov edi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
sub edi, eax
mov eax, edi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp + 8]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0x57598d
sub edx, eax
jmp 0x57598f
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.0053f540
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x5759be
push ecx
push dword [ebp - 0xc]
push dword [ebx + 0x18]
call fcn.00576ef8
add esp, 0xc
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x40]
sub dword [ebp - 8], ecx
add dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x575a6c
xor ecx, ecx
mov dword [ebx], 6
mov dword [ebx + 0x40], ecx
jmp 0x5759e6
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x575acc
mov eax, dword [ebp - 8]
test eax, eax
je 0x5768e2
mov edi, dword [ebp - 8]
mov eax, ecx
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x575a37
cmp dword [ecx + 0x1c], 0
je 0x575a34
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x575a34
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
je 0x575a41
cmp eax, edi
jb 0x575a06
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x575a60
push eax
push edx
push dword [ebx + 0x18]
call fcn.00576ef8
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
add dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x575ad6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [esi], edx
xor edx, edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x28], edx
jne 0x575aae
cmp dword [ebx], 0x1a
jge 0x5768ec
cmp edi, dword [esi + 0x10]
je 0x5768ec
push edi
push esi
call fcn.00576bdd
pop ecx
pop ecx
test eax, eax
je 0x5768ea
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x576889
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x575ad6
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx], 7
mov dword [ebx + 0x40], ecx
jmp 0x575ae5
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x575b6c
cmp dword [ebp - 8], 0
je 0x575a6c
mov edi, dword [ebp - 8]
mov eax, ecx
mov edx, dword [ebp - 0xc]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x575b31
cmp dword [ecx + 0x24], 0
je 0x575b2e
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x575b2e
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
je 0x575b3b
cmp eax, edi
jb 0x575b00
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x575b5a
push eax
push edx
push dword [ebx + 0x18]
call fcn.00576ef8
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
add dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
jne 0x575a6c
jmp 0x575b76
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x575b76
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x575be1
push 0x10
pop eax
cmp esi, eax
jae 0x575bc1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
push 0x10
inc eax
mov dword [ebp - 0x14], edx
pop ecx
mov dword [ebp - 0xc], eax
cmp esi, ecx
jb 0x575b92
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x575bd5
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x576874
xor edx, edx
mov esi, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x575be3
xor edx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x575c00
mov eax, dword [ebx + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.00576ef8
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x57687a
cmp esi, 0x20
jae 0x575c54
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0x575c27
bswap edx
mov dword [ebx + 0x18], edx
xor eax, eax
mov dword [edi + 0x30], edx
mov esi, eax
mov edx, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebx], 0xa
jmp 0x575c72
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x57688f
push eax
push eax
push eax
call fcn.00576cb7
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x575a6c
cmp dword [ebp + 0xc], 6
je 0x575a6c
cmp dword [ebx + 4], 0
je 0x575cc9
mov ecx, esi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x57687a
cmp esi, 3
jae 0x575cfe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 3
jb 0x575cd1
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x575d70
sub eax, 1
je 0x575d37
sub eax, 1
je 0x575d30
sub eax, 1
jne 0x575d76
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x575d76
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x575d76
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x4c], 0x6cafd0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x6cb7d0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jne 0x575d76
shr edx, 2
sub esi, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jmp 0x575a6c
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x5756bb
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jae 0x575dc5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0x575d98
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x575ddf
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x576874
xor eax, eax
mov dword [ebx + 0x40], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0xe
je 0x5768db
mov dword [ebx], 0xf
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x575e4b
mov edi, dword [ebp - 8]
cmp eax, edi
cmovbe edi, eax
cmp edi, dword [ebp - 0x1c]
cmova edi, dword [ebp - 0x1c]
test edi, edi
je 0x575a6c
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call fcn.0053f540
sub dword [ebp - 8], edi
add esp, 0xc
add dword [ebp - 0xc], edi
sub dword [ebp - 0x1c], edi
add dword [ebp - 0x20], edi
sub dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
jmp 0x57687a
mov dword [ebx], 0xb
jmp 0x57687a
cmp esi, 0xe
jae 0x575e8b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0xe
jb 0x575e5e
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x10], esi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x60], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x575ee0
cmp dword [ebp - 0x3c], 0x1e
ja 0x575ee0
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x68]
jmp 0x575f49
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x576874
cmp esi, 3
jae 0x575f21
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 3
jb 0x575ef4
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x6cb850]
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
sub esi, 3
mov dword [ebx + 0x68], eax
mov dword [ebp - 0x10], esi
cmp eax, dword [ebx + 0x5c]
jb 0x575eec
jmp 0x575f66
movzx eax, word [eax*2 + 0x6cb850]
xor ecx, ecx
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
mov dword [ebx + 0x68], eax
cmp eax, 0x13
jb 0x575f50
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea eax, [ebx + 0x70]
push eax
push 0
call fcn.005771a1
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x575fb1
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x576874
and dword [ebx + 0x68], 0
mov dword [ebx], 0x12
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x5761d1
mov edi, dword [ebx + 0x4c]
jmp 0x575ff6
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0xc]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x2c], eax
cmp ecx, esi
ja 0x575fcf
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edi
cmp cx, di
jae 0x57607c
mov ecx, eax
shr ecx, 8
movzx edi, cl
cmp esi, edi
jae 0x576058
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0x57602c
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov ax, word [ebp - 0x2a]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x5761c0
cmp word [ebp - 0x2a], di
movzx edi, ah
jne 0x5760ed
add edi, 2
cmp esi, edi
jae 0x5760b8
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0x57608c
mov edx, dword [ebp - 0x14]
mov cl, ah
movzx eax, ah
sub esi, eax
shr edx, cl
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test eax, eax
je 0x5761f1
movzx eax, word [ebx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x2c], eax
sub esi, 2
jmp 0x57618c
push 0x11
pop ecx
cmp word [ebp - 0x2a], cx
jne 0x57613c
add edi, 3
cmp esi, edi
jae 0x576129
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0x5760fd
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x576180
add edi, 7
cmp esi, edi
jae 0x57616f
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 0xc]
cmp esi, edi
jb 0x576143
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
movzx eax, ah
pop ecx
sub ecx, eax
add esi, ecx
and dword [ebp - 0x2c], 0
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add ecx, dword [ebx + 0x60]
mov dword [ebp - 0x3c], eax
add eax, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
cmp eax, ecx
ja 0x576200
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
mov word [ebx + ecx*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub edi, 1
jne 0x5761aa
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x575fca
mov edi, dword [ebp + 8]
cmp dword [ebx], 0x1d
je 0x57687a
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x576212
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x576874
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x576874
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1d
jmp 0x5761d1
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
push dword [ebx + 0x60]
mov dword [eax], 9
lea eax, [ebx + 0x70]
push eax
push 1
call fcn.005771a1
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x576259
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0x14]
jmp 0x576874
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.005771a1
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x57629a
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x576251
cmp dword [ebp + 0xc], 6
mov dword [ebx], 0x13
je 0x575a6c
mov edx, dword [ebp - 0x14]
mov dword [ebx], 0x14
cmp dword [ebp - 8], 6
jb 0x576328
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x102
jb 0x576328
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
push edi
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
call fcn.005775ee
cmp dword [ebx], 0xb
mov eax, dword [ebp - 0x30]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
jne 0x57687a
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x57687a
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
inc eax
mov edi, dword [ebx + 0x4c]
shl eax, cl
dec eax
mov dword [ebp - 0x2c], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x576393
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x576352
test al, al
je 0x576437
test al, 0xf0
jne 0x576437
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x576416
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x5763cf
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x576466
mov dword [ebx], 0x19
jmp 0x575e43
test al, 0x20
je 0x57647c
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x575e43
test al, 0x40
je 0x57648f
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x576874
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x5764f5
cmp esi, edi
jae 0x5764d8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x5764ac
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0x10], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], edi
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov edi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x2c], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x576568
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov eax, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x576527
test al, 0xf0
jne 0x576604
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x34], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x5765e3
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
mov edi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0xc], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x57659c
movzx ecx, dh
mov edx, dword [ebp - 0x14]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
test al, 0x40
je 0x57662f
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x576874
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x57669d
cmp esi, edi
jae 0x576680
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, edi
jb 0x576654
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0x10], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], edi
mov dword [ebp - 0x14], edx
mov edi, dword [ebp + 8]
mov dword [ebx], 0x18
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x575a6c
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x5766fc
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x5766d9
cmp dword [ebx + 0x1bc0], 0
je 0x5766d9
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x576874
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x5766e5
sub eax, ecx
mov ecx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x40]
sub ecx, eax
add ecx, dword [ebx + 0x34]
cmp eax, edi
mov dword [ebp - 0x34], edi
cmovbe edi, eax
mov dword [ebp - 0x2c], edi
mov eax, edi
jmp 0x576707
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
cmp eax, edi
mov edx, dword [ebp - 0x20]
cmova eax, edi
sub edi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x34]
sub edi, eax
sub ecx, edx
mov dword [ebx + 0x40], edi
mov edi, eax
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x576726
cmp dword [ebx + 0x40], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x14]
jne 0x57687a
mov dword [ebx], 0x14
jmp 0x57687a
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x575a6c
mov edi, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x1c], ecx
mov byte [edi], al
mov dword [ebx], 0x14
jmp 0x575e43
cmp dword [ebx + 8], 0
je 0x576817
cmp esi, 0x20
jae 0x5767b3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0x576786
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x5767f0
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x10], 0
push ecx
push eax
push dword [ebx + 0x18]
je 0x5767dc
call fcn.00576ef8
jmp 0x5767e1
call fcn.00576cb7
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
xor ecx, ecx
cmp dword [ebx + 0x10], ecx
mov eax, edx
bswap eax
cmovne eax, edx
cmp eax, dword [ebx + 0x18]
je 0x57680d
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x576874
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x5768b7
cmp dword [ebx + 0x10], eax
je 0x5768b7
cmp esi, 0x20
jae 0x576868
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x575a6c
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 8], ecx
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
cmp esi, 0x20
jb 0x576839
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x5768b0
mov dword [edi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
push 0x1f
pop eax
cmp ecx, eax
jbe 0x575581
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x576889
mov dword [ebp - 0x14], eax
mov ecx, eax
jmp 0x5768ba
mov ecx, dword [ebp - 0x10]
mov dword [ebx], 0x1c
jmp 0x5768c5
mov ecx, dword [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x575a6f
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x28], eax
jmp 0x575a6c
mov ecx, eax
jmp 0x575a6f
mov ecx, dword [ebp - 0x10]
jmp 0x575a72
xor edx, edx
mov eax, dword [ebp - 0x38]
sub eax, dword [esi + 4]
sub edi, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edi
add dword [ebx + 0x1c], edi
mov dword [ebp - 0x38], eax
cmp dword [ebx + 8], edx
je 0x576930
test edi, edi
je 0x576930
mov eax, dword [esi + 0xc]
push edi
sub eax, edi
push eax
push dword [ebx + 0x18]
cmp dword [ebx + 0x10], edx
je 0x576920
call fcn.00576ef8
jmp 0x576925
call fcn.00576cb7
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor edx, edx
cmp dword [ebx], 0x13
je 0x57693a
cmp dword [ebx], 0xe
jne 0x57693f
mov edx, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp + 8], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp + 8]
add ecx, eax
add ecx, dword [ebx + 0x3c]
add ecx, edx
cmp dword [ebp - 0x38], 0
mov dword [esi + 0x2c], ecx
jne 0x57696d
test edi, edi
je 0x576973
cmp dword [ebp + 0xc], 4
jne 0x576983
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x57688a
mov eax, dword [ebp - 0x28]
jmp 0x57688a