Function at 0x4459b9
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.0x445a29
mov edi, dword [edx + 0x1c]
cmp edi, ecx
je case.default.0x445a29
cmp dword [edx + 0xc], ecx
je case.default.0x445a29
cmp dword [edx], ecx
jne 0x4459f0
cmp dword [edx + 4], ecx
jne case.default.0x445a29
cmp dword [edi], 0xb
jne 0x4459fb
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 0x445a9a
jmp dword [eax*4 + 0x446c09]
cmp dword [edi + 8], 0
jne 0x445a60
mov dword [edi], 0xc
jmp 0x445a9a
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445a3e
test byte [edi + 8], 2
je 0x445aa9
cmp ebx, 0x8b1f
jne 0x445aa9
xor esi, esi
push 2
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [edi + 0x18], esi
mov word [ebp - 0x18], bx
call fcn.004472e9
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.0x00445a29
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 0x445ab8
or dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x445b4f
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 0x445b4f
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x445af6
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
mov edx, eax
jmp 0x445a9a
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 0x445b3f
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 0x445a9a
cmp ecx, eax
jbe 0x445b11
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x445aec
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi], 0x1d
jmp 0x445a9a
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445b64
mov dword [edi + 0x10], ebx
cmp bl, 8
je 0x445b9c
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x445b59
test ebx, 0xe000
je 0x445bad
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x445b59
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445bbe
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x10], 0x200
je 0x445be4
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.004472e9
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp case.0x445a29.2
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445bf0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445c1e
mov dword [eax + 4], ebx
test dword [edi + 0x10], 0x200
je 0x445c54
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.004472e9
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp case.0x445a29.3
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445c60
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445ca1
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 0x445cc7
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.004472e9
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 0x445d67
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445cec
and dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x445df8
mov ecx, dword [edi + 0x40]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jbe 0x445d0f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x445dee
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x445dc3
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x445dc3
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 0x445dab
sub ecx, eax
jmp 0x445dae
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445d48
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], ebx
test eax, eax
je 0x445d79
mov dword [eax + 0x14], ebx
test dword [edi + 0x10], 0x200
je 0x445d9f
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.004472e9
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x18], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x445cec
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.00448fb0
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x445de2
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.004472d3
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 0x446b09
and dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x445e97
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445e55
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x445e55
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x445e55
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 0x445e63
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x445e1d
test dword [edi + 0x10], 0x200
je 0x445e82
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.004472d3
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 0x446b09
jmp 0x445ea2
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445ea2
and dword [eax + 0x1c], 0
and dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x445f41
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445eff
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x445eff
mov ecx, dword [edi + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x445eff
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 0x445f0d
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x445ec7
test dword [edi + 0x10], 0x200
je 0x445f2c
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x18]
call fcn.004472d3
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 0x446b09
jmp 0x445f4c
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445f4c
and dword [eax + 0x24], 0
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x445f9f
jmp 0x445f7f
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445f5d
movzx eax, word [edi + 0x18]
cmp ebx, eax
je 0x445f98
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x445b59
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x445fbc
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 0x445a9a
cmp dword [ebp - 8], 0
je 0x446b09
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 0x445fcf
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 0x446ac6
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 0x446079
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi], 0x1a
jmp 0x445a9a
cmp dword [ebp - 8], 0
je 0x446b09
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 0x44605a
mov eax, ebx
and eax, 1
mov dword [edi + 4], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x4460d6
dec eax
je 0x4460b2
dec eax
je 0x4460aa
dec eax
jne 0x4460dc
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
jmp 0x4460dc
mov dword [edi], 0x10
jmp 0x4460dc
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 0x4460dc
mov dword [edi], 0xd
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x445a9a
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x446114
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4460f5
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x44613a
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x445b59
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 0x445fc4
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x446169
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x446174
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x446b09
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.00448fb0
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 0x445a97
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4461a6
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 0x446215
cmp dword [edi + 0x64], 0x1e
ja 0x446215
and dword [edi + 0x68], 0
mov dword [edi], 0x11
jmp case.0x445a29.17
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x445b59
cmp dword [ebp - 8], 0
je 0x446b09
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 0x446221
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 0x446240
jmp 0x446285
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 0x446270
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.00447573
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4462d2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x445aec
and dword [edi + 0x68], 0
mov dword [edi], 0x12
jmp 0x44646f
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4462e1
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x44634f
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.0x445a29.18
jne 0x4463b7
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x446380
cmp dword [ebp - 8], 0
je 0x446b09
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 0x44635b
mov eax, dword [edi + 0x68]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x446483
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 0x446447
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x446425
jmp 0x4463e8
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4463c6
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x44643e
cmp dword [ebp - 8], 0
je 0x446b09
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 0x446403
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 0x44648f
test eax, eax
je 0x44646f
mov ecx, dword [edi + 0x68]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
dec eax
jne 0x44645d
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x446300
jmp 0x44649f
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x445b59
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
cmp dword [edi], 0x1d
je 0x445a9a
cmp word [edi + 0x270], 0
jne 0x4464be
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x445b59
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.00447573
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x446506
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x445aec
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.00447573
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x446549
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x445aec
mov edx, dword [ebp + 8]
mov dword [edi], 0x13
mov dword [edi], 0x14
cmp dword [ebp - 8], 6
jb 0x4465cd
cmp dword [ebp - 0x14], 0x102
jb 0x4465cd
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.00446ed7
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 0x445a9a
or dword [edi + 0x1bc4], 0xffffffff
jmp 0x445a9a
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 0x446619
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4465e9
test al, al
je 0x4466c9
test al, 0xf0
jne 0x4466c9
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 0x4466aa
cmp dword [ebp - 8], 0
je 0x446b06
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 0x446669
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 0x4466f8
mov dword [edi], 0x19
jmp 0x445a9a
test al, 0x20
je 0x446708
or dword [edi + 0x1bc4], 0xffffffff
jmp 0x445fc4
test al, 0x40
je 0x446718
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x445b59
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
mov dword [edi], 0x15
mov eax, dword [edi + 0x48]
test eax, eax
je 0x44676e
cmp esi, eax
jae 0x446756
cmp dword [ebp - 8], 0
je 0x446b09
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 0x446732
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 0x4467c2
cmp dword [ebp - 8], 0
je 0x446b09
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 0x446792
test al, 0xf0
jne 0x44686a
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 0x44684b
cmp dword [ebp - 8], 0
je 0x446b06
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 0x44680a
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 0x446892
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x445b59
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 0x4468f3
cmp esi, eax
jae 0x4468d8
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4468b4
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 0x446b09
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x44]
cmp ecx, eax
jbe 0x446951
sub ecx, eax
cmp ecx, dword [edi + 0x2c]
jbe 0x44692c
cmp dword [edi + 0x1bc0], 0
je 0x44692c
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x445b59
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
cmp ecx, edx
jbe 0x44693f
add eax, dword [edi + 0x28]
sub ecx, edx
sub eax, ecx
jmp 0x446943
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x44695c
mov ecx, edx
jmp 0x44695c
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x446964
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 0x446978
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x40], ecx
jne 0x445a97
mov dword [edi], 0x14
jmp 0x445a97
cmp dword [ebp - 0x14], 0
je 0x446b09
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 0x445a9a
cmp dword [edi + 8], 0
je 0x446a7e
jmp 0x4469ec
cmp dword [ebp - 8], 0
je 0x446b09
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 0x4469ca
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 0x446a35
cmp dword [edi + 0x10], 0
push eax
je 0x446a1b
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x18]
sub edx, eax
call fcn.004472d3
pop ecx
jmp 0x446a29
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x18]
call fcn.00446cbc
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 0x446a66
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 0x446a77
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x445b59
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x446aee
cmp dword [edi + 0x10], 0
je 0x446aee
jmp 0x446ab0
cmp dword [ebp - 8], 0
je 0x446b09
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 0x446a92
cmp ebx, dword [edi + 0x1c]
je 0x446aea
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x445b59
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 0x445aa3
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1c
mov dword [ebp - 0x28], 1
jmp 0x446b09
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x446b09
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 0x446b39
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x446b5d
cmp dword [edi], 0x1d
jge 0x446b5d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.004458ef
pop ecx
test eax, eax
je 0x446b5d
mov dword [edi], 0x1e
push 0xfffffffffffffffc
jmp 0x445aa3
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 0x446bb0
test ebx, ebx
je 0x446bb0
cmp dword [edi + 0x10], 0
push ebx
je 0x446b99
mov edx, dword [esi + 0xc]
push dword [edi + 0x18]
sub edx, ebx
call fcn.004472d3
pop ecx
jmp 0x446ba6
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x18]
sub ecx, ebx
call fcn.00446cbc
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 0x446bc0
mov dword [ebp + 8], 0x80
jmp 0x446bc4
and dword [ebp + 8], 0
cmp ecx, 0x13
je 0x446bd2
cmp ecx, 0xe
je 0x446bd2
xor ecx, ecx
jmp 0x446bd7
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 0x446c00
test ebx, ebx
jne 0x446c00
cmp dword [ebp - 0x28], ebx
jne 0x446c00
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x445aa4