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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, dword [esp + 0xb0]
test ebp, ebp
je case.default.0x6476319c
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x30], ebx
test ebx, ebx
je case.default.0x6476319c
mov ebp, dword [esp + 0xb0]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x48], ebp
test ebp, ebp
je case.default.0x6476319c
mov ebp, dword [esp + 0xb0]
mov ebx, dword [ebp]
test ebx, ebx
je 0x647642fc
mov ebp, dword [ebp + 4]
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
cmp eax, 0xb
je 0x64763300
mov ebp, dword [esp + 0xb0]
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x44], ebp
mov edx, dword [edx + 0x38]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x34], ecx
mov ebp, dword [esp + 0xb4]
sub ebp, 5
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov edx, dword [esp + 0x30]
add edx, 0x72
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x30]
add ecx, 0x530
mov dword [esp + 0x60], ecx
mov edx, ebp
mov ebp, ebx
mov ebx, edx
cmp eax, 0x1e
jbe switch.0x6476319c
mov dword [esp + 0x4c], 0xfffffffe
mov eax, dword [esp + 0x4c]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x647644e4
cmp dword [esp + 0x34], 0x1f
ja 0x647630e2
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x647630c8
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x647630c0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0xb0]
add dword [edx + 0x14], eax
mov ecx, dword [esp + 0x30]
add dword [ecx + 0x1c], eax
test eax, eax
je 0x64763134
mov edx, dword [ecx + 0x10]
test edx, edx
mov dword [esp + 8], eax
mov edi, dword [esp + 0x48]
je 0x64764d98
sub edi, eax
mov dword [esp + 4], edi
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x30], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x6476316c
and eax, 0xff00
shl eax, 8
mov ecx, dword [esp + 0x3c]
shl ecx, 0x18
mov edx, dword [esp + 0x3c]
shr edx, 0x18
add ecx, edx
mov edx, dword [esp + 0x3c]
shr edx, 8
and edx, 0xff00
add edx, ecx
add eax, edx
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 0x18]
je 0x64764d78
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], 0x64814a63
mov dword [edx], 0x1d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, 0x1d
nop
jmp dword [eax*4 + str.__vd]
cmp dword [esp + 0x34], 0x1f
ja 0x647631de
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x647631c8
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x647631c0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
shl edx, 0x18
mov eax, dword [esp + 0x3c]
shr eax, 0x18
add edx, eax
mov eax, dword [esp + 0x3c]
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, dword [esp + 0x3c]
and eax, 0xff00
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x30], eax
mov dword [edx], 0xa
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x64764e30
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.allegro_5.0.10_monolith_mt.dll_adler32
mov esi, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov dword [esi], 0xb
cmp dword [esp + 0x5c], 1
jbe 0x64764260
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
test edx, edx
jne 0x64763314
cmp dword [esp + 0x34], 2
ja 0x647632b1
test ebx, ebx
je 0x64764260
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x3c], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x3c]
and eax, 1
mov esi, dword [esp + 0x30]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x3c]
shr edx, 1
mov eax, edx
and eax, 3
cmp eax, 2
je 0x64764646
cmp eax, 3
je 0x64764a8a
dec eax
je 0x64764a4c
mov dword [esi], 0xd
mov eax, 0xd
shr edx, 2
mov dword [esp + 0x3c], edx
sub dword [esp + 0x34], 3
jmp 0x64763076
mov dword [edx], 0xc
mov al, 0xc
mov edx, dword [esp + 0x30]
jmp 0x64763015
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x3c], cl
and dword [esp + 0x34], 0xfffffff8
mov dword [eax], 0x1a
mov eax, 0x1a
jmp switch.0x6476319c
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x48]
test edx, edx
je 0x6476339c
cmp dword [esp + 0x34], edx
jae 0x64763379
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763360
test ebx, ebx
je 0x64764314
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x64763358
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
add dword [esi + 0x44], eax
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
add dword [esi + 0x1bc4], edx
mov edi, dword [esp + 0x30]
mov dword [edi], 0x18
mov eax, dword [esp + 0x44]
test eax, eax
je 0x64764260
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 0x44]
cmp eax, edi
jae 0x64764380
sub edi, eax
cmp edi, dword [edx + 0x2c]
ja 0x64764508
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x30]
cmp edi, eax
jbe 0x647646e8
sub edi, eax
mov eax, dword [esi + 0x28]
sub eax, edi
add eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x40]
cmp edi, edx
jbe 0x6476438b
mov edi, edx
jmp 0x6476438b
mov edi, dword [esp + 0x30]
mov dword [edi], 0x13
cmp dword [esp + 0xb4], 6
je 0x64764260
nop
mov eax, dword [esp + 0x30]
mov dword [eax], 0x14
cmp ebx, 5
jbe 0x64763439
cmp dword [esp + 0x44], 0x101
ja 0x647645ae
mov esi, dword [esp + 0x30]
mov dword [esi + 0x1bc4], 0
mov edi, esi
mov esi, dword [esi + 0x4c]
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x38], al
mov al, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x647634d8
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], esi
mov edi, esi
jmp 0x647634a0
test ebx, ebx
je 0x64764274
mov edi, dword [esp + 0x50]
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x40]
and eax, edx
lea esi, [edi + eax*4]
mov al, byte [esi]
mov byte [esp + 0x38], al
mov al, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x64763494
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x50]
cmp byte [esp + 0x38], 0
je 0x64764580
test byte [esp + 0x38], 0xf0
je 0x647648f6
movzx esi, al
mov cl, al
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], esi
mov dword [eax + 0x40], edi
test byte [esp + 0x38], 0x20
je 0x647649fd
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x6476319c
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x64764468
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1bc8], eax
mov dword [edi], 0x16
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x50]
mov ecx, dword [eax + 0x58]
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x38], al
movzx eax, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x647635ed
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], esi
mov edi, esi
jmp 0x647635b4
test ebx, ebx
je 0x64764274
mov edi, dword [esp + 0x50]
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x40]
and eax, edx
lea esi, [edi + eax*4]
mov al, byte [esi]
mov byte [esp + 0x38], al
movzx eax, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x647635a8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x50]
test byte [esp + 0x38], 0xf0
jne 0x64764534
mov dword [esp + 0x68], edi
movzx ecx, al
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0x38]
add ecx, dword [esp + 0x40]
mov edi, 1
shl edi, cl
dec edi
mov dword [esp + 0x50], edi
and edi, dword [esp + 0x3c]
mov cl, al
shr edi, cl
mov eax, dword [esp + 0x68]
add eax, edi
lea ecx, [esi + eax*4]
mov al, byte [ecx]
mov byte [esp + 0x38], al
movzx eax, byte [ecx + 1]
mov byte [esp + 0x6c], al
movzx edi, word [ecx + 2]
mov ecx, dword [esp + 0x40]
add ecx, eax
cmp dword [esp + 0x34], ecx
jae 0x647636b6
test ebx, ebx
je 0x64764260
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], esi
jmp 0x64763668
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x38]
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x3c], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x50]
mov cl, byte [esp + 0x40]
shr eax, cl
add eax, dword [esp + 0x68]
lea eax, [esi + eax*4]
mov cl, byte [eax]
mov dl, byte [eax + 1]
movzx edi, word [eax + 2]
movzx eax, dl
mov esi, dword [esp + 0x40]
add esi, eax
cmp esi, dword [esp + 0x34]
ja 0x6476365c
mov byte [esp + 0x38], cl
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x70]
mov cl, byte [esp + 0x40]
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
add esi, dword [edx + 0x1bc4]
movzx edx, byte [esp + 0x6c]
jmp 0x6476453e
mov ebx, dword [esp + 0x30]
mov dword [ebx], 0x1e
mov dword [esp + 0x4c], 0xfffffffc
jmp 0x64763087
cmp dword [esp + 0x34], 0x1f
ja 0x6476372e
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763718
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x64763710
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x64763740
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov esi, dword [esp + 0x30]
test byte [esi + 0x11], 2
jne 0x64764ad3
mov edx, dword [esp + 0x30]
mov dword [edx], 3
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp 0x64763773
cmp dword [esp + 0x34], 0xf
ja 0x647637a6
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763790
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x64763788
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x647637c3
movzx edx, byte [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
shr edx, 8
mov dword [eax + 0xc], edx
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x10]
mov eax, edx
test dh, 2
jne 0x647648b2
mov ecx, dword [esp + 0x30]
mov dword [ecx], 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
test dh, 4
jne 0x64764125
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x64764656
mov dword [edx + 0x10], 0
xor edx, edx
mov edi, dword [esp + 0x30]
mov dword [edi], 5
jmp 0x647641a7
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
test ah, 8
je 0x64764243
test ebx, ebx
je 0x64764260
xor edx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x38]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x64763870
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x64763870
mov ebx, dword [ebp + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x64763870
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x40], ebx
test esi, esi
je 0x6476387a
cmp edx, dword [esp + 0x40]
jne 0x64763848
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x11], 2
jne 0x647646a0
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x64764260
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x40], 0
mov dword [esi], 7
test ah, 0x10
je 0x6476432c
test ebx, ebx
je 0x64764260
xor edx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x38]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x647638fc
mov edi, dword [eax + 0x24]
test edi, edi
je 0x647638fc
mov ebx, dword [ebp + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x647638fc
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x40], ebx
test esi, esi
je 0x64763906
cmp edx, dword [esp + 0x40]
jne 0x647638d4
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x11], 2
jne 0x6476467c
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x64764260
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [esi], 8
test ah, 2
je 0x647642a4
cmp dword [esp + 0x34], 0xf
ja 0x6476397e
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763964
test ebx, ebx
je 0x64764314
dec ebx
movzx edx, byte [ebp]
shl edx, cl
add esi, edx
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x6476395c
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x30]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x2c], edi
movzx edx, word [esp + 0x2c]
cmp edx, dword [esp + 0x3c]
je 0x64764294
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], str.header_crc_mismatch
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
jmp 0x647638b4
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x4c], 0xfffffffd
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
nop
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov dword [edi + 0xc], eax
mov edx, dword [esp + 0x44]
mov dword [edi + 0x10], edx
mov dword [edi], ebx
mov dword [edi + 4], ebp
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x64763a18
cmp dword [esi], 0x19
ja 0x64763a30
mov ebx, dword [esp + 0x58]
cmp edx, ebx
je 0x64763a30
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0xb0]
call fcn.64762a10
test eax, eax
jne 0x647636da
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0xb0]
sub esi, dword [ebp + 4]
mov ebx, dword [esp + 0x58]
sub ebx, dword [ebp + 0x10]
add dword [ebp + 8], esi
add dword [ebp + 0x14], ebx
mov eax, dword [esp + 0x30]
add dword [eax + 0x1c], ebx
mov edx, dword [eax + 8]
test edx, edx
je 0x64763a95
test ebx, ebx
je 0x64763a95
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 8], ebx
je 0x64764348
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov ebp, dword [esp + 0xb0]
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 4], 1
sbb eax, eax
not eax
and eax, 0x40
mov edx, dword [esp + 0x30]
add eax, dword [edx + 0x3c]
mov edx, dword [edx]
cmp edx, 0xb
je 0x6476428c
cmp edx, 0x13
je 0x64763afc
cmp edx, 0xe
je 0x64763afc
xor edx, edx
add eax, edx
mov ebp, dword [esp + 0xb0]
mov dword [ebp + 0x2c], eax
test esi, esi
jne 0x64763b11
test ebx, ebx
jne 0x64763b11
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x64763087
mov dword [esp + 0x4c], 0xfffffffb
mov eax, dword [esp + 0x4c]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x100
add eax, edx
mov ebp, dword [esp + 0xb0]
mov dword [ebp + 0x2c], eax
test esi, esi
je 0x64763ad2
cmp dword [esp + 0xb4], 4
je 0x64763ad6
mov eax, dword [esp + 0x4c]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
test edx, edx
je 0x647644f8
cmp dword [esp + 0x34], 0xf
ja 0x64763b76
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763b5c
test ebx, ebx
je 0x64764314
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x64763b54
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
test dl, 2
je 0x64763b89
cmp dword [esp + 0x3c], 0x8b1f
je 0x64764f35
mov eax, dword [esp + 0x30]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x64763ba2
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x64764a2a
mov edx, dword [esp + 0x3c]
shl edx, 8
and edx, 0xffff
mov eax, dword [esp + 0x3c]
shr eax, 8
add eax, edx
mov ecx, 0x1f
xor edx, edx
div ecx
test edx, edx
jne 0x64764a2a
mov eax, dword [esp + 0x3c]
and eax, 0xf
cmp eax, 8
je 0x64764eae
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], 0x648148d7
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
cmp dword [esp + 0x34], 0xf
ja 0x64763c42
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763c28
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x64763c20
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x10], eax
cmp al, 8
je 0x64764b62
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x648148d7
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x3c], cl
and dword [esp + 0x34], 0xfffffff8
cmp dword [esp + 0x34], 0x1f
ja 0x64763cc2
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763ca8
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x64763ca0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
movzx edx, word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x64764b2e
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], 0x64814946
mov eax, dword [esp + 0x30]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x40]
mov esi, edi
mov dword [esi], 0xf
test edx, edx
je 0x6476436c
mov eax, ebx
cmp ebx, edx
ja 0x647644dc
cmp eax, dword [esp + 0x44]
ja 0x647644d0
test eax, eax
je 0x64764260
mov edi, dword [esp + 0x48]
mov esi, ebp
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
sub ebx, eax
mov ebp, esi
sub dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x30]
sub dword [edi + 0x40], eax
mov eax, dword [edi]
jmp 0x64763076
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x40]
jmp 0x64763d0f
cmp dword [esp + 0x34], 0xd
ja 0x64763da2
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64763d88
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xd
jbe 0x64763d80
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x3c]
and edx, 0x1f
add edx, 0x101
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x60], edx
mov eax, dword [esp + 0x3c]
shr eax, 5
and eax, 0x1f
inc eax
mov dword [ecx + 0x64], eax
mov ecx, dword [esp + 0x3c]
shr ecx, 0xa
and ecx, 0xf
lea esi, [ecx + 4]
mov edi, dword [esp + 0x30]
mov dword [edi + 0x5c], esi
shr dword [esp + 0x3c], 0xe
sub dword [esp + 0x34], 0xe
cmp edx, 0x11e
ja 0x647646c4
cmp eax, 0x1e
ja 0x647646c4
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x68], 0
mov dword [ecx], 0x11
xor edx, edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x3c]
jmp 0x64763e3a
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x68]
cmp esi, edx
jbe 0x64763e91
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x3c]
cmp ecx, 2
ja 0x64763e54
test ebx, ebx
je 0x64764314
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
mov edi, dword [esp + 0x50]
movzx edi, word [edi + edi + 0x648153a0]
mov eax, esi
and eax, 7
mov edx, dword [esp + 0x30]
mov word [edx + edi*2 + 0x70], ax
inc dword [esp + 0x50]
mov edi, dword [esp + 0x50]
mov dword [edx + 0x68], edi
shr esi, 3
sub ecx, 3
mov eax, dword [esp + 0x40]
cmp edi, eax
jb 0x64763e3a
mov edx, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
cmp edx, 0x12
ja 0x64763ec3
lea eax, [edx + edx + 0x648153a0]
mov ecx, dword [esp + 0x30]
lea esi, [esi]
movzx edx, word [eax]
mov word [ecx + edx*2 + 0x70], 0
add eax, 2
cmp eax, 0x648153c6
jne 0x64763ea4
mov edx, dword [esp + 0x30]
mov dword [edx + 0x68], 0x13
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x6c], esi
mov dword [ecx + 0x4c], esi
mov dword [ecx + 0x54], 7
mov eax, ecx
add eax, 0x2f0
mov dword [esp + 0x14], eax
sub eax, 0x29c
mov dword [esp + 0x10], eax
add eax, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x13
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.allegro_5.0.10_monolith_mt.dll_inflate_table
mov dword [esp + 0x4c], eax
test eax, eax
je 0x64764dd3
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], str.invalid_code_lengths_set
mov eax, dword [esp + 0x30]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x68]
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx + 0x60]
mov dword [esp + 0x68], ecx
add ecx, dword [esi + 0x64]
mov dword [esp + 0x50], ecx
mov edi, ebp
mov esi, ecx
cmp dword [esp + 0x40], esi
jae 0x64764dfe
mov ebp, dword [esp + 0x30]
mov esi, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x54]
mov eax, 1
shl eax, cl
mov ecx, eax
dec ecx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x3c]
and edx, ecx
lea edx, [esi + edx*4]
movzx ecx, byte [edx + 1]
mov bp, word [edx + 2]
movzx edx, cl
cmp dword [esp + 0x34], edx
jae 0x64763fef
test ebx, ebx
je 0x64764d23
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x3c]
jmp 0x64763fbc
test ebx, ebx
je 0x64764664
dec ebx
movzx eax, byte [edi]
shl eax, cl
add esi, eax
inc edi
add ecx, 8
mov eax, dword [esp + 0x38]
and eax, esi
mov ebp, dword [esp + 0x34]
lea edx, [ebp + eax*4]
mov al, byte [edx + 1]
mov bp, word [edx + 2]
movzx edx, al
cmp edx, ecx
ja 0x64763fb4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
movzx ecx, al
cmp bp, 0xf
ja 0x6476470c
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov word [edx + eax*2 + 0x70], bp
inc eax
mov dword [esp + 0x40], eax
mov dword [edx + 0x68], eax
mov esi, dword [esp + 0x50]
jmp 0x64763f61
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
jmp 0x64763939
mov esi, dword [esp + 0x44]
test esi, esi
je 0x64764260
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x40]
mov edi, dword [esp + 0x48]
mov byte [edi], al
inc edi
mov dword [esp + 0x48], edi
dec dword [esp + 0x44]
mov dword [edx], 0x14
mov eax, 0x14
jmp switch.0x6476319c
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 8]
test eax, eax
je 0x64764db2
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x64764db2
cmp dword [esp + 0x34], 0x1f
ja 0x647640ba
test ebx, ebx
je 0x64764260
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x647640a0
test ebx, ebx
je 0x64764274
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x64764098
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x1c], eax
je 0x64764fa6
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x4c], 1
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
mov eax, edx
test dh, 4
je 0x647637f8
cmp dword [esp + 0x34], 0xf
ja 0x64764df5
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64764140
test ebx, ebx
je 0x64764314
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x64764138
mov dword [esp + 0x3c], esi
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x6476416d
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
test dh, 2
jne 0x64764b92
mov eax, edx
and edx, 0x400
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x30]
jmp 0x64763814
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
mov edx, eax
and edx, 0x400
test edx, edx
je 0x64764229
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x38], ebx
cmp ebx, edx
ja 0x6476445c
mov esi, dword [esp + 0x38]
test esi, esi
je 0x6476421e
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x647641ff
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x647641ff
mov eax, dword [ecx + 0x14]
sub eax, edx
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x38]
add edx, eax
cmp edx, ecx
jbe 0x647649f4
sub ecx, eax
add eax, esi
mov edi, eax
mov esi, ebp
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
test ah, 2
jne 0x64764aac
sub ebx, dword [esp + 0x38]
add ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x40]
sub edx, dword [esp + 0x38]
mov dword [edi + 0x40], edx
test edx, edx
jne 0x64764260
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], 0
mov dword [ecx], 6
test ah, 8
jne 0x64763830
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x647638a3
mov dword [edx + 0x1c], 0
jmp 0x647638a3
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x647639e0
sub eax, 0xffffff80
jmp 0x64763ac0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x647642bf
sar eax, 9
and eax, 1
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov esi, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov dword [esi], 0xb
mov eax, 0xb
jmp switch.0x6476319c
mov edi, dword [ebp + 4]
test edi, edi
jne case.default.0x6476319c
mov dword [esp + 0x54], 0
jmp 0x64763006
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x647639e0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x6476392f
mov dword [edx + 0x24], 0
jmp 0x6476392f
mov ebp, dword [esp + 0xb0]
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_adler32
jmp 0x64763a84
mov eax, dword [esp + 0x30]
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x6476319c
mov eax, dword [esp + 0x48]
sub eax, edi
mov edi, dword [edx + 0x40]
mov edx, edi
cmp edi, dword [esp + 0x44]
jbe 0x64764395
mov edi, dword [esp + 0x44]
sub dword [esp + 0x44], edi
sub edx, edi
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], edx
mov edx, edi
shr edx, 2
lea esi, [edx*4]
lea ecx, [eax + 4]
cmp dword [esp + 0x48], ecx
setae byte [esp + 0x38]
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp eax, ecx
setae cl
or byte [esp + 0x38], cl
cmp edi, 9
seta cl
and byte [esp + 0x38], cl
mov ecx, dword [esp + 0x48]
or ecx, eax
and ecx, 3
sete cl
test byte [esp + 0x38], cl
je 0x64765163
test esi, esi
je 0x64765163
xor ecx, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x48]
mov ebx, dword [eax + ecx*4]
mov dword [ebp + ecx*4], ebx
inc ecx
cmp edx, ecx
ja 0x64764400
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
add edx, esi
mov ecx, edi
sub ecx, esi
add eax, esi
cmp edi, esi
je 0x64764434
add ecx, edx
mov esi, ebx
mov bl, byte [eax]
mov byte [edx], bl
inc edx
inc eax
cmp edx, ecx
jne 0x64764428
mov ebx, esi
add dword [esp + 0x48], edi
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 0x40]
test edi, edi
je 0x6476444c
mov eax, dword [esi]
jmp 0x64763076
mov dword [esi], 0x14
mov eax, 0x14
jmp switch.0x6476319c
mov dword [esp + 0x38], edx
jmp 0x647641be
cmp dword [esp + 0x34], edx
jae 0x647644a1
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x64764488
test ebx, ebx
je 0x64764314
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x64764480
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
add eax, dword [esi + 0x40]
mov dword [esi + 0x40], eax
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
add dword [esi + 0x1bc4], edx
mov edi, esi
jmp 0x6476354a
mov eax, dword [esp + 0x44]
jmp 0x64763d2b
mov eax, edx
jmp 0x64763d21
xor eax, eax
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1b
jmp 0x64764067
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x6476319c
mov eax, dword [edx + 0x1bc0]
test eax, eax
je 0x647633d4
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x64814a45
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x1bc4]
mov cl, al
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], esi
test byte [esp + 0x38], 0x40
je 0x647646f4
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x64814a2f
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
movzx esi, al
mov cl, al
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], esi
mov dword [eax + 0x40], edi
mov edi, dword [esp + 0x30]
mov dword [edi], 0x19
mov eax, 0x19
jmp switch.0x6476319c
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0xb0]
mov dword [edx + 0xc], edi
mov eax, dword [esp + 0x44]
mov dword [edx + 0x10], eax
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_inflate_fast
mov ebp, dword [esp + 0xb0]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x48], ebp
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xb0]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
cmp eax, 0xb
jne 0x64763076
mov dword [ecx + 0x1bc4], 0xffffffff
jmp switch.0x6476319c
mov dword [esi], 0x10
mov eax, 0x10
jmp 0x647632ee
xor edx, edx
mov edi, dword [esp + 0x30]
jmp 0x64763814
mov ebp, ebx
mov ebx, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x30]
jmp 0x647639e0
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x18]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x28]
jmp 0x6476391c
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x18]
mov dword [esp], eax
mov dword [esp + 0x28], edx
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x28]
jmp 0x64763890
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], 0x64814964
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
sub eax, edi
add eax, dword [esi + 0x34]
mov ecx, esi
jmp 0x647633f1
mov dword [eax + 0x44], edi
mov dl, byte [esp + 0x38]
and edx, 0xf
mov dword [eax + 0x48], edx
mov dword [eax], 0x17
jmp 0x6476333b
mov dword [esp + 0x38], ecx
cmp bp, 0x10
je 0x64764bf6
cmp bp, 0x11
mov ebp, ecx
je 0x64764cbb
add ebp, 7
cmp dword [esp + 0x34], ebp
jae 0x6476476a
test ebx, ebx
je 0x64764d23
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ebp
mov ebp, dword [esp + 0x3c]
jmp 0x64764750
test ebx, ebx
je 0x64764c91
dec ebx
movzx esi, byte [edi]
shl esi, cl
add ebp, esi
inc edi
add ecx, 8
cmp ecx, edx
jb 0x64764748
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ecx
mov edx, eax
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x38]
shr eax, cl
mov esi, eax
and esi, 0x7f
add esi, 0xb
shr eax, 7
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
sub eax, edx
sub eax, 7
mov dword [esp + 0x34], eax
xor ecx, ecx
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x50]
cmp eax, edx
ja 0x64765095
lea eax, [esi - 1]
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x40]
add edx, 0x38
mov dword [esp + 0x74], edx
mov ebp, dword [esp + 0x30]
lea edx, [ebp + edx*2]
shl edx, 0x1e
shr edx, 0x1f
mov dword [esp + 0x38], esi
cmp esi, edx
jbe 0x647647d4
mov dword [esp + 0x38], edx
cmp esi, 6
ja 0x647647dd
mov dword [esp + 0x38], esi
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x6476481f
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x6c]
mov eax, ebp
nop
mov word [edi + ebp*2 + 0x70], cx
inc ebp
dec edx
mov ebx, ebp
sub ebx, eax
cmp dword [esp + 0x38], ebx
ja 0x647647fc
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x6c], edx
cmp esi, dword [esp + 0x38]
je 0x6476489a
sub esi, dword [esp + 0x38]
mov dword [esp + 0x78], esi
shr esi, 1
mov dword [esp + 0x7c], esi
shl esi, 1
mov dword [esp + 0x40], esi
je 0x6476487c
mov edx, ecx
shl edx, 0x10
movzx esi, cx
or esi, edx
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
lea edx, [edx + eax*2]
mov dword [esp + 0x38], edx
xor edx, edx
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x38]
mov dword [edi + edx*4], esi
inc edx
cmp eax, edx
ja 0x64764860
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x40]
sub dword [esp + 0x6c], esi
add ebp, esi
cmp dword [esp + 0x78], esi
je 0x6476489a
mov eax, dword [esp + 0x30]
lea edx, [eax + ebp*2 + 0x70]
add ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
lea esi, [eax + ebp*2]
nop
mov word [edx], cx
add edx, 2
cmp edx, esi
jne 0x64764890
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x68], ecx
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x50]
jmp 0x64763f61
mov al, byte [esp + 0x3c]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x3c]
shr eax, 8
mov byte [esp + 0x8d], al
mov dword [esp + 8], 2
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x10]
mov eax, edx
jmp 0x647637d5
mov dword [esp + 0x68], edi
movzx ecx, al
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0x38]
add ecx, dword [esp + 0x40]
mov edi, 1
shl edi, cl
dec edi
mov dword [esp + 0x50], edi
and edi, dword [esp + 0x3c]
mov cl, al
shr edi, cl
mov eax, dword [esp + 0x68]
add eax, edi
lea eax, [esi + eax*4]
mov cl, byte [eax]
mov byte [esp + 0x38], cl
movzx ecx, byte [eax + 1]
mov byte [esp + 0x70], cl
movzx edi, word [eax + 2]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x40]
add eax, ecx
cmp dword [esp + 0x34], eax
jae 0x647649ba
test ebx, ebx
je 0x64764260
mov dword [esp + 0x74], edx
mov dword [esp + 0x38], esi
jmp 0x64764968
test ebx, ebx
je 0x64764260
mov esi, dword [esp + 0x38]
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x3c], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x50]
mov cl, byte [esp + 0x40]
shr eax, cl
add eax, dword [esp + 0x68]
lea eax, [esi + eax*4]
mov cl, byte [eax]
mov dl, byte [eax + 1]
movzx edi, word [eax + 2]
movzx esi, dl
mov eax, dword [esp + 0x40]
add eax, esi
cmp eax, dword [esp + 0x34]
ja 0x6476495c
mov dword [esp + 0x6c], esi
mov byte [esp + 0x38], cl
mov byte [esp + 0x70], dl
mov edx, dword [esp + 0x74]
mov cl, byte [esp + 0x40]
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov cl, byte [esp + 0x6c]
shr dword [esp + 0x3c], cl
movzx edx, byte [esp + 0x70]
sub dword [esp + 0x34], edx
mov esi, dword [esp + 0x30]
mov dword [esi + 0x1bc4], eax
mov dword [esi + 0x40], edi
cmp byte [esp + 0x38], 0
jne 0x64763508
jmp 0x6476459a
mov ecx, dword [esp + 0x38]
jmp 0x647641f0
test byte [esp + 0x38], 0x40
je 0x64764c78
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x64814a13
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], 0x648148c0
mov edi, dword [esp + 0x30]
mov dword [edi], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov edi, dword [esp + 0x30]
mov dword [edi + 0x4c], 0x64814b20
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x64815320
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
cmp dword [esp + 0xb4], 6
je 0x647650b9
mov eax, 0x13
jmp 0x647632ee
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x64814933
mov esi, dword [esp + 0x30]
mov dword [esi], 0x1d
mov eax, 0x1d
jmp 0x647632ee
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov esi, dword [esp + 0x30]
mov dword [esi + 0x18], eax
jmp 0x64764208
mov al, byte [esp + 0x3c]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x3c]
shr eax, 8
mov byte [esp + 0x8d], al
mov eax, dword [esp + 0x3c]
shr eax, 0x10
mov byte [esp + 0x8e], al
mov eax, dword [esp + 0x3c]
shr eax, 0x18
mov byte [esp + 0x8f], al
mov dword [esp + 8], 4
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [esi + 0x18], eax
jmp 0x6476374e
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], edx
mov dword [ecx], 0xe
cmp dword [esp + 0xb4], 6
je 0x64765072
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x30]
jmp 0x64763d09
test dword [esp + 0x3c], 0xe000
je 0x64764d34
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], str.unknown_header_flags_set
mov edi, dword [esp + 0x30]
mov dword [edi], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov al, byte [esp + 0x3c]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x3c]
shr eax, 8
mov byte [esp + 0x8d], al
mov dword [esp + 8], 2
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x10]
mov edx, eax
and edx, 0x400
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov edi, ecx
jmp 0x64763814
mov ebp, ecx
add ebp, 2
cmp dword [esp + 0x34], ebp
jae 0x64764c3a
test ebx, ebx
je 0x64764d23
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esp + 0x3c]
jmp 0x64764c20
test ebx, ebx
je 0x64764ca6
dec ebx
movzx esi, byte [edi]
shl esi, cl
add edx, esi
inc edi
add ecx, 8
cmp ecx, ebp
jb 0x64764c18
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov edx, eax
mov cl, byte [esp + 0x38]
shr dword [esp + 0x3c], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x64765144
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
movzx ecx, word [edx + eax*2 + 0x6e]
mov esi, dword [esp + 0x3c]
and esi, 3
add esi, 3
shr dword [esp + 0x3c], 2
sub dword [esp + 0x34], 2
jmp 0x64764796
mov dl, byte [esp + 0x38]
and edx, 0xf
mov esi, dword [esp + 0x30]
mov dword [esi + 0x48], edx
mov dword [esi], 0x15
jmp 0x6476353b
mov dword [esp + 0x3c], ebp
mov ebp, ebx
mov ebx, edi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x30]
jmp 0x647639e0
mov ebp, ebx
mov ebx, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x30]
jmp 0x647639e0
add ebp, 3
cmp dword [esp + 0x34], ebp
jae 0x64764cf2
test ebx, ebx
je 0x64764d23
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esp + 0x3c]
jmp 0x64764cd8
test ebx, ebx
je 0x64764ca6
dec ebx
movzx esi, byte [edi]
shl esi, cl
add edx, esi
inc edi
add ecx, 8
cmp ecx, ebp
jb 0x64764cd4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], ecx
mov edx, eax
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0x38]
shr eax, cl
mov esi, eax
and esi, 7
add esi, 3
shr eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
sub eax, edx
sub eax, 3
mov dword [esp + 0x34], eax
xor ecx, ecx
mov eax, dword [esp + 0x40]
jmp 0x64764796
mov ebp, ebx
mov ebx, edi
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x64764d4b
mov edx, dword [esp + 0x3c]
shr edx, 8
and edx, 1
mov dword [eax], edx
test dword [esp + 0x3c], 0x200
jne 0x64764e6b
mov edi, dword [esp + 0x30]
mov dword [edi], 2
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp 0x647636fb
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp 0x647644e6
sub edi, eax
mov dword [esp + 4], edi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_adler32
jmp 0x64763123
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov esi, dword [esp + 0x30]
mov dword [esi], 0x1c
mov dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov edx, dword [esp + 0x30]
mov dword [edx + 0x68], 0
mov dword [edx], 0x12
mov dword [esp + 0x40], 0
mov ecx, edx
mov esi, edx
jmp 0x64763f4f
mov eax, dword [esp + 0x3c]
jmp 0x64764158
mov ebp, edi
mov edx, dword [esp + 0x30]
cmp word [edx + 0x270], 0
jne 0x64764ff0
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov dword [edi + 0xc], eax
mov edx, dword [esp + 0x44]
mov dword [edi + 0x10], edx
mov dword [edi], ebx
mov dword [edi + 4], ebp
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x4c], 2
jmp 0x64763087
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x8c], cl
mov eax, dword [esp + 0x3c]
shr eax, 8
mov byte [esp + 0x8d], al
mov dword [esp + 8], 2
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [esi + 0x18], eax
jmp 0x64764d59
shr dword [esp + 0x3c], 4
mov ecx, dword [esp + 0x3c]
and ecx, 0xf
add ecx, 8
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x64764fc1
mov dword [esi + 0x24], ecx
mov eax, 1
shl eax, cl
mov edx, dword [esp + 0x30]
mov dword [edx + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.allegro_5.0.10_monolith_mt.dll_adler32
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x3c]
and eax, 0x200
cmp eax, 1
sbb eax, eax
and eax, 2
add eax, 9
mov dword [ecx], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp 0x64763076
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov edi, dword [esp + 0x30]
mov dword [edi + 0x18], eax
mov byte [esp + 0x8c], 0x1f
mov byte [esp + 0x8d], 0x8b
mov dword [esp + 8], 2
lea edx, [esp + 0x8c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_crc32
mov dword [edi + 0x18], eax
mov dword [edi], 1
mov eax, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp switch.0x6476319c
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jmp 0x64764db8
cmp ecx, eax
jbe 0x64764ecf
sub dword [esp + 0x34], 4
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], 0x648148f2
mov eax, dword [esp + 0x30]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], 9
add esi, 0x2f0
mov edi, dword [esp + 0x30]
add edi, 0x6c
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x30]
add eax, 0x54
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
add eax, 0x70
mov dword [esp + 4], eax
mov dword [esp], 1
call sym.allegro_5.0.10_monolith_mt.dll_inflate_table
mov dword [esp + 0x4c], eax
test eax, eax
je 0x647650d6
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov ebp, edi
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], 0x648149a1
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov eax, ebx
mov ebx, ebp
mov ebp, eax
shr dword [esp + 0x3c], 3
sub dword [esp + 0x34], 3
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x647639e0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6c]
mov dword [edx + 0x50], eax
mov dword [edx + 0x58], 6
mov dword [esp + 0x14], esi
mov eax, edx
add eax, 0x58
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [edx + 0x64]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x60]
lea eax, [edx + eax*2 + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 2
call sym.allegro_5.0.10_monolith_mt.dll_inflate_table
mov dword [esp + 0x4c], eax
test eax, eax
je 0x64763403
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.invalid_distances_set
mov esi, dword [esp + 0x30]
mov dword [esi], 0x1d
mov eax, 0x1d
jmp switch.0x6476319c
mov ebp, edi
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], 0x648149a1
mov edi, dword [esp + 0x30]
mov dword [edi], 0x1d
jmp 0x647650af
mov ecx, edi
mov edx, dword [esp + 0x48]
jmp 0x64764424