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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x30
push ebx
xor ecx, ecx
push esi
push edi
cmp edx, ecx
je case.default.0x4459b9
mov edi, dword [edx + 0x1c]
cmp edi, ecx
je case.default.0x4459b9
cmp dword [edx + 0xc], ecx
je case.default.0x4459b9
cmp dword [edx], ecx
jne 0x445980
cmp dword [edx + 4], ecx
jne case.default.0x4459b9
cmp dword [edi], 0xb
jne 0x44598b
mov dword [edi], 0xc
mov eax, dword [edx + 0xc]
mov esi, dword [edi + 0x3c]
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x445a2a
jmp dword [eax*4 + 0x446b99]
cmp dword [edi + 8], 0
jne 0x4459f0
mov dword [edi], 0xc
jmp 0x445a2a
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x4459ce
test byte [edi + 8], 2
je 0x445a39
cmp ebx, 0x8b1f
jne 0x445a39
xor esi, esi
push 2
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [edi + 0x18], esi
mov word [ebp - 0x18], bx
call fcn.00447279
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov dword [edi], 1
mov edx, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 0x1e
jbe switch.0x004459b9
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0x20]
and dword [edi + 0x10], 0
test eax, eax
je 0x445a48
or dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x445adf
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
push 0x1f
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x445adf
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x445a86
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
mov edx, eax
jmp 0x445a2a
mov eax, dword [edi + 0x24]
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub esi, 4
add ecx, 8
mov dword [ebp - 0xc], esi
test eax, eax
jne 0x445acf
mov dword [edi + 0x24], ecx
xor eax, eax
inc eax
shr ebx, 8
mov edx, eax
shl edx, cl
mov ecx, dword [ebp + 8]
not ebx
and ebx, 2
or ebx, 9
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], ebx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov edx, ecx
jmp 0x445a2a
cmp ecx, eax
jbe 0x445aa1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x445a7c
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi], 0x1d
jmp 0x445a2a
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x445af4
mov dword [edi + 0x10], ebx
cmp bl, 8
je 0x445b2c
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x445ae9
test ebx, 0xe000
je 0x445b3d
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x445ae9
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445b4e
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x445b74
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00447279
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp case.0x4459b9.2
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x445b80
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445bae
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x445be4
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x16], al
mov eax, dword [edi + 0x18]
shr ebx, 0x18
push 4
lea edx, [ebp - 0x18]
mov byte [ebp - 0x15], bl
call fcn.00447279
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp case.0x4459b9.3
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x445bf0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445c31
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x20]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x10], 0x200
je 0x445c57
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00447279
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
jne 0x445cf7
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445c7c
and dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x445d88
mov ecx, dword [edi + 0x40]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jbe 0x445c9f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x445d7e
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x445d53
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x445d53
mov eax, dword [ecx + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
add edx, eax
cmp edx, ecx
jbe 0x445d3b
sub ecx, eax
jmp 0x445d3e
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x445cd8
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], ebx
test eax, eax
je 0x445d09
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x445d2f
mov eax, dword [edi + 0x18]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00447279
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x445c7c
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.00448f40
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x445d72
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.00447263
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [edi + 0x40], eax
cmp dword [edi + 0x40], 0
jne 0x446a99
and dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x445e27
cmp dword [ebp - 8], 0
je 0x446a99
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445de5
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x445de5
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x445de5
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x40]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x445df3
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x445dad
test dword [edi + 0x10], 0x200
je 0x445e12
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.00447263
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x446a99
jmp 0x445e32
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445e32
and dword [eax + 0x1c], 0
and dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x445ed1
cmp dword [ebp - 8], 0
je 0x446a99
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445e8f
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x445e8f
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x445e8f
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x40]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x445e9d
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x445e57
test dword [edi + 0x10], 0x200
je 0x445ebc
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.00447263
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x446a99
jmp 0x445edc
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445edc
and dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x445f2f
jmp 0x445f0f
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x445eed
movzx eax, word [edi + 0x18]
cmp ebx, eax
je 0x445f28
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x445ae9
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445f4c
mov ecx, dword [edi + 0x10]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x20]
mov dword [eax + 0x30], 1
and dword [edi + 0x18], 0
and dword [edx + 0x30], 0
mov dword [edi], 0xb
jmp 0x445a2a
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x445f5f
mov ecx, ebx
mov esi, ebx
mov eax, 0xff00
and ecx, eax
shl esi, 0x10
add ecx, esi
mov esi, ebx
shr esi, 8
and eax, esi
shl ecx, 8
shr ebx, 0x18
add eax, ecx
add eax, ebx
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x446a56
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x446009
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi], 0x1a
jmp 0x445a2a
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x445fea
mov eax, ebx
and eax, 1
mov dword [edi + 4], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x446066
dec eax
je 0x446042
dec eax
je 0x44603a
dec eax
jne 0x44606c
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
jmp 0x44606c
mov dword [edi], 0x10
jmp 0x44606c
mov dword [edi + 0x4c], 0x4775f0
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x477df0
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
jmp 0x44606c
mov dword [edi], 0xd
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x445a2a
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x4460a4
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x446085
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x4460ca
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x445ae9
xor ebx, ebx
xor esi, esi
mov dword [edi + 0x40], eax
mov dword [ebp - 0xc], esi
mov dword [edi], 0xe
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x445f54
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x4460f9
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x446104
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x446a99
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.00448f40
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esp, 0xc
sub dword [edi + 0x40], eax
jmp 0x445a27
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0xe
jb 0x446136
mov eax, ebx
and eax, 0x1f
add eax, 0x101
mov dword [edi + 0x60], eax
shr ebx, 5
mov eax, ebx
and eax, 0x1f
inc eax
shr ebx, 5
mov dword [edi + 0x64], eax
mov eax, ebx
and eax, 0xf
add eax, 4
sub esi, 0xe
shr ebx, 4
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x5c], eax
mov dword [ebp - 0xc], esi
ja 0x4461a5
cmp dword [edi + 0x64], 0x1e
ja 0x4461a5
and dword [edi + 0x68], 0
mov dword [edi], 0x11
jmp case.0x4459b9.17
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x445ae9
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x4461b1
mov ecx, dword [edi + 0x68]
movzx ecx, word [ecx*2 + 0x477e70]
mov eax, ebx
and eax, 7
mov word [edi + ecx*2 + 0x70], ax
inc dword [edi + 0x68]
shr ebx, 3
sub esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jb 0x4461d0
jmp 0x446215
mov eax, dword [edi + 0x68]
movzx eax, word [eax*2 + 0x477e70]
xor ecx, ecx
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], 0x13
jb 0x446200
lea eax, [edi + 0x530]
lea esi, [edi + 0x6c]
mov dword [esi], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push 0x13
lea eax, [edi + 0x70]
push eax
lea ecx, [edi + 0x54]
push 0
mov dword [ecx], 7
call fcn.00447503
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x446262
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x445a7c
and dword [edi + 0x68], 0
mov dword [edi], 0x12
jmp 0x4463ff
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov ecx, dword [edi + 0x54]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x24], ecx
cmp eax, esi
ja 0x446271
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x4462df
mov eax, dword [edi + 0x68]
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr ebx, cl
mov cx, word [ebp - 0x30]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov dword [ebp - 0xc], esi
jmp case.0x4459b9.18
jne 0x446347
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x446310
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
add ebx, eax
inc dword [ebp - 4]
add esi, 8
movzx eax, ch
add eax, 2
cmp esi, eax
jb 0x4462eb
mov eax, dword [edi + 0x68]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x446413
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [ebp - 0x24], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x4463d7
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x4463b5
jmp 0x446378
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 3
cmp esi, eax
jb 0x446356
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x4463ce
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 7
cmp esi, eax
jb 0x446393
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
and dword [ebp - 0x24], 0
pop edx
sub edx, ecx
add esi, edx
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x68]
add ecx, dword [edi + 0x60]
add edx, eax
mov dword [ebp - 0xc], esi
cmp edx, ecx
ja 0x44641f
test eax, eax
je 0x4463ff
mov ecx, dword [edi + 0x68]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
dec eax
jne 0x4463ed
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x446290
jmp 0x44642f
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x445ae9
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
cmp dword [edi], 0x1d
je 0x445a2a
cmp word [edi + 0x270], 0
jne 0x44644e
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x445ae9
lea eax, [edi + 0x530]
lea esi, [edi + 0x6c]
mov dword [esi], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
push dword [edi + 0x60]
lea eax, [edi + 0x70]
push eax
lea ecx, [edi + 0x54]
push 1
mov dword [ecx], 9
call fcn.00447503
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x446496
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x445a7c
mov eax, dword [esi]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f0]
push eax
push dword [edi + 0x64]
mov eax, dword [edi + 0x60]
lea eax, [edi + eax*2 + 0x70]
push eax
lea ecx, [edi + 0x58]
push 2
mov dword [ecx], 6
call fcn.00447503
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4464d9
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x445a7c
mov edx, dword [ebp + 8]
mov dword [edi], 0x13
mov dword [edi], 0x14
cmp dword [ebp - 8], 6
jb 0x44655d
cmp dword [ebp - 0x14], 0x102
jb 0x44655d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
call fcn.00446e67
cmp dword [edi], 0xb
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
mov ebx, dword [edi + 0x38]
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jne 0x445a2a
or dword [edi + 0x1bc4], 0xffffffff
jmp 0x445a2a
mov ecx, dword [edi + 0x54]
and dword [edi + 0x1bc4], 0
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
jmp 0x4465a9
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x54]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x446579
test al, al
je 0x446659
test al, 0xf0
jne 0x446659
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x44663a
cmp dword [ebp - 8], 0
je 0x446a96
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x4465f9
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
mov dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
mov dword [ebp - 0xc], ecx
shr ebx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [edi + 0x40], ecx
test al, al
jne 0x446688
mov dword [edi], 0x19
jmp 0x445a2a
test al, 0x20
je 0x446698
or dword [edi + 0x1bc4], 0xffffffff
jmp 0x445f54
test al, 0x40
je 0x4466a8
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x445ae9
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
mov dword [edi], 0x15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x4466fe
cmp esi, eax
jae 0x4466e6
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x48]
jb 0x4466c2
mov ecx, dword [edi + 0x48]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
dec eax
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1bc8], eax
mov dword [edi], 0x16
mov ecx, dword [edi + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
jmp 0x446752
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x446722
test al, 0xf0
jne 0x4467fa
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x4467db
cmp dword [ebp - 8], 0
je 0x446a96
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x44679a
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
add dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x446822
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x445ae9
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov dword [edi], 0x17
mov eax, dword [edi + 0x48]
test eax, eax
je 0x446883
cmp esi, eax
jae 0x446868
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x48]
jb 0x446844
mov ecx, dword [edi + 0x48]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
add dword [edi + 0x1bc4], ecx
mov dword [edi], 0x18
cmp dword [ebp - 0x14], 0
je 0x446a99
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x44]
cmp ecx, eax
jbe 0x4468e1
sub ecx, eax
cmp ecx, dword [edi + 0x2c]
jbe 0x4468bc
cmp dword [edi + 0x1bc0], 0
je 0x4468bc
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x445ae9
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
cmp ecx, edx
jbe 0x4468cf
add eax, dword [edi + 0x28]
sub ecx, edx
sub eax, ecx
jmp 0x4468d3
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x4468ec
mov ecx, edx
jmp 0x4468ec
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x4468f4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
sub dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub edx, ecx
sub dword [ebp - 0x24], eax
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + eax]
mov byte [eax], dl
inc eax
dec ecx
jne 0x446908
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x40], ecx
jne 0x445a27
mov dword [edi], 0x14
jmp 0x445a27
cmp dword [ebp - 0x14], 0
je 0x446a99
mov ecx, dword [ebp - 0x1c]
mov al, byte [edi + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [ecx], al
mov dword [edi], 0x14
jmp 0x445a2a
cmp dword [edi + 8], 0
je 0x446a0e
jmp 0x44697c
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x44695a
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
add dword [edx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4469c5
cmp dword [edi + 0x10], 0
push eax
je 0x4469ab
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x18]
sub edx, eax
call fcn.00447263
pop ecx
jmp 0x4469b9
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x18]
call fcn.00446c4c
pop ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov edx, ecx
cmp dword [edi + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, ebx
jne 0x4469f6
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x18]
je 0x446a07
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x445ae9
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x446a7e
cmp dword [edi + 0x10], 0
je 0x446a7e
jmp 0x446a40
cmp dword [ebp - 8], 0
je 0x446a99
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x446a22
cmp ebx, dword [edi + 0x1c]
je 0x446a7a
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x445ae9
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
push 2
jmp 0x445a33
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1c
mov dword [ebp - 0x28], 1
jmp 0x446a99
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x446a99
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
cmp dword [edi + 0x28], 0
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
jne 0x446ac9
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x446aed
cmp dword [edi], 0x1d
jge 0x446aed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.0044587f
pop ecx
test eax, eax
je 0x446aed
mov dword [edi], 0x1e
push 0xfffffffffffffffc
jmp 0x445a33
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x1c], ebx
cmp dword [edi + 8], 0
mov dword [ebp - 0x2c], eax
je 0x446b40
test ebx, ebx
je 0x446b40
cmp dword [edi + 0x10], 0
push ebx
je 0x446b29
mov edx, dword [esi + 0xc]
push dword [edi + 0x18]
sub edx, ebx
call fcn.00447263
pop ecx
jmp 0x446b36
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x18]
sub ecx, ebx
call fcn.00446c4c
mov dword [edi + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [edi]
cmp ecx, 0xb
jne 0x446b50
mov dword [ebp + 8], 0x80
jmp 0x446b54
and dword [ebp + 8], 0
cmp ecx, 0x13
je 0x446b62
cmp ecx, 0xe
je 0x446b62
xor ecx, ecx
jmp 0x446b67
mov ecx, pe_nt_image_headers32
mov edx, dword [edi + 4]
neg edx
sbb edx, edx
and edx, 0x40
add edx, ecx
add edx, dword [ebp + 8]
add edx, dword [edi + 0x3c]
mov dword [esi + 0x2c], edx
test eax, eax
jne 0x446b90
test ebx, ebx
jne 0x446b90
cmp dword [ebp - 0x28], ebx
jne 0x446b90
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x445a34