Function at 0x58a0b8
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, dword [esp + 0xb0]
test ebp, ebp
je case.default.0x589d20
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x30], ebx
test ebx, ebx
je case.default.0x589d20
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x48], ebx
test ebx, ebx
je case.default.0x589d20
mov esi, dword [esp + 0xb0]
mov ebx, dword [esi]
test ebx, ebx
je 0x58b034
mov edi, dword [esi + 4]
mov dword [esp + 0x58], edi
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
cmp eax, 0xb
je 0x589e84
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [edx + 0x38]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xb4]
sub esi, 5
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], edi
mov ebp, dword [esp + 0x58]
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.0x00589d20
mov dword [esp + 0x4c], 0xfffffffe
mov eax, dword [esp + 0x4c]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x58b234
cmp dword [esp + 0x34], 0x1f
ja 0x589c62
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x589c48
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x589c40
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x44]
mov edi, dword [esp + 0xb0]
add dword [edi + 0x14], eax
mov edx, dword [esp + 0x30]
add dword [edx + 0x1c], eax
test eax, eax
je 0x589cb8
mov edx, dword [edx + 0x10]
test edx, edx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x48]
je 0x58b910
sub edx, eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call fcn.0058f98c
mov esi, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0x10]
test edi, edi
mov eax, dword [esp + 0x38]
jne 0x589cf0
and eax, 0xff00
shl eax, 8
mov ecx, dword [esp + 0x38]
shl ecx, 0x18
mov edx, dword [esp + 0x38]
shr edx, 0x18
add ecx, edx
mov edx, dword [esp + 0x38]
shr edx, 8
and edx, 0xff00
add edx, ecx
add eax, edx
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 0x18]
je 0x58b8f0
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], str.incorrect_data_check
mov dword [edx], 0x1d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov eax, 0x1d
nop
jmp dword [eax*4 + 0x6154f0]
cmp dword [esp + 0x34], 0x1f
ja 0x589d62
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x589d4c
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x589d44
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
shl edx, 0x18
mov eax, dword [esp + 0x38]
shr eax, 0x18
add edx, eax
mov eax, dword [esp + 0x38]
shr eax, 8
and eax, 0xff00
add edx, eax
mov eax, dword [esp + 0x38]
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 + 0x38], 0
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x58b9a8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058fc70
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 0x58af9c
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
test edx, edx
jne 0x589e98
cmp dword [esp + 0x34], 2
ja 0x589e35
test ebx, ebx
je 0x58af9c
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x38], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x38]
and eax, 1
mov esi, dword [esp + 0x30]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x38]
shr edx, 1
mov eax, edx
and eax, 3
cmp eax, 2
je 0x58b3bc
cmp eax, 3
je 0x58b642
dec eax
je 0x58b604
mov dword [esi], 0xd
mov eax, 0xd
shr edx, 2
mov dword [esp + 0x38], edx
sub dword [esp + 0x34], 3
jmp 0x589bf5
mov dword [edx], 0xc
mov al, 0xc
mov edx, dword [esp + 0x30]
jmp 0x589b94
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x38], cl
and dword [esp + 0x34], 0xfffffff8
mov dword [eax], 0x1a
mov eax, 0x1a
jmp switch.0x00589d20
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x48]
test edx, edx
je 0x589f20
cmp dword [esp + 0x34], edx
jae 0x589efd
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x589ee4
test ebx, ebx
je 0x58b04c
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x589edc
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add dword [esi + 0x44], eax
shr dword [esp + 0x38], 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 0x58af9c
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 0x44]
cmp eax, edi
jae 0x58b0b8
sub edi, eax
cmp edi, dword [edx + 0x2c]
ja 0x58b258
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x30]
cmp edi, eax
jbe 0x58b444
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 0x58b0c3
mov edi, edx
jmp 0x58b0c3
mov edi, dword [esp + 0x30]
mov dword [edi], 0x13
cmp dword [esp + 0xb4], 6
je 0x58af9c
nop
mov eax, dword [esp + 0x30]
mov dword [eax], 0x14
cmp ebx, 5
jbe 0x589fbd
cmp dword [esp + 0x44], 0x101
ja 0x58b324
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 + 0x38]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x3c], al
mov al, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x58a05c
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], esi
mov edi, esi
jmp 0x58a024
test ebx, ebx
je 0x58afac
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 + 0x3c], al
mov al, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x58a018
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x50]
cmp byte [esp + 0x3c], 0
je 0x58b2d0
test byte [esp + 0x3c], 0xf0
je 0x58b4ac
movzx esi, al
mov cl, al
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], esi
mov dword [eax + 0x40], edi
test byte [esp + 0x3c], 0x20
je 0x58b5b5
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], 0xffffffff
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00589d20
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x58b1b8
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 + 0x38]
and eax, dword [esp + 0x40]
lea edx, [esi + eax*4]
mov al, byte [edx]
mov byte [esp + 0x3c], al
movzx eax, byte [edx + 1]
movzx edi, word [edx + 2]
movzx edx, al
cmp dword [esp + 0x34], edx
jae 0x58a171
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], esi
mov edi, esi
jmp 0x58a138
test ebx, ebx
je 0x58afac
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 + 0x3c], al
movzx eax, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, al
cmp esi, ecx
ja 0x58a12c
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, esi
mov esi, dword [esp + 0x50]
test byte [esp + 0x3c], 0xf0
jne 0x58b284
mov dword [esp + 0x50], edi
movzx ecx, al
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0x3c]
add ecx, dword [esp + 0x40]
mov edi, 1
shl edi, cl
dec edi
mov dword [esp + 0x68], edi
and edi, dword [esp + 0x38]
mov cl, al
shr edi, cl
mov eax, dword [esp + 0x50]
add eax, edi
lea ecx, [esi + eax*4]
mov al, byte [ecx]
mov byte [esp + 0x3c], 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 0x58a23a
test ebx, ebx
je 0x58af9c
mov dword [esp + 0x70], edx
mov dword [esp + 0x3c], esi
jmp 0x58a1ec
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x3c]
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x38], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x38]
and eax, dword [esp + 0x68]
mov cl, byte [esp + 0x40]
shr eax, cl
add eax, dword [esp + 0x50]
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 0x58a1e0
mov byte [esp + 0x3c], cl
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x70]
mov cl, byte [esp + 0x40]
shr dword [esp + 0x38], 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 0x58b28e
mov ebx, dword [esp + 0x30]
mov dword [ebx], 0x1e
mov dword [esp + 0x4c], 0xfffffffc
jmp 0x589c06
cmp dword [esp + 0x34], 0x1f
ja 0x58a2b2
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a29c
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x58a294
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x58a2c4
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov esi, dword [esp + 0x30]
test byte [esi + 0x11], 2
jne 0x58b68b
mov edx, dword [esp + 0x30]
mov dword [edx], 3
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
jmp 0x58a2f7
cmp dword [esp + 0x34], 0xf
ja 0x58a32a
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a314
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x58a30c
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x58a347
movzx edx, byte [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
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 0x58b468
mov ecx, dword [esp + 0x30]
mov dword [ecx], 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test dh, 4
jne 0x58ae2d
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x58b3cc
mov dword [edx + 0x10], 0
xor edx, edx
mov edi, dword [esp + 0x30]
mov dword [edi], 5
jmp 0x58aeaf
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
test ah, 8
je 0x58af4b
test ebx, ebx
je 0x58af9c
xor edx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x3c]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x58a3f4
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x58a3f4
mov ebx, dword [ebp + 0x40]
cmp ebx, dword [eax + 0x20]
jae 0x58a3f4
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x40], ebx
test esi, esi
je 0x58a3fe
cmp edx, dword [esp + 0x40]
jne 0x58a3cc
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x11], 2
jne 0x58b3fc
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x58af9c
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 0x58b064
test ebx, ebx
je 0x58af9c
xor edx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x30]
nop
mov esi, dword [esp + 0x3c]
mov cl, byte [esi + edx]
movzx esi, cl
inc edx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x58a480
mov edi, dword [eax + 0x24]
test edi, edi
je 0x58a480
mov ebx, dword [ebp + 0x40]
cmp ebx, dword [eax + 0x28]
jae 0x58a480
mov byte [edi + ebx], cl
inc ebx
mov dword [ebp + 0x40], ebx
test esi, esi
je 0x58a48a
cmp edx, dword [esp + 0x40]
jne 0x58a458
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
test byte [edi + 0x11], 2
jne 0x58b3d8
sub ebx, edx
add ebp, edx
test esi, esi
jne 0x58af9c
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [esi], 8
test ah, 2
je 0x58afdc
cmp dword [esp + 0x34], 0xf
ja 0x58a502
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a4e8
test ebx, ebx
je 0x58b04c
dec ebx
movzx edx, byte [ebp]
shl edx, cl
add esi, edx
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x58a4e0
mov dword [esp + 0x38], 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 + 0x38]
je 0x58afcc
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.0x00589d20
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
jmp 0x58a438
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x4c], 0xfffffffd
mov esi, dword [esp + 0x30]
nop
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov dword [edi + 0xc], edx
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x10], ecx
mov dword [edi], ebx
mov dword [edi + 4], ebp
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x58a5b0
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x44], ebx
je 0x58a5d0
mov eax, dword [esi]
cmp eax, 0x1c
ja 0x58a5d0
cmp eax, 0x19
jbe 0x58a5b0
cmp dword [esp + 0xb4], 4
je 0x58a5d0
nop
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0xb0]
call fcn.005894f0
test eax, eax
jne 0x58a25e
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0xb0]
sub esi, dword [ebx + 4]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0xb0]
sub ebx, dword [edi + 0x10]
add dword [edi + 8], esi
add dword [edi + 0x14], ebx
mov eax, dword [esp + 0x30]
add dword [eax + 0x1c], ebx
mov edx, dword [eax + 8]
test edx, edx
je 0x58a63c
test ebx, ebx
je 0x58a63c
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 8], ebx
je 0x58b080
mov eax, dword [edi + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x18]
mov dword [esp], eax
call fcn.0058f98c
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x30], eax
mov edi, dword [esp + 0x30]
cmp dword [edi + 4], 1
sbb eax, eax
not eax
and eax, 0x40
add eax, dword [edi + 0x3c]
mov edx, dword [edi]
cmp edx, 0xb
je 0x58afc4
cmp edx, 0x13
je 0x58a69c
cmp edx, 0xe
je 0x58a69c
xor edx, edx
add eax, edx
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x2c], eax
test esi, esi
jne 0x58a6b1
test ebx, ebx
jne 0x58a6b1
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x589c06
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 edx, dword [esp + 0xb0]
mov dword [edx + 0x2c], eax
test esi, esi
je 0x58a675
cmp dword [esp + 0xb4], 4
je 0x58a679
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 0x58b248
cmp dword [esp + 0x34], 0xf
ja 0x58a716
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a6fc
test ebx, ebx
je 0x58b04c
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x58a6f4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
test dl, 2
je 0x58a729
cmp dword [esp + 0x38], 0x8b1f
je 0x58baab
mov eax, dword [esp + 0x30]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x58a742
mov dword [eax + 0x30], 0xffffffff
and edx, 1
je 0x58b5e2
mov edx, dword [esp + 0x38]
shl edx, 8
and edx, 0xffff
mov eax, dword [esp + 0x38]
shr eax, 8
add eax, edx
mov ecx, 0x1f
xor edx, edx
div ecx
test edx, edx
jne 0x58b5e2
mov eax, dword [esp + 0x38]
and eax, 0xf
cmp eax, 8
je 0x58ba24
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], str.unknown_compression_method
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
cmp dword [esp + 0x34], 0xf
ja 0x58a7e2
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a7c8
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x58a7c0
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x10], eax
cmp al, 8
je 0x58b71a
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov ecx, dword [esp + 0x34]
and ecx, 7
shr dword [esp + 0x38], cl
and dword [esp + 0x34], 0xfffffff8
cmp dword [esp + 0x34], 0x1f
ja 0x58a862
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a848
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x58a840
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
movzx edx, word [esp + 0x38]
mov eax, dword [esp + 0x38]
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x58b6e6
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], str.invalid_stored_block_lengths
mov eax, dword [esp + 0x30]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x40]
mov esi, edi
mov dword [esi], 0xf
test edx, edx
je 0x58b0a4
mov eax, ebx
cmp ebx, edx
ja 0x58b22c
cmp eax, dword [esp + 0x44]
ja 0x58b220
test eax, eax
je 0x58af9c
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 0x589bf5
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0x40]
jmp 0x58a8af
cmp dword [esp + 0x34], 0xd
ja 0x58a942
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58a928
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0xd
jbe 0x58a920
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x38]
and edx, 0x1f
add edx, 0x101
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x60], edx
mov eax, dword [esp + 0x38]
shr eax, 5
and eax, 0x1f
inc eax
mov dword [ecx + 0x64], eax
mov ecx, dword [esp + 0x38]
shr ecx, 0xa
and ecx, 0xf
lea esi, [ecx + 4]
mov edi, dword [esp + 0x30]
mov dword [edi + 0x5c], esi
shr dword [esp + 0x38], 0xe
sub dword [esp + 0x34], 0xe
cmp edx, 0x11e
ja 0x58b420
cmp eax, 0x1e
ja 0x58b420
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 + 0x40], edx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
jmp 0x58a9da
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x68]
cmp esi, edx
jbe 0x58aa31
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x38]
cmp ecx, 2
ja 0x58a9f4
test ebx, ebx
je 0x58b04c
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
mov edi, dword [esp + 0x40]
movzx edi, word [edi + edi + 0x615e00]
mov eax, esi
and eax, 7
mov edx, dword [esp + 0x30]
mov word [edx + edi*2 + 0x70], ax
inc dword [esp + 0x40]
mov edi, dword [esp + 0x40]
mov dword [edx + 0x68], edi
shr esi, 3
sub ecx, 3
mov eax, dword [esp + 0x3c]
cmp edi, eax
jb 0x58a9da
mov edx, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
cmp edx, 0x12
ja 0x58aa63
lea eax, [edx + edx + 0x615e00]
mov ecx, dword [esp + 0x30]
lea esi, [esi]
movzx edx, word [eax]
mov word [ecx + edx*2 + 0x70], 0
add eax, 2
cmp eax, 0x615e26
jne 0x58aa44
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 fcn.005900f4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x58b947
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.0x00589d20
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, ebx
mov esi, dword [esp + 0x38]
mov edx, ecx
cmp dword [esp + 0x40], edx
jae 0x58b972
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x4c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x54]
mov eax, 1
shl eax, cl
mov ecx, eax
dec ecx
mov dword [esp + 0x38], ecx
mov edx, ecx
and edx, esi
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + edx*4]
movzx ecx, byte [edx + 1]
mov bx, word [edx + 2]
movzx edx, cl
cmp dword [esp + 0x34], edx
jae 0x58ab93
test edi, edi
je 0x58b83c
mov ecx, dword [esp + 0x34]
jmp 0x58ab64
test edi, edi
je 0x58b184
dec edi
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
mov eax, dword [esp + 0x38]
and eax, esi
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + eax*4]
mov al, byte [edx + 1]
mov bx, word [edx + 2]
movzx edx, al
cmp edx, ecx
ja 0x58ab5c
mov dword [esp + 0x34], ecx
movzx ecx, al
cmp bx, 0xf
jbe 0x58b300
mov dword [esp + 0x38], ecx
cmp bx, 0x10
je 0x58b7ae
cmp bx, 0x11
mov ebx, ecx
je 0x58b84d
add ebx, 7
cmp dword [esp + 0x34], ebx
jae 0x58abf3
test edi, edi
je 0x58b83c
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ebx
jmp 0x58abdc
test edi, edi
je 0x58b184
dec edi
movzx ebx, byte [ebp]
shl ebx, cl
add esi, ebx
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x58abd4
mov dword [esp + 0x34], ecx
mov edx, eax
mov cl, byte [esp + 0x38]
shr esi, cl
mov ebx, esi
and ebx, 0x7f
add ebx, 0xb
mov dword [esp + 0x3c], ebx
shr esi, 7
mov eax, dword [esp + 0x34]
sub eax, edx
sub eax, 7
mov dword [esp + 0x34], eax
xor ecx, ecx
add ebx, dword [esp + 0x40]
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x50]
cmp ebx, eax
ja 0x58bbe4
mov edx, dword [esp + 0x3c]
dec edx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
add ebx, 0x38
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x30]
lea edx, [eax + ebx*2]
shl edx, 0x1e
shr edx, 0x1f
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
cmp ebx, edx
jbe 0x58ac5c
mov dword [esp + 0x38], edx
cmp dword [esp + 0x3c], 6
ja 0x58ac6b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x58acb7
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], edi
mov ebp, dword [esp + 0x30]
mov eax, ebx
mov edx, dword [esp + 0x6c]
lea esi, [esi]
mov word [ebp + ebx*2 + 0x70], cx
inc ebx
dec edx
mov edi, ebx
sub edi, eax
cmp dword [esp + 0x38], edi
ja 0x58ac8c
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x3c], edx
je 0x58ad46
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
shr eax, 1
mov dword [esp + 0x24], eax
shl eax, 1
mov dword [esp + 0x40], eax
je 0x58ad28
mov eax, ecx
shl eax, 0x10
movzx edx, cx
or edx, eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x78]
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 + 0x78], ebp
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [edi + edx*4], ebp
inc edx
cmp eax, edx
ja 0x58ad08
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x40]
sub dword [esp + 0x6c], eax
add ebx, eax
cmp dword [esp + 0x3c], eax
je 0x58ad46
mov eax, dword [esp + 0x30]
lea edx, [eax + ebx*2 + 0x70]
add ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
lea ebx, [eax + ebx*2]
nop
mov word [edx], cx
add edx, 2
cmp edx, ebx
jne 0x58ad3c
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x30]
mov dword [ebx + 0x68], eax
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x50]
jmp 0x58ab05
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
jmp 0x58a4bd
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 8]
test eax, eax
je 0x58b92a
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x58b92a
cmp dword [esp + 0x34], 0x1f
ja 0x58adc6
test ebx, ebx
je 0x58af9c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58adac
test ebx, ebx
je 0x58afac
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add edx, eax
inc ebp
add ecx, 8
cmp ecx, 0x1f
jbe 0x58ada4
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x1c], eax
je 0x58bb1c
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x4c], 1
mov esi, dword [esp + 0x30]
jmp 0x58a560
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
mov eax, edx
test dh, 4
je 0x58a37c
cmp dword [esp + 0x34], 0xf
ja 0x58b969
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58ae48
test ebx, ebx
je 0x58b04c
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, 0xf
jbe 0x58ae40
mov dword [esp + 0x38], esi
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x58ae75
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
test dh, 2
jne 0x58b74a
mov eax, edx
and edx, 0x400
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x30]
jmp 0x58a398
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
mov edx, eax
and edx, 0x400
test edx, edx
je 0x58af31
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x3c], ebx
cmp ebx, edx
ja 0x58b1ac
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x58af26
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x58af07
mov esi, dword [ecx + 0x10]
test esi, esi
je 0x58af07
mov eax, dword [ecx + 0x14]
sub eax, edx
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x3c]
add edx, eax
cmp edx, ecx
jbe 0x58b5ac
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 0x58b664
sub ebx, dword [esp + 0x3c]
add ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov edx, dword [edi + 0x40]
sub edx, dword [esp + 0x3c]
mov dword [edi + 0x40], edx
test edx, edx
jne 0x58af9c
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 0x58a3b4
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x58a427
mov dword [edx + 0x1c], 0
jmp 0x58a427
mov esi, dword [esp + 0x44]
test esi, esi
je 0x58af9c
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x48]
mov byte [edx], al
inc edx
mov dword [esp + 0x48], edx
dec dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x14
mov eax, 0x14
jmp switch.0x00589d20
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x58a560
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x58a560
sub eax, 0xffffff80
jmp 0x58a663
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x58aff7
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 fcn.0058f98c
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.0x00589d20
mov edi, dword [esi + 4]
test edi, edi
jne case.default.0x589d20
mov dword [esp + 0x58], 0
jmp 0x589b85
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov ebp, eax
mov esi, dword [esp + 0x30]
jmp 0x58a560
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x58a4b3
mov dword [edx + 0x24], 0
jmp 0x58a4b3
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0xc]
sub eax, ebx
mov dword [esp + 4], eax
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call fcn.0058fc70
jmp 0x58a62b
mov eax, dword [esp + 0x30]
mov dword [eax], 0xb
mov eax, 0xb
jmp switch.0x00589d20
mov eax, dword [esp + 0x48]
sub eax, edi
mov edi, dword [edx + 0x40]
mov edx, edi
cmp edi, dword [esp + 0x44]
jbe 0x58b0cd
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 + 0x3c]
mov ecx, dword [esp + 0x48]
add ecx, 4
cmp eax, ecx
setae cl
or byte [esp + 0x3c], cl
cmp edi, 9
seta cl
and byte [esp + 0x3c], cl
mov ecx, dword [esp + 0x48]
or ecx, eax
and ecx, 3
sete cl
test byte [esp + 0x3c], cl
je 0x58bcb2
test esi, esi
je 0x58bcb2
xor ecx, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x48]
mov ebx, dword [eax + ecx*4]
mov dword [ebp + ecx*4], ebx
inc ecx
cmp edx, ecx
ja 0x58b138
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
add edx, esi
mov ecx, edi
sub ecx, esi
add eax, esi
cmp esi, edi
je 0x58b16c
add ecx, edx
mov esi, ebx
mov bl, byte [eax]
mov byte [edx], bl
inc edx
inc eax
cmp edx, ecx
jne 0x58b160
mov ebx, esi
add dword [esp + 0x48], edi
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 0x40]
test edi, edi
je 0x58b19c
mov eax, dword [esi]
jmp 0x589bf5
mov ebx, ebp
mov ebp, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x30]
jmp 0x58a560
mov dword [esi], 0x14
mov eax, 0x14
jmp switch.0x00589d20
mov dword [esp + 0x3c], edx
jmp 0x58aec6
cmp dword [esp + 0x34], edx
jae 0x58b1f1
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jmp 0x58b1d8
test ebx, ebx
je 0x58b04c
dec ebx
movzx eax, byte [ebp]
shl eax, cl
add esi, eax
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x58b1d0
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov eax, 1
mov cl, dl
shl eax, cl
dec eax
and eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add eax, dword [esi + 0x40]
mov dword [esi + 0x40], eax
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
add dword [esi + 0x1bc4], edx
mov edi, esi
jmp 0x58a0ce
mov eax, dword [esp + 0x44]
jmp 0x58a8cb
mov eax, edx
jmp 0x58a8c1
xor eax, eax
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1b
jmp 0x58ad73
mov dword [ecx], 0xc
mov eax, 0xc
jmp switch.0x00589d20
mov eax, dword [edx + 0x1bc0]
test eax, eax
je 0x589f58
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], 0x6154a5
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0x1bc4]
mov cl, al
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 0x1bc4], esi
test byte [esp + 0x3c], 0x40
je 0x58b450
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x61548f
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
movzx esi, al
mov cl, al
shr dword [esp + 0x38], 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.0x00589d20
shr esi, cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov word [edx + eax*2 + 0x70], bx
inc eax
mov dword [esp + 0x40], eax
mov dword [edx + 0x68], eax
mov edx, dword [esp + 0x50]
jmp 0x58ab05
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xb0]
mov dword [edx + 0xc], ecx
mov esi, dword [esp + 0x44]
mov dword [edx + 0x10], esi
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.005908f0
mov ebx, dword [esp + 0xb0]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x48], ebx
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 + 0x38], 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 0x589bf5
mov dword [ecx + 0x1bc4], 0xffffffff
jmp switch.0x00589d20
mov dword [esi], 0x10
mov eax, 0x10
jmp 0x589e72
xor edx, edx
mov edi, dword [esp + 0x30]
jmp 0x58a398
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 fcn.0058f98c
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x28]
jmp 0x58a4a0
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 fcn.0058f98c
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x28]
jmp 0x58a414
mov eax, dword [esp + 0xb0]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov edx, dword [esp + 0x30]
mov dword [edx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
sub eax, edi
add eax, dword [esi + 0x34]
mov ecx, esi
jmp 0x589f75
mov dword [eax + 0x44], edi
mov dl, byte [esp + 0x3c]
and edx, 0xf
mov dword [eax + 0x48], edx
mov dword [eax], 0x17
jmp 0x589ebf
mov al, byte [esp + 0x38]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x38]
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 fcn.0058f98c
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x10]
mov eax, edx
jmp 0x58a359
mov dword [esp + 0x68], edi
movzx ecx, al
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0x3c]
add ecx, dword [esp + 0x40]
mov edi, 1
shl edi, cl
dec edi
mov dword [esp + 0x50], edi
and edi, dword [esp + 0x38]
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 + 0x3c], 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 0x58b572
test ebx, ebx
je 0x58af9c
mov dword [esp + 0x74], edx
mov dword [esp + 0x3c], esi
jmp 0x58b520
test ebx, ebx
je 0x58af9c
mov esi, dword [esp + 0x3c]
dec ebx
movzx eax, byte [ebp]
mov cl, byte [esp + 0x34]
shl eax, cl
add dword [esp + 0x38], eax
inc ebp
add dword [esp + 0x34], 8
mov eax, dword [esp + 0x38]
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 0x58b514
mov dword [esp + 0x6c], esi
mov byte [esp + 0x3c], cl
mov byte [esp + 0x70], dl
mov edx, dword [esp + 0x74]
mov cl, byte [esp + 0x40]
shr dword [esp + 0x38], cl
sub dword [esp + 0x34], edx
mov cl, byte [esp + 0x6c]
shr dword [esp + 0x38], 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 + 0x3c], 0
jne 0x58a08c
jmp 0x58b2ea
mov ecx, dword [esp + 0x3c]
jmp 0x58aef8
test byte [esp + 0x3c], 0x40
je 0x58b823
mov edx, dword [esp + 0xb0]
mov dword [edx + 0x18], 0x615473
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], str.incorrect_header_check
mov edi, dword [esp + 0x30]
mov dword [edi], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov edi, dword [esp + 0x30]
mov dword [edi + 0x4c], 0x615580
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x615d80
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
cmp dword [esp + 0xb4], 6
je 0x58bc2b
mov eax, 0x13
jmp 0x589e72
mov ecx, dword [esp + 0xb0]
mov dword [ecx + 0x18], str.invalid_block_type
mov esi, dword [esp + 0x30]
mov dword [esi], 0x1d
mov eax, 0x1d
jmp 0x589e72
mov edx, dword [esp + 0x3c]
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 fcn.0058f98c
mov esi, dword [esp + 0x30]
mov dword [esi + 0x18], eax
jmp 0x58af10
mov al, byte [esp + 0x38]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x38]
shr eax, 8
mov byte [esp + 0x8d], al
mov eax, dword [esp + 0x38]
shr eax, 0x10
mov byte [esp + 0x8e], al
mov eax, dword [esp + 0x38]
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 fcn.0058f98c
mov dword [esi + 0x18], eax
jmp 0x58a2d2
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x40], edx
mov dword [ecx], 0xe
cmp dword [esp + 0xb4], 6
je 0x58bc0c
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x30]
jmp 0x58a8a9
test dword [esp + 0x38], 0xe000
je 0x58b8ac
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.0x00589d20
mov al, byte [esp + 0x38]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x38]
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 fcn.0058f98c
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 + 0x38], 0
mov edi, ecx
jmp 0x58a398
mov ebx, ecx
add ebx, 2
cmp dword [esp + 0x34], ebx
jae 0x58b7e7
test edi, edi
je 0x58b83c
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ebx
jmp 0x58b7d0
test edi, edi
je 0x58b184
dec edi
movzx ebx, byte [ebp]
shl ebx, cl
add esi, ebx
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x58b7c8
mov dword [esp + 0x34], ecx
mov edx, eax
mov cl, byte [esp + 0x38]
shr esi, cl
sub dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x58bbe4
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
movzx ecx, word [ebx + eax*2 + 0x6e]
mov ebx, esi
and ebx, 3
add ebx, 3
mov dword [esp + 0x3c], ebx
shr esi, 2
sub dword [esp + 0x34], 2
jmp 0x58ac17
mov dl, byte [esp + 0x3c]
and edx, 0xf
mov esi, dword [esp + 0x30]
mov dword [esi + 0x48], edx
mov dword [esi], 0x15
jmp 0x58a0bf
mov ebx, ebp
mov ebp, edi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x30]
jmp 0x58a560
add ebx, 3
cmp dword [esp + 0x34], ebx
jae 0x58b883
test edi, edi
je 0x58b83c
mov ecx, dword [esp + 0x34]
mov eax, edx
mov edx, ebx
jmp 0x58b86c
test edi, edi
je 0x58b184
dec edi
movzx ebx, byte [ebp]
shl ebx, cl
add esi, ebx
inc ebp
add ecx, 8
cmp ecx, edx
jb 0x58b864
mov dword [esp + 0x34], ecx
mov edx, eax
mov cl, byte [esp + 0x38]
shr esi, cl
mov ebx, esi
and ebx, 7
add ebx, 3
mov dword [esp + 0x3c], ebx
shr esi, 3
mov eax, dword [esp + 0x34]
sub eax, edx
sub eax, 3
mov dword [esp + 0x34], eax
xor ecx, ecx
jmp 0x58ac17
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x58b8c3
mov edx, dword [esp + 0x38]
shr edx, 8
and edx, 1
mov dword [eax], edx
test dword [esp + 0x38], 0x200
jne 0x58b9e1
mov edi, dword [esp + 0x30]
mov dword [edi], 2
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x58a27f
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x58b236
sub edx, eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [esp], eax
call fcn.0058fc70
jmp 0x589ca7
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov esi, dword [esp + 0x30]
mov dword [esi], 0x1c
mov dword [esp + 0x4c], 1
jmp 0x58a560
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 0x58aaef
mov eax, dword [esp + 0x38]
jmp 0x58ae60
mov ebx, edi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x30]
cmp word [esi + 0x270], 0
jne 0x58bb66
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
mov dword [esi], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov eax, ebx
mov ebx, ebp
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov dword [edi + 0xc], edx
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x10], ecx
mov dword [edi], ebx
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
mov dword [esp + 0x4c], 2
jmp 0x589c06
mov cl, byte [esp + 0x38]
mov byte [esp + 0x8c], cl
mov eax, dword [esp + 0x38]
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 fcn.0058f98c
mov dword [esi + 0x18], eax
jmp 0x58b8d1
shr dword [esp + 0x38], 4
mov ecx, dword [esp + 0x38]
and ecx, 0xf
add ecx, 8
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x58bb37
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 fcn.0058fc70
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x18], eax
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x38]
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 + 0x38], 0
jmp 0x589bf5
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0058f98c
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 fcn.0058f98c
mov dword [edi + 0x18], eax
mov dword [edi], 1
mov eax, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp switch.0x00589d20
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x58b930
cmp ecx, eax
jbe 0x58ba45
sub dword [esp + 0x34], 4
mov edi, dword [esp + 0xb0]
mov dword [edi + 0x18], str.invalid_window_size
mov eax, dword [esp + 0x30]
mov dword [eax], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x54], 9
mov esi, eax
add esi, 0x2f0
mov edi, eax
add edi, 0x6c
mov dword [esp + 0x14], esi
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 fcn.005900f4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x58bc44
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.0x00589d20
mov ebx, edi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xb0]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov edi, dword [esp + 0x30]
mov dword [edi], 0x1d
mov eax, 0x1d
jmp switch.0x00589d20
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x30]
jmp 0x58a560
mov eax, ebx
mov ebx, ebp
mov ebp, eax
shr dword [esp + 0x38], 3
sub dword [esp + 0x34], 3
mov esi, dword [esp + 0x30]
jmp 0x58a560
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 fcn.005900f4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x589f87
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.0x00589d20
mov ecx, edi
mov edx, dword [esp + 0x48]
jmp 0x58b15c