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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2c
push ebp
push edi
test eax, eax
je 0x448de5
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x448de5
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x448de5
mov ebp, dword [eax]
test ebp, ebp
jne 0x447b46
cmp dword [eax + 4], ebp
jne 0x448de5
cmp dword [edi], 0xb
jne 0x447b51
mov dword [edi], 0xc
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [edi]
push ebx
mov ebx, dword [edi + 0x30]
push esi
mov esi, dword [edi + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0
cmp eax, 0x1c
ja case.default.0x447b86
jmp dword [eax*4 + 0x448df0]
cmp dword [edi + 8], 0
jne 0x447b9e
mov dword [edi], 0xc
jmp 0x448ca7
cmp esi, 0x10
jae 0x447bc3
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x10
jb 0x447ba3
mov eax, dword [edi + 8]
test al, 2
je 0x447c11
cmp ebx, 0x8b1f
jne 0x447c11
push 0
xor edx, edx
xor ecx, ecx
call fcn.00446490
add esp, 4
mov edx, 2
lea ecx, [esp + 0x1c]
mov dword [edi + 0x14], eax
mov byte [esp + 0x1c], 0x1f
mov byte [esp + 0x1d], 0x8b
call fcn.004464a0
mov edx, dword [esp + 0x10]
xor ebx, ebx
mov dword [edi + 0x14], eax
xor esi, esi
mov dword [edi], 1
jmp 0x448ca7
mov dword [edi + 0x10], 0
test al, 1
je 0x447cae
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 0x447cae
mov edx, ebx
and dl, 0xf
cmp dl, 8
je 0x447c58
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x448ca1
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
add ecx, 8
sub esi, 4
cmp ecx, dword [edi + 0x1c]
jbe 0x447c7f
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_window_size
mov edx, dword [esp + 0x10]
jmp 0x448ca1
xor eax, eax
xor ecx, ecx
xor edx, edx
call fcn.00445620
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
xor esi, esi
jmp 0x448ca7
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.incorrect_header_check
mov edx, dword [esp + 0x10]
jmp 0x448ca1
cmp esi, 0x10
jae 0x447ce7
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x10
jb 0x447cc7
mov dword [edi + 0x10], ebx
cmp bl, 8
je 0x447cff
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.unknown_compression_method
jmp 0x448ca1
test ebx, 0xe000
je 0x447d17
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x448ca1
test ebx, 0x200
je 0x447d42
mov eax, dword [edi + 0x14]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004464a0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 2
jmp 0x447d53
cmp esi, 0x20
jae 0x447d73
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x20
jb 0x447d53
test dword [edi + 0x10], 0x200
je 0x447db1
mov eax, dword [edi + 0x14]
mov ecx, ebx
mov edx, ebx
shr ecx, 8
shr edx, 0x10
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], dl
shr ebx, 0x18
mov edx, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f], bl
call fcn.004464a0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 3
jmp 0x447dc2
cmp esi, 0x10
jae 0x447de2
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x10
jb 0x447dc2
test dword [edi + 0x10], 0x200
je 0x447e0e
mov eax, dword [edi + 0x14]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004464a0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x447e79
cmp esi, 0x10
jae 0x447e46
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x10
jb 0x447e26
test dword [edi + 0x10], 0x200
mov dword [edi + 0x38], ebx
je 0x447e75
mov eax, dword [edi + 0x14]
mov byte [esp + 0x1c], bl
shr ebx, 8
mov edx, 2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d], bl
call fcn.004464a0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
xor ebx, ebx
xor esi, esi
mov dword [edi], 5
mov eax, dword [edi + 0x10]
test eax, 0x400
je 0x447ee0
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x14], ecx
cmp ecx, edx
jbe 0x447e9a
mov ecx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x447ed6
test eax, 0x200
je 0x447ec6
mov eax, dword [edi + 0x14]
test ebp, ebp
jne 0x447eb0
xor eax, eax
jmp 0x447ec3
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004464a0
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 0x448d05
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x447f52
test edx, edx
je 0x448d05
xor ecx, ecx
lea esp, [esp]
movzx eax, byte [ecx + ebp]
inc ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x447f11
cmp ecx, edx
jb 0x447f00
test dword [edi + 0x10], 0x2000
mov dword [esp + 0x14], ecx
je 0x447f3f
mov eax, dword [edi + 0x14]
test ebp, ebp
jne 0x447f29
xor eax, eax
jmp 0x447f3c
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004464a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
sub edx, ecx
add ebp, ecx
cmp dword [esp + 0x28], 0
mov dword [esp + 0x10], edx
jne 0x448d05
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x447fc2
test edx, edx
je 0x448d05
xor ecx, ecx
jmp 0x447f70
movzx eax, byte [ecx + ebp]
inc ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x447f81
cmp ecx, edx
jb 0x447f70
test dword [edi + 0x10], 0x2000
mov dword [esp + 0x14], ecx
je 0x447faf
mov eax, dword [edi + 0x14]
test ebp, ebp
jne 0x447f99
xor eax, eax
jmp 0x447fac
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.004464a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x14], eax
sub edx, ecx
add ebp, ecx
cmp dword [esp + 0x28], 0
mov dword [esp + 0x10], edx
jne 0x448d05
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x448012
cmp esi, 0x10
jae 0x447ff6
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x10
jb 0x447fd6
movzx ecx, word [edi + 0x14]
cmp ebx, ecx
je 0x44800e
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x448ca1
xor ebx, ebx
xor esi, esi
push 0
xor edx, edx
xor ecx, ecx
call fcn.00446490
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 0x448ca7
cmp esi, 0x20
jae 0x448060
mov edi, edi
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x20
jb 0x448040
mov ecx, ebx
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
mov eax, ebx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
shr ebx, 0x18
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
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x448cbf
xor eax, eax
xor ecx, ecx
xor edx, edx
call fcn.00445620
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 0x4480db
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x18
jmp 0x448ca7
cmp esi, 3
jae 0x448100
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 3
jb 0x4480e0
mov ecx, ebx
shr ebx, 1
mov eax, ebx
and ecx, 1
and eax, 3
dec esi
mov dword [edi + 4], ecx
cmp eax, 3
ja case.default.0x448115
jmp dword [eax*4 + 0x448e64]
shr ebx, 2
mov dword [edi], 0xd
sub esi, 2
jmp 0x448ca7
shr ebx, 2
mov dword [edi + 0x44], 0x5b2610
mov dword [edi + 0x4c], 9
mov dword [edi + 0x48], 0x5b2e10
mov dword [edi + 0x50], 5
mov dword [edi], 0x12
sub esi, 2
jmp 0x448ca7
shr ebx, 2
mov dword [edi], 0xf
sub esi, 2
jmp 0x448ca7
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi], 0x1b
shr ebx, 2
sub esi, 2
jmp 0x448ca7
mov ecx, esi
and ecx, 7
sub esi, ecx
shr ebx, cl
cmp esi, 0x20
jae 0x4481b5
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x20
jb 0x448195
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x4481d7
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x448ca1
xor ebx, ebx
mov dword [edi + 0x38], eax
xor esi, esi
mov dword [edi], 0xe
mov eax, dword [edi + 0x38]
mov dword [esp + 0x14], eax
test eax, eax
je 0x448862
cmp eax, edx
jbe 0x4481fd
mov eax, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jbe 0x44820b
mov eax, ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x448d05
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push ebp
push edx
call fcn.00558100
mov eax, dword [esp + 0x20]
sub dword [esp + 0x1c], eax
sub dword [esp + 0x24], eax
add dword [esp + 0x2c], eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
add ebp, eax
sub dword [edi + 0x38], eax
jmp 0x448ca7
cmp esi, 0xe
jae 0x448270
lea esp, [esp]
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0xe
jb 0x448250
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
inc eax
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x58], 0x11e
mov dword [edi + 0x5c], eax
mov dword [edi + 0x54], ecx
ja 0x448396
cmp eax, 0x1e
ja 0x448396
mov dword [edi + 0x60], 0
mov dword [edi], 0x10
mov ecx, dword [edi + 0x60]
cmp ecx, dword [edi + 0x54]
jae 0x44831b
lea esp, [esp]
cmp esi, 3
jae 0x4482f5
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 3
jb 0x4482d5
mov eax, dword [edi + 0x60]
movzx eax, word [eax*2 + 0x5b2e90]
mov ecx, ebx
and ecx, 7
mov word [edi + eax*2 + 0x68], cx
inc dword [edi + 0x60]
mov ecx, dword [edi + 0x60]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x54]
jb 0x4482d0
mov eax, 0x13
cmp dword [edi + 0x60], eax
jae 0x44834a
jmp 0x448330
mov edx, dword [edi + 0x60]
movzx ecx, word [edx*2 + 0x5b2e90]
xor edx, edx
mov word [edi + ecx*2 + 0x68], dx
inc dword [edi + 0x60]
cmp dword [edi + 0x60], eax
jb 0x448330
lea edx, [edi + 0x64]
push edx
lea eax, [edi + 0x528]
mov dword [edx], eax
push 0x13
lea edx, [edi + 0x68]
mov dword [edi + 0x44], eax
lea eax, [edi + 0x4c]
push edx
lea ecx, [edi + 0x2e8]
push 0
mov edx, eax
mov dword [eax], 7
call fcn.00448ed0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x4483a6
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x448ca1
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x448ca1
mov dword [edi + 0x60], 0
mov dword [edi], 0x11
mov ecx, dword [edi + 0x5c]
add ecx, dword [edi + 0x58]
cmp dword [edi + 0x60], ecx
jae 0x448605
mov ecx, dword [edi + 0x4c]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x14], eax
cmp ecx, esi
jbe 0x448423
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
inc ebp
mov dword [esp + 0x10], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x14], eax
cmp ecx, esi
ja 0x4483e5
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x448482
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp esi, ecx
jae 0x448466
lea esp, [esp]
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, ah
mov dword [esp + 0x10], edx
cmp esi, ecx
jb 0x448440
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
inc dword [edi + 0x60]
jmp 0x4485d6
mov cx, word [esp + 0x16]
cmp cx, 0x10
jne 0x4484f5
movzx ecx, ah
lea eax, [ecx + 2]
mov dword [esp + 0x2c], ecx
cmp esi, eax
jae 0x4484c6
jmp 0x4484a0
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec edx
add esi, 8
add ebx, eax
lea eax, [ecx + 2]
inc ebp
mov dword [esp + 0x10], edx
cmp esi, eax
jb 0x4484a0
mov eax, dword [edi + 0x60]
shr ebx, cl
sub esi, ecx
test eax, eax
je 0x4485e7
movzx ecx, word [edi + eax*2 + 0x66]
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
sub esi, 2
jmp 0x4485a1
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x2c], ecx
jne 0x44854e
lea eax, [ecx + 3]
cmp esi, eax
jae 0x448536
lea esp, [esp]
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec edx
add esi, 8
add ebx, eax
lea eax, [ecx + 3]
inc ebp
mov dword [esp + 0x10], edx
cmp esi, eax
jb 0x448510
shr ebx, cl
mov eax, ebx
and eax, 7
add eax, 3
mov dword [esp + 0x14], eax
shr ebx, 3
mov eax, 0xfffffffd
jmp 0x448591
lea eax, [ecx + 7]
cmp esi, eax
jae 0x44857b
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec edx
add esi, 8
add ebx, eax
lea eax, [ecx + 7]
inc ebp
mov dword [esp + 0x10], edx
cmp esi, eax
jb 0x448555
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 + 0x28], 0
mov ecx, dword [edi + 0x60]
add ecx, eax
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x58]
cmp ecx, eax
ja 0x4485f4
cmp dword [esp + 0x14], 0
je 0x4485d6
mov eax, dword [esp + 0x28]
jmp 0x4485c0
mov ecx, dword [edi + 0x60]
dec dword [esp + 0x14]
mov word [edi + ecx*2 + 0x68], ax
inc dword [edi + 0x60]
cmp dword [esp + 0x14], 0
jne 0x4485c0
mov eax, dword [edi + 0x5c]
add eax, dword [edi + 0x58]
cmp dword [edi + 0x60], eax
jb 0x4483c2
jmp 0x448605
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
jmp 0x4485ff
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1b
lea eax, [edi + 0x528]
lea ecx, [edi + 0x64]
push ecx
mov dword [ecx], eax
mov ecx, dword [edi + 0x58]
push ecx
lea ecx, [edi + 0x68]
mov dword [edi + 0x44], eax
push ecx
lea eax, [edi + 0x2e8]
lea edx, [edi + 0x4c]
push 1
mov ecx, eax
mov dword [edx], 9
call fcn.00448ed0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x448653
mov edx, dword [esp + 0x40]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov edx, dword [esp + 0x10]
jmp 0x448ca1
mov ecx, dword [edi + 0x64]
lea eax, [edi + 0x64]
push eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x48], ecx
mov ecx, dword [edi + 0x58]
push eax
lea eax, [edi + ecx*2 + 0x68]
push eax
lea edx, [edi + 0x50]
push 2
lea ecx, [edi + 0x2e8]
mov dword [edx], 6
call fcn.00448ed0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x44869e
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x18], str.invalid_distances_set
jmp 0x448ca1
mov dword [edi], 0x12
cmp edx, 6
jb 0x448708
cmp dword [esp + 0x18], 0x102
jb 0x448708
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x10]
push ecx
push eax
mov dword [eax], ebp
mov dword [eax + 4], edx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], esi
call fcn.00447500
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov ebp, dword [eax]
mov ebx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
add esp, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
jmp 0x448ca7
mov ecx, dword [edi + 0x4c]
mov eax, 1
shl eax, cl
dec eax
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
mov dword [esp + 0x14], eax
cmp ecx, esi
jbe 0x44876e
lea ecx, [ecx]
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x44]
inc ebp
mov dword [esp + 0x10], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x14], eax
cmp ecx, esi
ja 0x448730
test al, al
je 0x448837
test al, 0xf0
jne 0x448837
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x28], ecx
movzx ecx, al
add ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
dec eax
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 0x44882a
nop
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec edx
add esi, 8
add ebx, eax
movzx eax, ch
mov dword [esp + 0x28], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x10], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x2e]
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 + 0x28]
cmp eax, esi
ja 0x4487d0
movzx ecx, byte [esp + 0x2d]
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 + 0x28], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x38], ecx
test al, al
jne 0x44885e
mov dword [edi], 0x17
jmp 0x448ca7
test al, 0x20
je 0x44886d
mov dword [edi], 0xb
jmp 0x448ca7
test al, 0x40
je 0x448881
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x448ca1
movzx ecx, al
and ecx, 0xf
mov dword [edi + 0x40], ecx
mov dword [edi], 0x13
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4488d4
cmp esi, eax
jae 0x4488c0
jmp 0x4488a0
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, dword [edi + 0x40]
jb 0x4488a0
mov ecx, dword [edi + 0x40]
mov eax, 1
shl eax, cl
dec eax
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
dec eax
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
mov dword [esp + 0x14], eax
cmp ecx, esi
jbe 0x44893e
nop
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x50]
dec edx
add esi, 8
add ebx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x48]
inc ebp
mov dword [esp + 0x10], edx
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x14], eax
cmp ecx, esi
ja 0x448900
test al, 0xf0
jne 0x4489fe
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x34], ecx
movzx ecx, cl
mov dword [esp + 0x28], ecx
movzx ecx, al
add ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
dec eax
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 0x4489f1
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x2c]
dec edx
add esi, 8
add ebx, eax
movzx eax, ch
mov dword [esp + 0x28], eax
movzx ecx, cl
add ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x10], edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x2e]
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 + 0x28]
cmp eax, esi
ja 0x448997
movzx ecx, byte [esp + 0x2d]
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 + 0x28], ecx
test al, 0x40
je 0x448a22
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x448ca1
mov ecx, eax
movzx eax, al
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 0x448a78
cmp esi, eax
jae 0x448a64
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, dword [edi + 0x40]
jb 0x448a44
mov ecx, dword [edi + 0x40]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x3c], eax
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x24]
sub ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x24]
cmp dword [edi + 0x3c], ecx
jbe 0x448a98
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x448ca1
mov dword [edi], 0x16
cmp dword [esp + 0x18], 0
je 0x448d05
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
jbe 0x448af4
sub eax, ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x14], eax
cmp eax, ecx
jbe 0x448ad5
sub eax, ecx
mov ecx, dword [edi + 0x2c]
add ecx, dword [edi + 0x20]
mov dword [esp + 0x14], eax
sub ecx, eax
jmp 0x448ae1
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]
mov dword [esp + 0x28], ecx
cmp eax, ecx
jbe 0x448b09
mov eax, ecx
jmp 0x448b05
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jbe 0x448b17
mov eax, ecx
mov dword [esp + 0x14], eax
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [edi + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
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 + 0x20], eax
jne 0x448b26
cmp dword [edi + 0x38], 0
jne 0x448ca7
mov dword [edi], 0x12
jmp 0x448ca7
cmp dword [esp + 0x18], 0
je 0x448d05
mov eax, dword [esp + 0x20]
mov cl, byte [edi + 0x38]
mov byte [eax], cl
inc eax
dec dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [edi], 0x12
jmp 0x448ca7
cmp dword [edi + 8], 0
je 0x448c52
cmp esi, 0x20
jae 0x448bb3
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x20
jb 0x448b93
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add dword [ecx + 0x14], eax
add dword [edi + 0x18], eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x448c09
cmp dword [edi + 0x10], 0
mov ecx, dword [esp + 0x20]
je 0x448bed
sub ecx, eax
mov eax, dword [edi + 0x14]
jne 0x448be2
xor eax, eax
jmp 0x448bff
mov edx, dword [esp + 0x24]
call fcn.004464a0
jmp 0x448bfb
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0x14]
sub ecx, eax
call fcn.00445620
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 + 0x18]
mov dword [esp + 0x24], eax
mov eax, ebx
jne 0x448c3c
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 + 0x14]
je 0x448c4e
mov eax, dword [esp + 0x40]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x448ca1
xor ebx, ebx
xor esi, esi
mov dword [edi], 0x19
cmp dword [edi + 8], 0
je 0x448ced
cmp dword [edi + 0x10], 0
je 0x448ced
cmp esi, 0x20
jae 0x448c91
test edx, edx
je 0x448d05
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
dec edx
add esi, 8
inc ebp
add ebx, eax
mov dword [esp + 0x10], edx
cmp esi, 0x20
jb 0x448c71
cmp ebx, dword [edi + 0x18]
je 0x448ce9
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.0x00447b86
mov eax, 0xfffffffe
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x2c
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x34], esi
pop esi
mov dword [edi + 0x30], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x14]
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 0x448d05
mov dword [esp + 0x30], 0xfffffffd
cmp dword [edi + 0x20], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
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 0x448d35
cmp dword [edi], 0x18
jge 0x448d59
mov edx, ecx
cmp dword [esp + 0x24], edx
je 0x448d59
push eax
mov eax, dword [esp + 0x28]
call fcn.00447a20
add esp, 4
test eax, eax
je 0x448d59
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 + 0x24]
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 0x448dab
test edx, edx
je 0x448dab
cmp dword [edi + 0x10], 0
mov ecx, dword [esi + 0xc]
je 0x448d99
sub ecx, edx
mov eax, dword [edi + 0x14]
jne 0x448d92
xor eax, eax
jmp 0x448da5
call fcn.004464a0
jmp 0x448da5
sub ecx, edx
mov eax, edx
mov edx, dword [edi + 0x14]
call fcn.00445620
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
dec edx
and edx, 0x80
add ecx, edx
add ecx, dword [edi + 0x34]
mov dword [esi + 0x2c], ecx
test eax, eax
jne 0x448cb7
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