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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x34], ebp
push esi
push edi
test ebp, ebp
je case.0x42f4bc.29
mov esi, dword [ebp + 0x1c]
test esi, esi
je case.0x42f4bc.29
xor eax, eax
cmp dword [ebp + 0xc], eax
je case.0x42f4bc.29
cmp dword [ebp], eax
jne 0x42f45b
cmp dword [ebp + 4], eax
jne case.0x42f4bc.29
mov eax, dword [esi]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x42f469
mov dword [esi], ecx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
mov ebx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], ecx
cmp eax, 0x1d
ja case.0x42f4bc.29
mov dword [esp + 0x4c], 0x10
mov ecx, edi
mov dword [esp + 0x40], edi
jmp dword [eax*4 + 0x430876]
cmp dword [esi + 8], 0
jne 0x42f4d4
mov dword [esi], 0xc
jmp 0x42f556
push 0x10
pop eax
cmp edi, eax
jae 0x42f510
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
push 0x10
inc eax
mov dword [esp + 0x24], ebx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, ecx
jb 0x42f4df
test byte [esi + 8], 2
je 0x42f56c
cmp ebx, 0x8b1f
jne 0x42f56c
and dword [esi + 0x18], 0
lea edx, [esp + 0x28]
mov byte [esp + 0x28], bl
xor ecx, ecx
shr ebx, 8
push 2
mov byte [esp + 0x2d], bl
call fcn.0042d522
pop ecx
xor ecx, ecx
mov dword [esi + 0x18], eax
mov ebx, ecx
mov dword [esi], 1
mov edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
cmp eax, 0x1d
jbe 0x42f4b6
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
and dword [esi + 0x10], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f57b
or dword [eax + 0x30], 0xffffffff
test byte [esi + 8], 1
je 0x42f60c
movzx eax, bl
mov ecx, ebx
shl eax, 8
xor edx, edx
shr ecx, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
jne 0x42f608
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x42f5b4
mov dword [ebp + 0x18], str.unknown_compression_method
mov dword [esi], 0x1b
jmp 0x42f552
shr ebx, 4
sub edi, 4
mov ecx, ebx
mov dword [esp + 0x20], ebx
and ecx, 0xf
mov dword [esp + 0x24], edi
add ecx, 8
cmp ecx, dword [esi + 0x24]
jbe 0x42f5d8
mov dword [ebp + 0x18], str.invalid_window_size
jmp 0x42f5ac
shr ebx, 8
xor edx, edx
inc edx
not ebx
mov eax, edx
mov dword [esi + 0x18], edx
and ebx, 2
shl eax, cl
or ebx, 9
mov dword [esi + 0x14], eax
xor ecx, ecx
mov dword [ebp + 0x30], edx
mov dword [esi], ebx
mov edi, ecx
mov ebx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
jmp 0x42f552
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x18], str.incorrect_header_check
mov dword [esi], 0x1b
jmp 0x42f556
push 0x10
pop eax
cmp edi, eax
jae 0x42f65a
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
push 0x10
inc eax
mov dword [esp + 0x24], ebx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, ecx
jb 0x42f629
mov dword [esi + 0x10], ebx
cmp bl, 8
je 0x42f66b
mov dword [ebp + 0x18], str.unknown_compression_method
jmp 0x42f613
test ebx, 0xe000
je 0x42f67c
mov dword [ebp + 0x18], str.unknown_header_flags_set
jmp 0x42f613
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x42f68f
mov eax, ecx
and eax, 1
mov dword [edi], eax
test dword [esi + 0x10], 0x200
je 0x42f6b6
mov byte [esp + 0x29], cl
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x18]
push 2
mov byte [esp + 0x2c], bl
call fcn.0042d522
mov edx, dword [esp + 0x18]
pop ecx
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
mov ebx, eax
mov dword [esi], 2
mov edi, eax
test edx, edx
je 0x42fa01
movzx eax, byte [ecx]
dec edx
mov ecx, edi
add edi, 8
shl eax, cl
mov ecx, dword [esp + 0x18]
add ebx, eax
inc ecx
cmp edi, 0x20
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jb 0x42f6c6
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f6f7
mov dword [eax + 4], ebx
test dword [esi + 0x10], 0x200
je 0x42f733
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x28]
mov eax, ebx
mov byte [esp + 0x28], bl
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
push 4
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], bl
call fcn.0042d522
mov edx, dword [esp + 0x18]
pop ecx
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi], 3
mov ebx, eax
mov edi, eax
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
add edi, 8
mov eax, dword [esp + 0x18]
push 0x10
pop ecx
inc eax
cmp edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jb 0x42f743
mov edi, dword [esi + 0x20]
mov ecx, ebx
shr ecx, 8
test edi, edi
je 0x42f784
movzx eax, bl
mov dword [edi + 8], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
test dword [esi + 0x10], 0x200
je 0x42f7ab
mov byte [esp + 0x29], cl
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x18]
push 2
mov byte [esp + 0x2c], bl
call fcn.0042d522
mov edx, dword [esp + 0x18]
pop ecx
mov dword [esi + 0x18], eax
xor ecx, ecx
mov dword [esi], 4
mov ebx, ecx
mov edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
jmp 0x42f7e9
mov edi, dword [esp + 0x40]
cmp edi, 0x20
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
jmp 0x42f6e3
mov eax, dword [esp + 0x18]
mov edi, ecx
mov dword [esp + 0x38], ebx
cmp ecx, 0x10
jmp 0x42f762
xor ecx, ecx
test dword [esi + 0x10], 0x400
je 0x42f869
push 0x10
pop eax
cmp edi, eax
jae 0x42f826
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
push 0x10
inc eax
pop ecx
mov dword [esp + 0x18], eax
cmp edi, ecx
jb 0x42f7fd
mov eax, dword [esi + 0x20]
mov dword [esi + 0x40], ebx
test eax, eax
je 0x42f833
mov dword [eax + 0x14], ebx
test dword [esi + 0x10], 0x200
je 0x42f859
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x28]
mov byte [esp + 0x28], bl
shr ebx, 8
push 2
mov byte [esp + 0x2d], bl
call fcn.0042d522
pop ecx
mov dword [esi + 0x18], eax
xor eax, eax
mov ebx, eax
mov edi, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
jmp 0x42f873
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42f873
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
mov dword [esi], 5
test dword [esi + 0x10], 0x400
je 0x42f94f
mov eax, dword [esi + 0x40]
mov ecx, edx
cmp eax, edx
cmovbe ecx, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x42f947
cmp dword [esi + 0x20], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
je 0x42f90c
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x40], eax
mov ecx, dword [ecx + 0x10]
test ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
je 0x42f90c
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp eax, edx
mov eax, dword [esp + 0x40]
jbe 0x42f8e9
sub edx, eax
jmp 0x42f8eb
mov edx, ecx
add eax, dword [esp + 0x48]
push edx
push dword [esp + 0x1c]
push eax
call fcn.00443a50
mov eax, dword [esi + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
test dword [esi + 0x10], 0x200
je 0x42f930
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42f929
push ecx
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.0042d522
pop ecx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x38]
sub edx, ecx
mov eax, dword [esp + 0x40]
add dword [esp + 0x18], ecx
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x42fa01
xor ecx, ecx
mov dword [esi], 6
mov dword [esi + 0x40], ecx
jmp 0x42f95e
xor ecx, ecx
test dword [esi + 0x10], 0x800
je 0x42fa5e
test edx, edx
je 0x42fa01
mov edi, dword [esp + 0x18]
mov eax, ecx
mov cl, byte [eax + edi]
inc eax
mov byte [esp + 0x13], cl
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42f9ab
mov ebp, dword [ecx + 0x1c]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x42f9ab
mov ebp, dword [esi + 0x40]
cmp ebp, dword [ecx + 0x20]
jae 0x42f9ab
mov bl, byte [esp + 0x13]
mov ecx, ebp
mov ebp, dword [esp + 0x40]
mov byte [ecx + ebp], bl
inc dword [esi + 0x40]
cmp byte [esp + 0x13], 0
je 0x42f9b6
cmp eax, edx
jb 0x42f979
test dword [esi + 0x10], 0x200
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
je 0x42f9f0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42f9ed
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.0042d522
mov edx, dword [esp + 0x18]
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x18], ecx
add dword [esp + 0x18], eax
sub edx, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], edx
je 0x42fa68
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov dword [esi + 0x38], ebx
xor ebx, ebx
mov dword [esi + 0x3c], edi
mov edi, dword [esp + 0x30]
cmp dword [esi + 0x28], ebx
jne 0x42fa40
cmp dword [esi], 0x18
jge 0x4307e8
cmp edi, dword [ebp + 0x10]
je 0x4307e8
mov edx, edi
mov ecx, ebp
call fcn.0042f34a
test eax, eax
je 0x4307e8
mov dword [esi], 0x1c
push 0xfffffffffffffffc
jmp 0x42f563
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42fa68
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [esi], 7
mov dword [esi + 0x40], ecx
jmp 0x42fa77
xor ecx, ecx
test dword [esi + 0x10], 0x1000
je 0x42fb20
test edx, edx
je 0x42fa01
mov edi, dword [esp + 0x18]
mov eax, ecx
mov cl, byte [eax + edi]
inc eax
mov byte [esp + 0x13], cl
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42fac4
mov ebp, dword [ecx + 0x24]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x42fac4
mov ebp, dword [esi + 0x40]
cmp ebp, dword [ecx + 0x28]
jae 0x42fac4
mov bl, byte [esp + 0x13]
mov ecx, ebp
mov ebp, dword [esp + 0x40]
mov byte [ecx + ebp], bl
inc dword [esi + 0x40]
cmp byte [esp + 0x13], 0
je 0x42facf
cmp eax, edx
jb 0x42fa92
test dword [esi + 0x10], 0x200
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
je 0x42fb09
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42fb06
mov edx, ecx
mov ecx, dword [esi + 0x18]
push eax
call fcn.0042d522
mov edx, dword [esp + 0x18]
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x18], ecx
add dword [esp + 0x18], eax
sub edx, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], edx
jne 0x42fa01
jmp 0x42fb2a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42fb2a
mov dword [eax + 0x24], ecx
mov dword [esi], 8
mov eax, dword [esi + 0x10]
test eax, 0x200
je 0x42fb9b
push 0x10
pop eax
cmp edi, eax
jae 0x42fb76
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
push 0x10
inc eax
mov dword [esp + 0x24], ebx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, ecx
jb 0x42fb45
movzx eax, word [esi + 0x18]
cmp ebx, eax
je 0x42fb8a
mov dword [ebp + 0x18], str.header_crc_mismatch
jmp 0x42f613
xor eax, eax
mov ebx, eax
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42fbb5
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 0x30], 1
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [ebp + 0x30], eax
mov dword [esi], 0xb
jmp 0x42f556
cmp edi, 0x20
jae 0x42fbf8
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, 0x20
jb 0x42fbd1
mov ecx, ebx
mov edi, 0xff00
mov eax, ebx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, ebx
shr eax, 8
and eax, edi
shl ecx, 8
shr ebx, 0x18
add eax, ecx
add eax, ebx
xor ecx, ecx
mov dword [esi + 0x18], eax
mov ebx, ecx
mov dword [ebp + 0x30], eax
mov edi, ecx
mov dword [esi], 0xa
jmp 0x42fc2f
xor ecx, ecx
cmp dword [esi + 0xc], ecx
je 0x43079f
xor eax, eax
inc eax
mov dword [esi + 0x18], eax
mov dword [ebp + 0x30], eax
mov dword [esi], 0xb
jmp 0x42fc4b
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x42fc6c
mov ecx, edi
mov dword [esi], 0x18
and ecx, 7
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
jmp 0x42f556
cmp edi, 3
jae 0x42fc9e
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, 3
jb 0x42fc75
xor ecx, ecx
mov eax, ebx
shr ebx, 1
and eax, 1
mov dword [esi + 4], eax
mov eax, ebx
and eax, 3
sub eax, ecx
je 0x42fcfb
sub eax, 1
je 0x42fcd7
sub eax, 1
je 0x42fccf
sub eax, 1
jne 0x42fd01
mov dword [ebp + 0x18], str.invalid_block_type
mov dword [esi], 0x1b
jmp 0x42fd01
mov dword [esi], 0xf
jmp 0x42fd01
mov dword [esi + 0x4c], 0x47a518
mov dword [esi + 0x54], 9
mov dword [esi + 0x50], 0x47ad40
mov dword [esi + 0x58], 5
mov dword [esi], 0x12
jmp 0x42fd01
mov dword [esi], 0xd
shr ebx, 2
sub edi, 3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
jmp 0x42f556
mov ecx, edi
and ecx, 7
sub edi, ecx
shr ebx, cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
cmp edi, 0x20
jae 0x42fd5d
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, 0x20
jb 0x42fd2e
mov eax, ebx
movzx ecx, bx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x42fd77
mov dword [ebp + 0x18], str.invalid_stored_block_lengths
jmp 0x42f613
xor eax, eax
mov dword [esi + 0x40], ecx
mov ebx, eax
mov dword [esi], 0xe
mov edi, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x42fbbd
cmp ecx, edx
mov eax, edx
cmovbe eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
cmova eax, ecx
mov dword [esp + 0x48], eax
test eax, eax
je 0x4307df
push eax
push dword [esp + 0x1c]
push dword [esp + 0x34]
call fcn.00443a50
mov eax, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x14]
add dword [esp + 0x18], eax
sub edx, eax
sub dword [esp + 0x1c], eax
add dword [esp + 0x2c], eax
sub dword [esi + 0x40], eax
mov dword [esp + 0x14], edx
jmp 0x42f556
cmp edi, 0xe
jae 0x42fe18
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, 0xe
jb 0x42fdf1
mov eax, ebx
sub edi, 0xe
shr ebx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [esp + 0x24], edi
mov eax, ebx
add ecx, 0x101
and eax, 0x1f
shr ebx, 5
inc eax
mov dword [esi + 0x60], ecx
mov dword [esp + 0x48], eax
mov dword [esi + 0x64], eax
mov eax, ebx
and eax, 0xf
shr ebx, 4
add eax, 4
mov dword [esp + 0x20], ebx
mov dword [esi + 0x5c], eax
cmp ecx, 0x11e
ja 0x42fe6e
cmp dword [esp + 0x48], 0x1e
ja 0x42fe6e
and dword [esi + 0x68], 0
push 0x10
pop eax
mov dword [esi], eax
jmp case.0x42f4bc.16
mov dword [ebp + 0x18], str.too_many_length_or_distance_symbols
jmp 0x42f613
cmp edi, 3
jae 0x42feaa
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, 3
jb 0x42fe83
mov eax, dword [esi + 0x68]
mov ecx, ebx
and ecx, 7
shr ebx, 3
mov dword [esp + 0x20], ebx
movzx eax, word [eax*2 + 0x47ad18]
mov word [esi + eax*2 + 0x70], cx
inc dword [esi + 0x68]
sub edi, 3
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x68]
cmp eax, dword [esi + 0x5c]
jb 0x42fe7a
jmp 0x42fef0
movzx eax, word [eax*2 + 0x47ad18]
xor ecx, ecx
mov word [esi + eax*2 + 0x70], cx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x68], eax
cmp eax, 0x13
jb 0x42feda
lea eax, [esi + 0x530]
lea ecx, [esi + 0x6c]
mov dword [esi + 0x4c], eax
mov dword [ecx], eax
lea edx, [esi + 0x54]
lea eax, [esi + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [esi + 0x70]
xor ecx, ecx
call fcn.0043092b
mov edx, dword [esp + 0x24]
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x42ff3e
mov dword [ebp + 0x18], str.invalid_code_lengths_set
jmp 0x42f613
and dword [esi + 0x68], 0
push 0x11
pop eax
mov dword [esi], eax
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x60]
cmp dword [esi + 0x68], eax
jae 0x4301a5
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [esp + 0x48], eax
jmp 0x42ff8a
test edx, edx
je 0x42fa01
mov eax, dword [esp + 0x18]
mov ecx, edi
dec edx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x48]
add edi, 8
mov ecx, dword [esi + 0x4c]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, edi
ja 0x42ff65
mov ecx, eax
shr ecx, 0x10
cmp cx, word [esp + 0x4c]
jae 0x430009
shr eax, 8
movzx eax, al
mov dword [esp + 0x48], eax
jmp 0x42ffdf
test edx, edx
je 0x42fa01
mov eax, dword [esp + 0x18]
mov ecx, edi
dec edx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x48]
add edi, 8
cmp edi, eax
jb 0x42ffba
mov ecx, eax
sub edi, eax
mov ax, word [esp + 0x3a]
shr ebx, cl
mov ecx, dword [esi + 0x68]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov word [esi + ecx*2 + 0x70], ax
inc dword [esi + 0x68]
mov ecx, dword [esi + 0x68]
jmp 0x430179
push 0x10
pop ecx
cmp word [esp + 0x3a], cx
jne 0x43008a
movzx eax, ah
mov dword [esp + 0x40], eax
lea ecx, [eax + 2]
mov dword [esp + 0x48], ecx
cmp edi, ecx
jae 0x430055
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x48]
jb 0x430029
mov eax, dword [esp + 0x40]
mov ecx, eax
sub edi, eax
mov eax, dword [esi + 0x68]
shr ebx, cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
test eax, eax
je 0x43018c
movzx eax, word [esi + eax*2 + 0x6e]
mov edx, ebx
and edx, 3
shr ebx, 2
add edx, 3
mov dword [esp + 0x40], eax
sub edi, 2
jmp 0x43013f
push 0x11
pop ecx
cmp word [esp + 0x3a], cx
movzx ecx, ah
jne 0x4300e7
lea eax, [ecx + 3]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
cmp edi, eax
jae 0x4300d6
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x48]
jb 0x4300aa
mov ecx, dword [esp + 0x40]
shr ebx, cl
mov edx, ebx
and edx, 7
add edx, 3
shr ebx, 3
push 0xfffffffffffffffd
jmp 0x430135
lea eax, [ecx + 7]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
cmp edi, eax
jae 0x430126
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x18], eax
cmp edi, dword [esp + 0x48]
jb 0x4300fa
mov ecx, dword [esp + 0x40]
shr ebx, cl
mov edx, ebx
and edx, 0x7f
add edx, 0xb
shr ebx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add edi, eax
and dword [esp + 0x40], 0
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x60]
add ecx, dword [esi + 0x64]
mov dword [esp + 0x48], eax
add eax, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
cmp eax, ecx
ja 0x430198
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov word [esi + ecx*2 + 0x70], bp
mov ecx, dword [esi + 0x68]
lea ecx, [ecx + 1]
mov dword [esi + 0x68], ecx
sub edx, 1
jne 0x430162
mov ebp, dword [esp + 0x3c]
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x64]
cmp ecx, eax
jae 0x4301a5
mov edx, dword [esp + 0x14]
jmp 0x42ff56
mov dword [ebp + 0x18], str.invalid_bit_length_repeat
jmp 0x42f613
mov dword [ebp + 0x18], str.invalid_bit_length_repeat
mov dword [esi], 0x1b
cmp dword [esi], 0x1b
je 0x42f552
lea eax, [esi + 0x530]
lea ecx, [esi + 0x6c]
mov dword [esi + 0x4c], eax
mov dword [ecx], eax
lea edx, [esi + 0x54]
lea eax, [esi + 0x2f0]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [esi + 0x60]
xor ecx, ecx
lea edx, [esi + 0x70]
inc ecx
call fcn.0043092b
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4301f5
mov dword [ebp + 0x18], str.invalid_literal_lengths_set
jmp 0x42f5ac
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
lea edx, [esi + 0x58]
mov dword [esi + 0x50], eax
lea eax, [esi + 0x2f0]
push eax
mov eax, dword [esi + 0x60]
push edx
push ecx
push dword [esi + 0x64]
add eax, 0x38
mov dword [edx], 6
push 2
pop ecx
lea edx, [esi + eax*2]
call fcn.0043092b
mov edx, dword [esp + 0x24]
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x430240
mov dword [ebp + 0x18], str.invalid_distances_set
jmp 0x42f613
mov dword [esi], 0x12
cmp edx, 6
jb 0x4302a2
mov eax, dword [esp + 0x1c]
cmp eax, 0x102
jb 0x4302a2
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0xc], ecx
mov ecx, ebp
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ebp], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
call fcn.0042ee83
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
mov ebx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jmp 0x42fd07
mov ecx, dword [esi + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [esp + 0x48], eax
jmp 0x4302d6
test edx, edx
je 0x42fa01
mov eax, dword [esp + 0x18]
mov ecx, edi
dec edx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x48]
add edi, 8
mov ecx, dword [esi + 0x4c]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x4302b1
test al, al
je 0x430385
test al, 0xf0
jne 0x430385
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x24], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [esp + 0x40], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x4c]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, dword [esp + 0x24]
cmp ecx, edi
jbe 0x43037d
test edx, edx
je 0x42fa01
mov eax, dword [esp + 0x18]
mov ecx, edi
dec edx
add edi, 8
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x48]
inc dword [esp + 0x18]
and eax, ebx
shr eax, cl
add eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + eax*4]
jmp 0x430334
mov ecx, dword [esp + 0x24]
shr ebx, cl
sub edi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub edi, ecx
mov ecx, eax
mov dword [esp + 0x20], ebx
shr ecx, 0x10
mov dword [esp + 0x24], edi
mov dword [esi + 0x40], ecx
test al, al
jne 0x4303b0
mov dword [esi], 0x17
jmp 0x42f556
test al, 0x20
jne 0x42fbbd
test al, 0x40
je 0x4303c8
mov dword [ebp + 0x18], str.invalid_literal_length_code
jmp 0x42f613
movzx eax, al
and eax, 0xf
mov dword [esi], 0x13
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x48]
test edx, edx
je 0x43041a
jmp 0x430405
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42fa05
dec eax
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [esp + 0x18]
add edi, 8
cmp edi, edx
jb 0x4303e0
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x40], eax
sub edi, edx
mov edx, dword [esp + 0x14]
mov dword [esi], 0x14
mov ecx, dword [esi + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [esp + 0x48], eax
jmp 0x430458
test edx, edx
je 0x42fa01
mov eax, dword [esp + 0x18]
mov ecx, edi
dec edx
mov dword [esp + 0x14], edx
movzx eax, byte [eax]
shl eax, cl
add ebx, eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x48]
add edi, 8
mov ecx, dword [esi + 0x50]
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x430433
test al, 0xf0
jne 0x4304fd
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x40], edx
movzx ecx, al
add ecx, edx
shr eax, 0x10
xor edx, edx
mov dword [esp + 0x38], eax
inc edx
shl edx, cl
lea ecx, [edx - 1]
mov edx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
and edx, ebx
shr edx, cl
mov ecx, dword [esi + 0x50]
add edx, eax
mov eax, dword [ecx + edx*4]
mov edx, dword [esp + 0x40]
jmp 0x4304e9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42fa05
dec eax
mov ecx, edi
mov dword [esp + 0x14], eax
add edi, 8
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
mov ecx, edx
add ebx, eax
mov eax, dword [esp + 0x48]
inc dword [esp + 0x18]
and eax, ebx
shr eax, cl
add eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0x4304b0
mov ecx, edx
shr ebx, cl
sub edi, edx
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
test al, 0x40
je 0x430525
mov dword [ebp + 0x18], str.invalid_distance_code
jmp 0x42f613
mov ecx, eax
mov dword [esi], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x43058b
cmp edi, ecx
jae 0x430574
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
mov ecx, dword [esi + 0x48]
add ebx, eax
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp edi, ecx
jb 0x43054b
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
shr ebx, cl
add dword [esi + 0x44], eax
sub edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x2c]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp dword [esi + 0x44], eax
jbe 0x4305a9
mov dword [ebp + 0x18], str.invalid_distance_too_far_back
jmp 0x42f613
mov dword [esi], 0x16
jmp 0x4305b5
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42fa01
sub ecx, eax
mov eax, dword [esi + 0x44]
cmp eax, ecx
jbe 0x4305f3
sub eax, ecx
mov ecx, dword [esi + 0x30]
cmp eax, ecx
jbe 0x4305d8
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x40]
sub ecx, eax
add ecx, dword [esi + 0x34]
cmp eax, edx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
cmovbe edx, eax
mov eax, dword [esp + 0x40]
jmp 0x430600
mov ebp, dword [esp + 0x2c]
mov ecx, ebp
sub ecx, eax
mov eax, dword [esi + 0x40]
mov edx, eax
cmp edx, dword [esp + 0x1c]
cmova edx, dword [esp + 0x1c]
sub dword [esp + 0x1c], edx
sub eax, edx
mov dword [esi + 0x40], eax
sub ecx, ebp
mov al, byte [ecx + ebp]
mov byte [ebp], al
inc ebp
sub edx, 1
jne 0x430614
cmp dword [esi + 0x40], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x3c]
jne 0x42f556
mov dword [esi], 0x12
jmp 0x42f556
cmp dword [esp + 0x1c], 0
je 0x42fa01
mov ecx, dword [esp + 0x2c]
mov al, byte [esi + 0x40]
mov byte [ecx], al
inc ecx
dec dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
jmp 0x430636
cmp dword [esi + 8], 0
je 0x430742
cmp edi, 0x20
jae 0x4306a2
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, 0x20
jb 0x430673
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
sub ecx, eax
add dword [ebp + 0x14], ecx
add dword [esi + 0x1c], ecx
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4306f4
mov eax, dword [esp + 0x2c]
sub eax, ecx
cmp dword [esi + 0x10], 0
mov ecx, dword [esi + 0x18]
je 0x4306da
test eax, eax
je 0x4306ea
push dword [esp + 0x30]
mov edx, eax
call fcn.0042d522
jmp 0x4306e5
push dword [esp + 0x30]
mov edx, eax
call fcn.0042d2f5
mov edx, dword [esp + 0x18]
pop ecx
mov dword [esi + 0x18], eax
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, ebx
and ecx, 0xff00
mov eax, ebx
shl eax, 0x10
add ecx, eax
mov eax, ebx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, ebx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [esi + 0x10], eax
cmovne ecx, ebx
cmp ecx, dword [esi + 0x18]
je 0x430736
mov dword [ebp + 0x18], str.incorrect_data_check
jmp 0x42f613
mov ebx, eax
mov edi, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esi], 0x19
xor ecx, ecx
cmp dword [esi + 8], ecx
je 0x4307c8
cmp dword [esi + 0x10], ecx
je 0x4307c8
cmp edi, 0x20
jae 0x43078e
mov eax, dword [esp + 0x18]
test edx, edx
je 0x42fa01
movzx eax, byte [eax]
mov ecx, edi
shl eax, cl
dec edx
add ebx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
add edi, 8
inc eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
cmp edi, 0x20
jb 0x43075d
xor ecx, ecx
cmp ebx, dword [esi + 0x1c]
je 0x4307c4
mov dword [ebp + 0x18], str.incorrect_length_check
jmp 0x42f613
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
push 2
jmp 0x42f563
mov ebx, ecx
mov edi, ecx
mov dword [esi], 0x1a
xor ecx, ecx
inc ecx
mov dword [esp + 0x34], ecx
jmp 0x42fa01
push 0xfffffffffffffffd
pop ecx
jmp 0x4307d1
mov eax, dword [esp + 0x14]
jmp 0x42fa09
mov eax, dword [esp + 0x44]
sub eax, dword [ebp + 4]
sub edi, dword [ebp + 0x10]
add dword [ebp + 8], eax
add dword [ebp + 0x14], edi
add dword [esi + 0x1c], edi
mov dword [esp + 0x44], eax
cmp dword [esi + 8], ebx
je 0x430830
test edi, edi
je 0x430830
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x10], ebx
je 0x43081f
sub edx, edi
je 0x43082a
push edi
call fcn.0042d522
jmp 0x430827
push edi
sub edx, edi
call fcn.0042d2f5
mov ebx, eax
pop ecx
mov dword [esi + 0x18], ebx
mov dword [ebp + 0x30], ebx
mov ecx, dword [esi + 4]
mov edx, 0x80
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [esi], 0xb
cmove eax, edx
add ecx, eax
mov eax, dword [esp + 0x34]
add ecx, dword [esi + 0x3c]
cmp dword [esp + 0x44], 0
mov dword [ebp + 0x2c], ecx
jne 0x42f564
test edi, edi
jne 0x42f564
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x42f564