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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2c
test eax, eax
push ebp
push edi
je 0x443c16
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x443c16
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x443c16
mov ebp, dword [eax]
test ebp, ebp
jne 0x442876
cmp dword [eax + 4], ebp
jne 0x443c16
cmp dword [edi], 0xb
jne 0x442881
mov dword [edi], 0xc
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [edi]
cmp eax, 0x1c
push ebx
mov ebx, dword [edi + 0x30]
push esi
mov esi, dword [edi + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0
ja case.default.0x4428c0
lea ebx, [ebx]
jmp dword [eax*4 + 0x443c24]
cmp dword [edi + 8], 0
jne 0x4428d8
mov dword [edi], 0xc
jmp 0x443ad6
cmp esi, 0x10
jae 0x442908
lea ecx, [ecx]
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4428e0
mov eax, dword [edi + 8]
test al, 2
je 0x44295a
cmp ebx, 0x8b1f
jne 0x44295a
push 0
xor edx, edx
xor ecx, ecx
call fcn.004442f0
add esp, 4
mov edx, 2
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], eax
mov byte [esp + 0x20], 0x1f
mov byte [esp + 0x21], 0x8b
call fcn.00444300
mov edx, dword [esp + 0x10]
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 1
jmp 0x443ad6
test al, 1
mov dword [edi + 0x10], 0
je 0x4429ff
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
jne 0x4429ff
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x4429a1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x443ad0
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
add ecx, 8
sub esi, 4
cmp ecx, dword [edi + 0x1c]
mov dword [esp + 0x18], ebx
jbe 0x4429cc
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_window_size
mov edx, dword [esp + 0x10]
jmp 0x443ad0
xor eax, eax
xor ecx, ecx
xor edx, edx
call fcn.00443d00
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
shr ebx, 8
not ebx
and ebx, 2
or ebx, 9
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [ecx + 0x30], eax
mov dword [esp + 0x18], ebx
xor esi, esi
jmp 0x443ad6
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.incorrect_header_check
mov edx, dword [esp + 0x10]
jmp 0x443ad0
cmp esi, 0x10
jae 0x442a40
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x442a18
cmp bl, 8
mov dword [edi + 0x10], ebx
je 0x442a58
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x443ad0
test ebx, 0xe000
je 0x442a70
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x443ad0
test ebx, 0x200
je 0x442a9b
mov eax, dword [edi + 0x14]
mov byte [esp + 0x20], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x20]
mov byte [esp + 0x21], bl
call fcn.00444300
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x442ab0
cmp esi, 0x20
jae 0x442ad4
lea esp, [esp]
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
jb 0x442ab0
test dword [edi + 0x10], 0x200
je 0x442b12
mov eax, dword [edi + 0x14]
mov ecx, ebx
mov edx, ebx
shr ecx, 8
shr edx, 0x10
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], dl
shr ebx, 0x18
mov edx, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x23], bl
call fcn.00444300
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x442b23
cmp esi, 0x10
jae 0x442b47
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x442b23
test dword [edi + 0x10], 0x200
je 0x442b73
mov eax, dword [edi + 0x14]
mov byte [esp + 0x20], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x20]
mov byte [esp + 0x21], bl
call fcn.00444300
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x442beb
cmp esi, 0x10
jae 0x442bb4
nop
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
jb 0x442b90
test dword [edi + 0x10], 0x200
mov dword [edi + 0x38], ebx
je 0x442be3
mov eax, dword [edi + 0x14]
mov byte [esp + 0x20], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x20]
mov byte [esp + 0x21], bl
call fcn.00444300
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 5
mov eax, dword [edi + 0x10]
test eax, 0x400
je 0x442c52
mov ecx, dword [edi + 0x38]
cmp ecx, edx
mov dword [esp + 0x14], ecx
jbe 0x442c0c
mov ecx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x442c48
test eax, 0x200
je 0x442c38
test ebp, ebp
mov eax, dword [edi + 0x14]
jne 0x442c22
xor eax, eax
jmp 0x442c35
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.00444300
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x38]
sub edx, ecx
add ebp, ecx
sub eax, ecx
mov dword [esp + 0x10], edx
mov dword [edi + 0x38], eax
cmp dword [edi + 0x38], 0
jne 0x443b34
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x442cc4
test edx, edx
je 0x443b34
xor ecx, ecx
jmp 0x442c70
movzx eax, byte [ecx + ebp]
add ecx, 1
test eax, eax
mov dword [esp + 0x2c], eax
je 0x442c83
cmp ecx, edx
jb 0x442c70
test dword [edi + 0x10], 0x2000
mov dword [esp + 0x14], ecx
je 0x442cb1
test ebp, ebp
mov eax, dword [edi + 0x14]
jne 0x442c9b
xor eax, eax
jmp 0x442cae
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.00444300
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
sub edx, ecx
add ebp, ecx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x10], edx
jne 0x443b34
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x442d34
test edx, edx
je 0x443b34
xor ecx, ecx
lea ecx, [ecx]
movzx eax, byte [ecx + ebp]
add ecx, 1
test eax, eax
mov dword [esp + 0x2c], eax
je 0x442cf3
cmp ecx, edx
jb 0x442ce0
test dword [edi + 0x10], 0x2000
mov dword [esp + 0x14], ecx
je 0x442d21
test ebp, ebp
mov eax, dword [edi + 0x14]
jne 0x442d0b
xor eax, eax
jmp 0x442d1e
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.00444300
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
sub edx, ecx
add ebp, ecx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x10], edx
jne 0x443b34
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x442d90
cmp esi, 0x10
jae 0x442d70
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x442d48
movzx ecx, word [edi + 0x14]
cmp ebx, ecx
je 0x442d88
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x443ad0
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
push 0
xor edx, edx
xor ecx, ecx
call fcn.004442f0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0x14], eax
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
jmp 0x443ad6
cmp esi, 0x20
jae 0x442de8
lea esp, [esp]
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x442dc0
mov ecx, ebx
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
xor eax, eax
mov ah, byte [esp + 0x1a]
shl ecx, 8
shr ebx, 0x18
mov dword [edi], 0xa
add ecx, eax
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x40]
xor ebx, ebx
mov dword [edi + 0x14], eax
mov dword [ecx + 0x30], eax
xor esi, esi
cmp dword [edi + 0xc], 0
je 0x443aee
xor eax, eax
xor ecx, ecx
xor edx, edx
call fcn.00443d00
mov edx, dword [esp + 0x40]
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x442e63
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x18
mov dword [esp + 0x18], ebx
jmp 0x443ad6
cmp esi, 3
jae 0x442e8c
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x442e68
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
sub esi, 1
cmp eax, 3
mov dword [edi + 4], ecx
ja case.default.0x442ea3
jmp dword [eax*4 + 0x443c98]
shr ebx, 2
mov dword [edi], 0xd
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x443ad6
shr ebx, 2
mov dword [edi + 0x44], 0x488148
mov dword [edi + 0x4c], 9
mov dword [edi + 0x48], 0x488948
mov dword [edi + 0x50], 5
mov dword [edi], 0x12
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x443ad6
shr ebx, 2
mov dword [edi], 0xf
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x443ad6
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi], 0x1b
shr ebx, 2
mov dword [esp + 0x18], ebx
sub esi, 2
jmp 0x443ad6
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
cmp esi, 0x20
mov dword [esp + 0x18], ebx
jae 0x442f5f
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x442f37
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x442f81
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x443ad0
xor ebx, ebx
mov dword [edi + 0x38], eax
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0xe
mov eax, dword [edi + 0x38]
test eax, eax
mov dword [esp + 0x14], eax
je 0x443669
cmp eax, edx
jbe 0x442fab
mov eax, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x442fb9
mov eax, ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x443b34
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ecx
push ebp
push edx
call fcn.00445450
mov eax, dword [esp + 0x20]
sub dword [esp + 0x1c], eax
sub dword [esp + 0x28], eax
add dword [esp + 0x30], eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebp, eax
sub dword [edi + 0x38], eax
jmp 0x443ad6
cmp esi, 0xe
jae 0x44301b
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0xe
mov dword [esp + 0x10], edx
jb 0x442ff7
mov ecx, ebx
and ecx, 0x1f
shr ebx, 5
add ecx, 0x101
mov eax, ebx
mov dword [edi + 0x58], ecx
shr ebx, 5
mov ecx, ebx
and eax, 0x1f
and ecx, 0xf
add eax, 1
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x58], 0x11e
mov dword [edi + 0x5c], eax
mov dword [edi + 0x54], ecx
mov dword [esp + 0x18], ebx
ja 0x443157
cmp eax, 0x1e
ja 0x443157
mov dword [edi + 0x60], 0
mov dword [edi], 0x10
mov ecx, dword [edi + 0x60]
cmp ecx, dword [edi + 0x54]
jae 0x4430d5
lea ebx, [ebx]
cmp esi, 3
jae 0x4430a9
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 3
mov dword [esp + 0x10], edx
jb 0x443085
mov eax, dword [edi + 0x60]
movzx eax, word [eax*2 + 0x4889c8]
movzx ecx, bl
and ecx, 7
mov word [edi + eax*2 + 0x68], cx
add dword [edi + 0x60], 1
mov ecx, dword [edi + 0x60]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x54]
mov dword [esp + 0x18], ebx
jb 0x443080
mov eax, 0x13
cmp dword [edi + 0x60], eax
jae 0x443109
xor ecx, ecx
jmp 0x4430f0
mov edx, dword [edi + 0x60]
movzx edx, word [edx*2 + 0x4889c8]
mov word [edi + edx*2 + 0x68], cx
add dword [edi + 0x60], 1
cmp dword [edi + 0x60], eax
jb 0x4430f0
lea eax, [edi + 0x528]
lea ecx, [edi + 0x64]
mov dword [ecx], eax
mov dword [edi + 0x44], eax
lea eax, [edi + 0x2e8]
push eax
push ecx
lea ecx, [edi + 0x68]
push ecx
lea edx, [edi + 0x4c]
push 0
mov ecx, 0x13
mov dword [edx], 7
call fcn.004445d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x443167
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov edx, dword [esp + 0x10]
jmp 0x443ad0
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x443ad0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x60], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x58]
cmp dword [edi + 0x60], eax
jae 0x4433c9
jmp 0x443190
mov ecx, dword [edi + 0x4c]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x4431f9
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x4431b5
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x44325b
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x44323a
nop
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, ah
cmp esi, ecx
mov dword [esp + 0x10], edx
jb 0x443210
movzx ecx, ah
mov eax, dword [edi + 0x60]
shr ebx, cl
sub esi, ecx
mov cx, word [esp + 0x16]
mov word [edi + eax*2 + 0x68], cx
add dword [edi + 0x60], 1
mov dword [esp + 0x18], ebx
jmp 0x4433ba
mov cx, word [esp + 0x16]
cmp cx, 0x10
jne 0x4432d1
movzx ecx, ah
lea eax, [ecx + 2]
cmp esi, eax
mov dword [esp + 0x2c], ecx
jae 0x44329e
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x443274
mov eax, dword [edi + 0x60]
shr ebx, cl
sub esi, ecx
test eax, eax
mov dword [esp + 0x18], ebx
je 0x44341e
movzx ecx, word [edi + eax*2 + 0x66]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
sub esi, 2
jmp 0x443380
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x2c], ecx
jne 0x443327
lea eax, [ecx + 3]
cmp esi, eax
jae 0x44330f
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x4432e5
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
mov dword [esp + 0x14], eax
shr ebx, 3
mov eax, 0xfffffffd
jmp 0x443370
lea eax, [ecx + 7]
cmp esi, eax
jae 0x44335a
mov edi, edi
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
add ebp, 1
cmp esi, eax
mov dword [esp + 0x10], edx
jb 0x443330
shr ebx, cl
mov eax, ebx
and eax, 0x7f
add eax, 0xb
mov dword [esp + 0x14], eax
shr ebx, 7
mov eax, 0xfffffff9
sub eax, ecx
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
mov ecx, dword [edi + 0x60]
add ecx, eax
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x58]
mov dword [esp + 0x18], ebx
cmp ecx, eax
ja 0x44342e
cmp dword [esp + 0x14], 0
je 0x4433ba
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x60]
sub dword [esp + 0x14], 1
mov word [edi + ecx*2 + 0x68], ax
add dword [edi + 0x60], 1
cmp dword [esp + 0x14], 0
jne 0x4433a2
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x58]
cmp dword [edi + 0x60], eax
jb 0x443190
cmp dword [edi], 0x1b
je 0x443ad6
lea eax, [edi + 0x528]
lea ecx, [edi + 0x64]
mov dword [ecx], eax
mov dword [edi + 0x44], eax
lea eax, [edi + 0x2e8]
push eax
push ecx
lea ecx, [edi + 0x68]
push ecx
mov ecx, dword [edi + 0x58]
lea edx, [edi + 0x4c]
push 1
mov dword [edx], 9
call fcn.004445d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x44343e
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov edx, dword [esp + 0x10]
jmp 0x443ad0
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x443ad0
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x443ad0
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x64]
mov dword [edi + 0x48], ecx
lea ecx, [edi + 0x2e8]
push ecx
push eax
mov eax, dword [edi + 0x58]
lea ecx, [edi + eax*2 + 0x68]
push ecx
mov ecx, dword [edi + 0x5c]
lea edx, [edi + 0x50]
push 2
mov dword [edx], 6
call fcn.004445d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x30], eax
je 0x443489
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_distances_set
mov edx, dword [esp + 0x10]
jmp 0x443ad0
mov edx, dword [esp + 0x10]
mov dword [edi], 0x12
cmp edx, 6
jb 0x4434fd
cmp dword [esp + 0x1c], 0x102
jb 0x4434fd
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
call fcn.00443e30
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov dword [esp + 0x24], edx
add esp, 8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov edx, eax
jmp 0x443ad6
mov ecx, dword [edi + 0x4c]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x44]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x443568
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x443524
test al, al
je 0x44363a
test al, 0xf0
jne 0x44363a
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x2c], ecx
movzx ecx, al
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x44]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x44362d
jmp 0x4435d0
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x2c]
cmp eax, esi
ja 0x4435d0
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
test al, al
mov dword [esp + 0x18], ebx
mov dword [edi + 0x38], ecx
jne 0x443665
mov dword [edi], 0x17
jmp 0x443ad6
test al, 0x20
je 0x443674
mov dword [edi], 0xb
jmp 0x443ad6
test al, 0x40
je 0x443688
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x443ad0
and eax, 0xf
mov dword [edi + 0x40], eax
mov dword [edi], 0x13
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4436da
cmp esi, eax
jae 0x4436c4
nop
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x40]
mov dword [esp + 0x10], edx
jb 0x4436a0
mov ecx, dword [edi + 0x40]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
add dword [edi + 0x38], eax
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x14
mov ecx, dword [edi + 0x50]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x48]
mov eax, dword [eax + ecx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
jbe 0x44374b
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x50]
sub edx, 1
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x48]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
mov dword [esp + 0x14], eax
ja 0x443707
test al, 0xf0
jne 0x443810
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x2c], ecx
movzx ecx, al
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
sub eax, 1
and eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
add eax, ecx
mov ecx, eax
mov eax, dword [edi + 0x48]
mov eax, dword [eax + ecx*4]
movzx ecx, byte [esp + 0x34]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, ecx
cmp eax, esi
jbe 0x443803
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
sub edx, 1
add esi, 8
add ebx, eax
movzx eax, ch
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
add ebp, 1
mov dword [esp + 0x10], edx
sub eax, 1
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1a]
add eax, ecx
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
shr eax, 8
movzx eax, al
add eax, dword [esp + 0x2c]
cmp eax, esi
ja 0x4437a6
movzx ecx, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
test al, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
je 0x443838
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x443ad0
mov ecx, eax
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
mov dword [edi], 0x15
mov eax, dword [edi + 0x40]
test eax, eax
je 0x443895
cmp esi, eax
jae 0x44387b
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, dword [edi + 0x40]
mov dword [esp + 0x10], edx
jb 0x443857
mov ecx, dword [edi + 0x40]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, ebx
add dword [edi + 0x3c], eax
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [edi + 0x24]
sub ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x28]
cmp dword [edi + 0x3c], ecx
jbe 0x4438b5
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x443ad0
mov dword [edi], 0x16
cmp dword [esp + 0x1c], 0
je 0x443b34
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
jbe 0x443911
sub eax, ecx
mov ecx, dword [edi + 0x28]
cmp eax, ecx
mov dword [esp + 0x14], eax
jbe 0x4438f2
sub eax, ecx
mov ecx, dword [edi + 0x2c]
add ecx, dword [edi + 0x20]
mov dword [esp + 0x14], eax
sub ecx, eax
jmp 0x4438fe
mov ecx, dword [edi + 0x2c]
sub ecx, eax
add ecx, dword [edi + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x38]
cmp eax, ecx
mov dword [esp + 0x34], ecx
jbe 0x443926
mov eax, ecx
jmp 0x443922
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x443934
mov eax, ecx
mov dword [esp + 0x14], eax
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [edi + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov cl, byte [ecx]
mov byte [eax], cl
mov ecx, 1
add dword [esp + 0x2c], ecx
add eax, ecx
sub dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jne 0x443943
cmp dword [edi + 0x38], 0
jne 0x443ad6
mov dword [edi], 0x12
jmp 0x443ad6
cmp dword [esp + 0x1c], 0
je 0x443b34
mov eax, dword [esp + 0x24]
mov cl, byte [edi + 0x38]
mov byte [eax], cl
add eax, 1
sub dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov dword [edi], 0x12
jmp 0x443ad6
cmp dword [edi + 8], 0
je 0x443a79
cmp esi, 0x20
jae 0x4439db
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x4439b3
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add dword [ecx + 0x14], eax
add dword [edi + 0x18], eax
test eax, eax
mov dword [esp + 0x28], eax
je 0x443a31
cmp dword [edi + 0x10], 0
mov ecx, dword [esp + 0x24]
je 0x443a15
sub ecx, eax
mov eax, dword [edi + 0x14]
jne 0x443a0a
xor eax, eax
jmp 0x443a27
mov edx, dword [esp + 0x28]
call fcn.00444300
jmp 0x443a23
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x14]
sub ecx, eax
call fcn.00443d00
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, ebx
jne 0x443a5f
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
xor ecx, ecx
mov ch, byte [esp + 0x1a]
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x14]
je 0x443a71
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x443ad0
xor ebx, ebx
mov dword [esp + 0x18], ebx
xor esi, esi
mov dword [edi], 0x19
cmp dword [edi + 8], 0
je 0x443b1c
cmp dword [edi + 0x10], 0
je 0x443b1c
cmp esi, 0x20
jae 0x443ac0
test edx, edx
je 0x443b34
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
sub edx, 1
add esi, 8
add ebp, 1
add ebx, eax
cmp esi, 0x20
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jb 0x443a98
cmp ebx, dword [edi + 0x18]
je 0x443b18
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1b
mov eax, dword [edi]
cmp eax, 0x1c
jbe switch.0x004428c0
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x2c
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x34], esi
pop esi
mov dword [edi + 0x30], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
pop ebx
mov dword [eax], ebp
pop edi
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov eax, 2
pop ebp
add esp, 0x2c
ret
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x1a
mov dword [esp + 0x30], 1
jmp 0x443b34
mov dword [esp + 0x30], 0xfffffffd
cmp dword [edi + 0x20], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax], ebp
mov dword [eax + 4], edx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
jne 0x443b64
cmp dword [edi], 0x18
jge 0x443b88
mov edx, ecx
cmp dword [esp + 0x28], edx
je 0x443b88
push eax
mov eax, dword [esp + 0x2c]
call fcn.00442750
add esp, 4
test eax, eax
je 0x443b88
mov dword [edi], 0x1c
pop esi
pop ebx
pop edi
mov eax, 0xfffffffc
pop ebp
add esp, 0x2c
ret
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0x10]
sub eax, dword [esi + 4]
add dword [esi + 0x14], edx
add dword [esi + 8], eax
add dword [edi + 0x18], edx
cmp dword [edi + 8], 0
je 0x443bda
test edx, edx
je 0x443bda
cmp dword [edi + 0x10], 0
mov ecx, dword [esi + 0xc]
je 0x443bc8
sub ecx, edx
mov eax, dword [edi + 0x14]
jne 0x443bc1
xor eax, eax
jmp 0x443bd4
call fcn.00444300
jmp 0x443bd4
sub ecx, edx
mov eax, edx
mov edx, dword [edi + 0x14]
call fcn.00443d00
mov dword [edi + 0x14], eax
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x30]
neg ecx
sbb ecx, ecx
and ecx, 0x40
xor edx, edx
cmp dword [edi], 0xb
setne dl
sub edx, 1
and edx, 0x80
add ecx, edx
add ecx, dword [edi + 0x34]
test eax, eax
mov dword [esi + 0x2c], ecx
jne 0x443ae6
pop esi
pop ebx
pop edi
mov eax, 0xfffffffb
pop ebp
add esp, 0x2c
ret
pop edi
mov eax, 0xfffffffe
pop ebp
add esp, 0x2c
ret