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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x3c
test eax, eax
je 0x45ccb6
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x45ccb6
cmp dword [eax + 0xc], 0
je 0x45ccb6
cmp dword [eax], 0
jne 0x45b968
cmp dword [eax + 4], 0
jne 0x45ccb6
cmp dword [ecx], 0xb
jne 0x45b973
mov dword [ecx], 0xc
mov edx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [ecx + 0x34]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0x30]
push edi
mov edi, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], ebx
cmp eax, 0x1c
ja case.default.0x45b9c0
lea edi, [ecx + 0x4c]
mov dword [ebp - 0x2c], edi
lea edi, [ecx + 0x50]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x10]
mov edi, edi
jmp dword [eax*4 + 0x45ccc0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x45b9dc
mov dword [ecx], 0xc
jmp 0x45cb6c
cmp esi, 0x10
jae 0x45ba0b
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x45b9e1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
and eax, 1
je 0x45ba58
cmp edx, 0x8b1f
jne 0x45ba58
push 0
push 0
push 0
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
push 2
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], 0x8b1f
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
xor edx, edx
add esp, 0x18
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ecx + 0x14], eax
mov dword [ecx], 1
jmp 0x45cb6c
mov dword [ecx + 0x10], 0
test eax, eax
je 0x45baf9
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
mov ecx, dword [ebp - 0xc]
test edx, edx
mov edx, dword [ebp - 4]
jne 0x45baf9
mov eax, edx
and al, 0xf
cmp al, 8
je 0x45ba9e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x45cb66
shr edx, 4
sub esi, 4
mov eax, edx
mov dword [ebp - 4], edx
and eax, 0xf
add eax, 8
cmp eax, dword [ecx + 0x1c]
jbe 0x45bac3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x45cb66
push 0
push 0
push 0
call fcn.0046c460
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 4]
shr edx, 8
not edx
and edx, 2
or edx, 9
mov dword [ecx], edx
xor edx, edx
mov dword [ebp - 4], edx
xor esi, esi
jmp 0x45cb6c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x45cb66
cmp esi, 0x10
jae 0x45bb37
lea ecx, [ecx]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x45bb10
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
cmp dl, 8
je 0x45bb4e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x45cb66
test edx, 0xe000
je 0x45bb65
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x45cb66
test edx, 0x200
je 0x45bb8d
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx + 0x14], eax
xor edx, edx
mov dword [ecx], 2
mov dword [ebp - 4], edx
xor esi, esi
jmp 0x45bba1
cmp esi, 0x20
jae 0x45bbc8
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x45bba1
mov ecx, dword [ebp - 0xc]
test dword [ecx + 0x10], 0x200
je 0x45bc01
mov eax, edx
mov byte [ebp - 0x18], dl
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x18]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x15], dl
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx + 0x14], eax
xor edx, edx
mov dword [ecx], 3
mov dword [ebp - 4], edx
xor esi, esi
jmp 0x45bc15
cmp esi, 0x10
jae 0x45bc3c
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x45bc15
mov ecx, dword [ebp - 0xc]
test dword [ecx + 0x10], 0x200
je 0x45bc65
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx + 0x14], eax
xor edx, edx
mov dword [ecx], 4
mov dword [ebp - 4], edx
xor esi, esi
test dword [ecx + 0x10], 0x400
je 0x45bcdc
cmp esi, 0x10
jae 0x45bca7
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x45bc80
mov ecx, dword [ebp - 0xc]
test dword [ecx + 0x10], 0x200
mov dword [ecx + 0x38], edx
je 0x45bcd3
mov byte [ebp - 0x18], dl
lea eax, [ebp - 0x18]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x17], dl
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ecx], 5
mov edx, dword [ecx + 0x10]
test edx, 0x400
je 0x45bd31
mov eax, dword [ecx + 0x38]
cmp eax, ebx
cmova eax, ebx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x45bd27
test edx, 0x200
je 0x45bd1a
push eax
push edi
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x34]
sub ebx, eax
add edi, eax
sub dword [ecx + 0x38], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
cmp dword [ecx + 0x38], 0
jne 0x45cbcb
mov dword [ecx], 6
test dword [ecx + 0x10], 0x800
je 0x45bd97
test ebx, ebx
je 0x45cbcb
xor eax, eax
lea ebx, [ebx]
movzx edx, byte [eax + edi]
inc eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x45bd60
cmp eax, ebx
jb 0x45bd50
test dword [ecx + 0x10], 0x2000
mov dword [ebp - 0x34], eax
je 0x45bd85
push eax
push edi
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x34]
sub ebx, eax
add edi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
test edx, edx
jne 0x45cbcb
mov dword [ecx], 7
test dword [ecx + 0x10], 0x1000
je 0x45bdf7
test ebx, ebx
je 0x45cbcb
xor eax, eax
movzx edx, byte [eax + edi]
inc eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x45bdc0
cmp eax, ebx
jb 0x45bdb0
test dword [ecx + 0x10], 0x2000
mov dword [ebp - 0x34], eax
je 0x45bde5
push eax
push edi
push dword [ecx + 0x14]
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x34]
sub ebx, eax
add edi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
test edx, edx
jne 0x45cbcb
mov edx, dword [ebp - 4]
mov dword [ecx], 8
test dword [ecx + 0x10], 0x200
je 0x45be57
cmp esi, 0x10
jae 0x45be37
mov edi, edi
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x10
jb 0x45be10
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0x14]
cmp edx, eax
je 0x45be4e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x45cb66
mov dword [ebp - 4], 0
xor esi, esi
push 0
push 0
push 0
call fcn.0046c590
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 4]
mov dword [ecx], 0xb
jmp 0x45cb6c
cmp esi, 0x20
jae 0x45bea8
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x45be84
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
shr edx, 0x18
add eax, ecx
mov ecx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x30], eax
xor edx, edx
mov dword [ebp - 4], edx
xor esi, esi
mov dword [ecx], 0xa
cmp dword [ecx + 0xc], 0
je 0x45cb83
push 0
push 0
push 0
call fcn.0046c460
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 4]
mov dword [ecx], 0xb
cmp dword [ebp + 0xc], 5
je 0x45cbcb
cmp dword [ecx + 4], 0
je 0x45bf3b
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov dword [ecx], 0x18
jmp 0x45cb6c
cmp esi, 3
jae 0x45bf67
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 3
jb 0x45bf40
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ecx + 4], eax
mov eax, edx
and eax, 3
cmp eax, 3
ja case.default.0x45bf7b
jmp dword [eax*4 + 0x45cd34]
shr edx, 2
sub esi, 3
mov dword [ecx], 0xd
mov dword [ebp - 4], edx
jmp 0x45cb6c
shr edx, 2
sub esi, 3
mov dword [ecx + 0x44], 0x568ca0
mov dword [ecx + 0x4c], 9
mov dword [ecx + 0x48], 0x5694a0
mov dword [ecx + 0x50], 5
mov dword [ecx], 0x12
mov dword [ebp - 4], edx
jmp 0x45cb6c
shr edx, 2
sub esi, 3
mov dword [ecx], 0xf
mov dword [ebp - 4], edx
jmp 0x45cb6c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ecx], 0x1b
shr edx, 2
sub esi, 3
mov dword [ebp - 4], edx
jmp 0x45cb6c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp esi, 0x20
jae 0x45c034
lea esp, [esp]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x45c010
mov eax, edx
mov ecx, edx
and ecx, 0xffff
not eax
shr eax, 0x10
mov dword [ebp - 0x34], ecx
cmp ecx, eax
mov ecx, dword [ebp - 0xc]
je 0x45c05c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x45cb66
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [ecx + 0x38], eax
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ecx], 0xe
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x45c6f9
cmp eax, ebx
cmova eax, ebx
cmp eax, dword [ebp - 0x14]
cmova eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x45cbcb
push eax
push edi
push dword [ebp - 0x1c]
call fcn.00504a20
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
sub ebx, eax
sub dword [ebp - 0x14], eax
add edi, eax
add dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
sub dword [ecx + 0x38], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
jmp 0x45cb6c
cmp esi, 0xe
jae 0x45c0eb
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0xe
jb 0x45c0c4
mov ecx, dword [ebp - 0xc]
mov eax, edx
sub esi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ecx + 0x58], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ecx + 0x5c], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 4], edx
cmp dword [ecx + 0x58], 0x11e
mov dword [ecx + 0x54], eax
ja 0x45c21b
cmp dword [ecx + 0x5c], 0x1e
ja 0x45c21b
mov dword [ecx + 0x60], 0
mov dword [ecx], 0x10
mov eax, dword [ecx + 0x60]
cmp eax, dword [ecx + 0x54]
jae 0x45c1a8
cmp esi, 3
jae 0x45c174
lea esp, [esp]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 3
jb 0x45c150
mov eax, dword [ebp - 0xc]
mov ecx, edx
mov edi, dword [ebp - 0xc]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 4], edx
mov eax, dword [eax + 0x60]
movzx eax, word [eax*2 + 0x569520]
mov word [edi + eax*2 + 0x68], cx
mov ecx, edi
mov edi, dword [ebp - 0x10]
inc dword [ecx + 0x60]
mov eax, dword [ecx + 0x60]
cmp eax, dword [ecx + 0x54]
jb 0x45c147
cmp dword [ecx + 0x60], 0x13
jae 0x45c1cb
mov edi, edi
mov eax, dword [ecx + 0x60]
xor edx, edx
movzx eax, word [eax*2 + 0x569520]
mov word [ecx + eax*2 + 0x68], dx
inc dword [ecx + 0x60]
cmp dword [ecx + 0x60], 0x13
jb 0x45c1b0
mov edx, dword [ebp - 0xc]
lea eax, [ecx + 0x528]
add ecx, 0x64
mov dword [edx + 0x44], eax
mov dword [ecx], eax
lea eax, [edx + 0x2e8]
push eax
lea eax, [edx + 0x4c]
mov dword [edx + 0x4c], 7
push eax
push ecx
push 0x13
lea eax, [edx + 0x68]
push eax
push 0
call fcn.0046c8b0
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45c22a
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x45cb66
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x45cb66
mov dword [ecx + 0x60], 0
mov dword [ecx], 0x11
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x60]
add eax, dword [ecx + 0x58]
mov dword [ebp - 0x24], edx
cmp edx, eax
jae 0x45c49a
jmp 0x45c250
mov eax, dword [ebp - 0x2c]
mov edx, 1
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, esi
jbe 0x45c2bd
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
mov edx, 1
add dword [ebp - 4], eax
dec ebx
mov eax, dword [ebp - 0x2c]
inc edi
add esi, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, esi
ja 0x45c278
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x45c317
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], ecx
cmp esi, ecx
jae 0x45c2f8
test ebx, ebx
je 0x45cbcb
movzx edx, byte [edi]
mov ecx, esi
shl edx, cl
dec ebx
add dword [ebp - 4], edx
inc edi
add esi, 8
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x34]
jb 0x45c2d6
mov edx, dword [ebp - 0x24]
movzx ecx, ah
shr dword [ebp - 4], cl
sub esi, ecx
mov ecx, dword [ebp - 0xc]
mov ax, word [ebp - 0x2e]
mov word [ecx + edx*2 + 0x68], ax
inc dword [ecx + 0x60]
jmp 0x45c471
mov cx, word [ebp - 0x2e]
mov edx, dword [ebp - 4]
cmp cx, 0x10
jne 0x45c38d
movzx ecx, ah
mov dword [ebp - 0x34], ecx
lea eax, [ecx + 2]
cmp esi, eax
jae 0x45c35a
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x34]
add edx, eax
inc edi
mov dword [ebp - 8], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
lea eax, [ecx + 2]
cmp esi, eax
jb 0x45c331
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x45c487
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 + 0x66]
mov dword [ebp - 0x34], eax
mov eax, edx
and eax, 3
shr edx, 2
add eax, 3
sub esi, 2
mov dword [ebp - 0x30], eax
jmp 0x45c439
cmp cx, 0x11
movzx ecx, ah
jne 0x45c3e0
lea eax, [ecx + 3]
mov dword [ebp - 0x34], ecx
cmp esi, eax
jae 0x45c3c9
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x34]
add edx, eax
inc edi
mov dword [ebp - 8], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
lea eax, [ecx + 3]
cmp esi, eax
jb 0x45c3a0
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [ebp - 0x30], eax
mov eax, 0xfffffffd
jmp 0x45c42e
lea eax, [ecx + 7]
mov dword [ebp - 0x34], ecx
cmp esi, eax
jae 0x45c419
lea ebx, [ebx]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
mov ecx, dword [ebp - 0x34]
add edx, eax
inc edi
mov dword [ebp - 8], ebx
add esi, 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
lea eax, [ecx + 7]
cmp esi, eax
jb 0x45c3f0
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [ebp - 0x30], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [ebp - 0x34], 0
add esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax + 0x5c]
add ecx, dword [eax + 0x58]
mov eax, dword [ebp - 0x24]
add eax, edx
cmp eax, ecx
mov ecx, dword [ebp - 0xc]
ja 0x45c48a
test edx, edx
je 0x45c471
mov edi, dword [ebp - 0x34]
jmp 0x45c460
mov eax, dword [ecx + 0x60]
mov word [ecx + eax*2 + 0x68], di
inc dword [ecx + 0x60]
dec edx
jne 0x45c460
mov edi, dword [ebp - 0x10]
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x60]
add eax, dword [ecx + 0x58]
mov dword [ebp - 0x24], edx
cmp edx, eax
jb 0x45c250
jmp 0x45c49a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ecx], 0x1b
lea eax, [ecx + 0x528]
mov dword [ecx + 0x4c], 9
lea edx, [ecx + 0x64]
mov dword [ecx + 0x44], eax
mov dword [edx], eax
lea eax, [ecx + 0x2e8]
push eax
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x34], edx
push eax
push edx
push dword [ecx + 0x58]
lea eax, [ecx + 0x68]
push eax
push 1
call fcn.0046c8b0
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45c4eb
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x45cb66
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x50], 6
mov eax, dword [edx]
mov dword [ecx + 0x48], eax
lea eax, [ecx + 0x2e8]
push eax
lea eax, [ecx + 0x50]
push eax
mov eax, dword [ecx + 0x58]
push edx
push dword [ecx + 0x5c]
add eax, 0x34
lea eax, [ecx + eax*2]
push eax
push 2
call fcn.0046c8b0
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45c539
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x45cb66
mov dword [ecx], 0x12
cmp ebx, 6
jb 0x45c5a1
cmp dword [ebp - 0x14], 0x102
jb 0x45c5a1
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x14]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [eax + 4], ebx
push eax
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], esi
call fcn.0046cd50
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
mov edx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ebp - 4], edx
jmp 0x45cb6c
mov eax, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, 1
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [ebp - 0x30]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x45c60f
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x2c]
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov edx, 1
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x45c5c8
test al, al
je 0x45c6c6
test al, 0xf0
jne 0x45c6c6
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x24], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x34], edx
and ebx, dword [ebp - 4]
shr ebx, cl
mov ecx, dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x24]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x45c6b9
mov eax, dword [ebp - 8]
test eax, eax
je 0x45cbce
mov ebx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 8], eax
mov ecx, esi
mov edi, 1
add esi, 8
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [ebp - 4], eax
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 4]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x45c662
mov ebx, dword [ebp - 8]
movzx ecx, dh
mov edx, dword [ebp - 4]
shr edx, cl
sub esi, ecx
mov edi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 4], edx
shr ecx, 0x10
mov dword [edi + 0x38], ecx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test al, al
jne 0x45c6f5
mov dword [ecx], 0x17
jmp 0x45cb6c
test al, 0x20
je 0x45c704
mov dword [ecx], 0xb
jmp 0x45cb6c
test al, 0x40
je 0x45c717
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x45cb66
movzx eax, al
and eax, 0xf
mov dword [ecx], 0x13
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x45c778
cmp esi, eax
jae 0x45c758
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x34]
jb 0x45c734
mov ecx, dword [ebp - 0x34]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0xc]
dec eax
and eax, edx
add dword [ecx + 0x38], eax
mov ecx, dword [ebp - 0x34]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov dword [ecx], 0x14
mov eax, dword [ecx + 0x48]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, 1
mov ecx, dword [ecx]
shl eax, cl
mov ecx, dword [ebp - 0x30]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x45c7ec
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x3c]
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov edx, 1
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x45c7a5
test al, 0xf0
jne 0x45c8a1
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x24], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x34], edx
and ebx, dword [ebp - 4]
shr ebx, cl
mov ecx, dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x24]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x45c897
jmp 0x45c840
mov eax, dword [ebp - 8]
test eax, eax
je 0x45cbce
mov ebx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 8], eax
mov ecx, esi
mov edi, 1
add esi, 8
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [ebp - 4], eax
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 4]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x45c840
movzx ecx, dh
mov edx, dword [ebp - 4]
shr edx, cl
sub esi, ecx
mov edi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
test al, 0x40
je 0x45c8cc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x45cb66
mov ebx, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x3c], ecx
mov ecx, ebx
mov ebx, dword [ebp - 8]
mov dword [ecx + 0x40], eax
mov dword [ecx], 0x15
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x45c944
cmp esi, eax
jae 0x45c924
lea esp, [esp]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, dword [ebp - 0x34]
jb 0x45c900
mov ecx, dword [ebp - 0x34]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0xc]
dec eax
and eax, edx
add dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x34]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x24]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
cmp dword [ecx + 0x3c], eax
jbe 0x45c964
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x45cb66
mov dword [ecx], 0x16
cmp dword [ebp - 0x14], 0
je 0x45cbcb
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x3c]
cmp eax, dword [ebp - 0x34]
jbe 0x45c9b6
sub eax, dword [ebp - 0x34]
mov edi, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x30], eax
cmp eax, edi
jbe 0x45c9a1
add edx, dword [ecx + 0x20]
sub eax, edi
mov dword [ebp - 0x30], eax
sub edx, eax
jmp 0x45c9a5
sub edx, eax
add edx, edi
mov edi, dword [ecx + 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], edi
cmp eax, edi
jbe 0x45c9c8
mov eax, edi
jmp 0x45c9c5
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
sub dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x30]
cmp edi, eax
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmova edi, eax
sub eax, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
sub eax, edi
sub ebx, edx
mov dword [ecx + 0x38], eax
mov al, byte [ebx + edx]
mov byte [edx], al
inc edx
dec edi
jne 0x45c9e8
cmp dword [ecx + 0x38], 0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 4]
jne 0x45cb6c
mov dword [ecx], 0x12
jmp 0x45cb6c
cmp dword [ebp - 0x14], 0
je 0x45cbcb
mov edx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x38]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [edx], al
mov edx, dword [ebp - 4]
mov dword [ecx], 0x12
jmp 0x45cb6c
cmp dword [ecx + 8], 0
je 0x45cb0a
cmp esi, 0x20
jae 0x45ca6e
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x45ca47
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
add dword [eax + 0x14], edi
mov eax, edi
add dword [ecx + 0x18], eax
mov edi, dword [ebp - 0x10]
test eax, eax
je 0x45cab8
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cmp dword [ecx + 0x10], 0
push eax
push dword [ecx + 0x14]
je 0x45caa1
call fcn.0046c590
jmp 0x45caa6
call fcn.0046c460
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 0x30], eax
mov edx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, edx
jne 0x45caf2
and eax, 0xff00
mov dword [ebp - 0x24], eax
mov eax, edx
shl eax, 0x10
add dword [ebp - 0x24], eax
mov eax, edx
shl dword [ebp - 0x24], 8
shr eax, 8
and eax, 0xff00
add dword [ebp - 0x24], eax
mov eax, edx
shr eax, 0x18
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 0x14]
je 0x45cb03
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x45cb66
xor edx, edx
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ecx], 0x19
cmp dword [ecx + 8], 0
je 0x45cbb5
cmp dword [ecx + 0x10], 0
je 0x45cbb5
cmp esi, 0x20
jae 0x45cb57
lea esp, [esp]
test ebx, ebx
je 0x45cbcb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
dec ebx
add edx, eax
mov dword [ebp - 8], ebx
inc edi
mov dword [ebp - 4], edx
add esi, 8
mov dword [ebp - 0x10], edi
cmp esi, 0x20
jb 0x45cb30
mov ecx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x18]
je 0x45cbac
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ecx], 0x1b
mov eax, dword [ecx]
cmp eax, 0x1c
jbe switch.0x0045b9c0
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov eax, 2
pop edi
mov dword [ecx + 0x34], esi
pop esi
mov dword [ecx + 0x30], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ecx], 0x1a
mov dword [ebp - 0x28], 1
jmp 0x45cbcb
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi], ecx
cmp dword [ebx + 0x20], 0
mov dword [ebx + 0x34], esi
mov esi, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
jne 0x45cc04
cmp dword [ebx], 0x18
jge 0x45cc24
cmp esi, dword [edi + 0x10]
je 0x45cc24
push esi
push edi
call fcn.0045cf20
add esp, 8
test eax, eax
je 0x45cc24
mov dword [ebx], 0x1c
pop edi
pop esi
mov eax, 0xfffffffc
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
sub eax, dword [edi + 4]
sub esi, dword [edi + 0x10]
add dword [edi + 8], eax
add dword [edi + 0x14], esi
add dword [ebx + 0x18], esi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x38], eax
je 0x45cc68
test esi, esi
je 0x45cc68
mov eax, dword [edi + 0xc]
push esi
sub eax, esi
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x14]
je 0x45cc5a
call fcn.0046c590
jmp 0x45cc5f
call fcn.0046c460
mov dword [ebx + 0x14], eax
add esp, 0xc
mov dword [edi + 0x30], eax
mov ecx, dword [ebx + 4]
mov edx, 0x80
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, edx
add ecx, eax
mov eax, dword [ebp - 0x38]
add ecx, dword [ebx + 0x34]
mov dword [edi + 0x2c], ecx
test eax, eax
jne 0x45cc92
test esi, esi
je 0x45cc98
cmp dword [ebp + 0xc], 4
jne 0x45ccac
mov eax, dword [ebp - 0x28]
mov ecx, 0xfffffffb
pop edi
test eax, eax
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret