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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x670740c0
mov edi, dword [eax + 0x1c]
cmp edi, esi
je 0x670740c0
mov dword [eax + 0x18], esi
mov dword [edi], 0xb
mov dword [edi + 4], esi
mov dword [edi + 0x2c], esi
mov ecx, dword [eax]
push ebx
push ebp
mov dword [esp + 0x10], ecx
cmp ecx, esi
je 0x6707338e
mov ebp, dword [eax + 4]
jmp 0x67073390
xor ebp, ebp
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
sub eax, 0xb
xor ebx, ebx
mov dword [esp + 0x14], edx
cmp eax, 0x12
jbe 0x670733d4
mov esi, 0xfffffffe
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ebp
pop ebp
pop ebx
mov dword [eax], ecx
pop edi
mov eax, esi
pop esi
add esp, 0x18
ret
mov edx, dword [esp + 0x14]
movzx ecx, byte [eax + 0x670740e8]
jmp dword [ecx*4 + 0x670740cc]
cmp dword [edi + 4], 0
je 0x670733fc
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x1c
jmp 0x6707404a
cmp esi, 3
jae 0x6707343b
test ebp, ebp
jne 0x67073420
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 3
jb 0x67073401
mov eax, ebx
and eax, 1
shr ebx, 1
mov dword [edi + 4], eax
mov eax, ebx
and eax, 3
cmp eax, 3
ja case.default.0x6707344f
jmp dword [eax*4 + 0x670740fc]
shr ebx, 2
mov dword [edi], 0xd
sub esi, 3
jmp 0x6707404a
shr ebx, 2
mov dword [edi + 0x4c], 0x671c1e90
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x671c2690
mov dword [edi + 0x58], 5
mov dword [edi], 0x14
sub esi, 3
jmp 0x6707404a
shr ebx, 2
mov dword [edi], 0x10
sub esi, 3
jmp 0x6707404a
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
shr ebx, 2
sub esi, 3
jmp 0x6707404a
mov ecx, esi
and ecx, 7
sub esi, ecx
shr ebx, cl
cmp esi, 0x20
jae 0x6707350a
nop
test ebp, ebp
jne 0x670734ef
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 0x20
jb 0x670734d0
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x67073532
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x6707404a
xor ebx, ebx
xor esi, esi
mov dword [edi + 0x40], eax
test eax, eax
je 0x670735e3
mov eax, dword [edi + 0x40]
mov dword [esp + 0x20], eax
test ebp, ebp
jne 0x67073567
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707406f
cmp dword [esp + 0x18], ebx
jne 0x67073594
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
push eax
mov dword [esp + 0x1c], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x20], ecx
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67074065
mov eax, dword [esp + 0x20]
cmp eax, ebp
jbe 0x670735a2
mov eax, ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jbe 0x670735ae
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
sub dword [esp + 0x24], eax
add dword [esp + 0x20], eax
sub dword [edi + 0x40], eax
add esp, 0xc
sub ebp, eax
cmp dword [edi + 0x40], ebx
jne 0x67073541
mov dword [edi], 0xb
jmp 0x6707404a
cmp esi, 0xe
jae 0x6707362d
test ebp, ebp
jne 0x67073612
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 0xe
jb 0x670735f3
mov eax, ebx
shr ebx, 5
mov ecx, ebx
shr ebx, 5
mov edx, ebx
and eax, 0x1f
and ecx, 0x1f
and edx, 0xf
add eax, 0x101
inc ecx
add edx, 4
shr ebx, 4
sub esi, 0xe
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], ecx
mov dword [edi + 0x5c], edx
cmp eax, 0x11e
ja 0x67073b5c
cmp ecx, 0x1e
ja 0x67073b5c
mov dword [edi + 0x68], 0
test edx, edx
jbe 0x670736e5
lea esp, [esp]
cmp esi, 3
jae 0x670736bf
test ebp, ebp
jne 0x670736a4
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 3
jb 0x67073685
mov ecx, dword [edi + 0x68]
movzx edx, word [ecx*2 + 0x671c2710]
mov eax, ebx
and eax, 7
mov word [edi + edx*2 + 0x70], ax
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp eax, dword [edi + 0x5c]
jb 0x67073680
mov eax, 0x13
cmp dword [edi + 0x68], eax
jae 0x6707370a
nop
mov ecx, dword [edi + 0x68]
movzx edx, word [ecx*2 + 0x671c2710]
xor ecx, ecx
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], eax
jb 0x670736f0
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x2f0]
push edx
lea eax, [edi + 0x54]
push eax
push ecx
mov dword [eax], 7
push 0x13
lea eax, [edi + 0x70]
push eax
push 0
call fcn.67076350
add esp, 0x18
test eax, eax
je 0x67073754
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x6707404a
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
mov dword [edi + 0x68], 0
je 0x670739fd
jmp 0x67073770
mov ecx, dword [edi + 0x54]
mov eax, dword [edi + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x20], eax
cmp edx, esi
jbe 0x670737ed
test ebp, ebp
jne 0x670737b2
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x20], eax
shr eax, 8
movzx edx, al
dec ebp
cmp edx, esi
ja 0x67073793
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x67073861
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp esi, ecx
jae 0x67073845
test ebp, ebp
jne 0x67073822
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
inc eax
shl edx, cl
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x21]
add esi, 8
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67073803
mov eax, dword [esp + 0x20]
mov dx, word [esp + 0x22]
movzx ecx, ah
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x68]
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
jmp 0x670739ee
mov cx, word [esp + 0x22]
cmp cx, 0x10
jne 0x670738ef
movzx ecx, ah
lea eax, [ecx + 2]
mov dword [esp + 0x1c], ecx
cmp esi, eax
jae 0x670738c4
mov edi, edi
test ebp, ebp
jne 0x6707389f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 2
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67073880
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
je 0x67073a26
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [esp + 0x20], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x670739c4
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x1c], ecx
jne 0x6707395b
lea eax, [ecx + 3]
cmp esi, eax
jae 0x67073947
test ebp, ebp
jne 0x67073922
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 3
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67073903
mov ecx, dword [esp + 0x1c]
shr ebx, cl
mov edx, 0xfffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x670739b8
lea eax, [ecx + 7]
cmp esi, eax
jae 0x670739a6
test ebp, ebp
jne 0x67073981
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 7
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67073962
mov ecx, dword [esp + 0x1c]
shr ebx, cl
mov edx, 0xfffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
sub edx, ecx
add esi, edx
mov dword [esp + 0x20], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x68]
add ecx, dword [edi + 0x60]
add edx, eax
cmp edx, ecx
ja 0x67073a3c
test eax, eax
je 0x670739ee
mov ecx, dword [esp + 0x20]
jmp 0x670739e0
mov edx, dword [edi + 0x68]
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
dec eax
jne 0x670739e0
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x67073770
cmp dword [edi], 0x1d
je 0x6707404a
cmp word [edi + 0x270], 0
jne 0x67073a52
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x6707404a
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x6707404a
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x6707404a
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x2f0]
push edx
lea eax, [edi + 0x54]
push eax
push ecx
mov ecx, dword [edi + 0x60]
mov dword [eax], 9
push ecx
lea eax, [edi + 0x70]
push eax
push 1
call fcn.67076350
add esp, 0x18
test eax, eax
je 0x67073a9e
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x6707404a
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea edx, [edi + 0x2f0]
push edx
mov edx, dword [edi + 0x60]
lea eax, [edi + 0x58]
push eax
push ecx
mov ecx, dword [edi + 0x64]
mov dword [eax], 6
push ecx
lea eax, [edi + edx*2 + 0x70]
push eax
push 2
call fcn.67076350
add esp, 0x18
test eax, eax
je 0x67073ae9
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x6707404a
mov edx, dword [esp + 0x14]
mov dword [edi], 0x14
cmp ebp, 6
jb 0x67073b72
mov ecx, dword [esp + 0x18]
cmp ecx, 0x102
jb 0x67073b72
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov dword [eax], edx
mov dword [eax + 4], ebp
mov eax, dword [edi + 0x28]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
cmp dword [edi + 0x2c], eax
jae 0x67073b2c
mov edx, eax
sub edx, ecx
mov dword [edi + 0x2c], edx
mov esi, dword [esp + 0x2c]
push eax
push esi
call fcn.67074150
mov edx, dword [esi]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esi + 4]
mov dword [esp + 0x18], edx
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jmp 0x6707404a
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x6707404a
mov ecx, dword [edi + 0x54]
mov eax, 1
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
jbe 0x67073be9
test ebp, ebp
jne 0x67073bb0
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
dec ebp
cmp ecx, esi
ja 0x67073b91
mov edx, dword [esp + 0x14]
test al, al
je 0x67073cbc
test al, 0xf0
jne 0x67073cbc
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
movzx ecx, al
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], 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]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, byte [esp + 0x24]
add edx, ecx
cmp edx, esi
jbe 0x67073caa
test ebp, ebp
jne 0x67073c5f
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
shl edx, cl
movzx ecx, al
add ebx, edx
movzx edx, ah
add ecx, edx
mov eax, 1
shl eax, cl
mov ecx, edx
add esi, 8
dec ebp
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1e]
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 0x67073c40
movzx ecx, byte [esp + 0x1d]
mov edx, dword [esp + 0x14]
shr ebx, cl
movzx ecx, byte [esp + 0x1d]
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x20], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x40], ecx
test al, al
jne 0x67073d23
cmp dword [esp + 0x18], 0
jne 0x67073d0a
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [edi + 0x2c], eax
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67074065
mov edx, dword [esp + 0x14]
mov al, byte [edi + 0x40]
mov byte [edx], al
inc edx
dec dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [edi], 0x14
jmp 0x6707404a
test al, 0x20
je 0x67073d32
mov dword [edi], 0xb
jmp 0x6707404a
test al, 0x40
je 0x67073d4c
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [edi], 0x1d
jmp 0x6707404a
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
je 0x67073db2
cmp esi, eax
jae 0x67073d9e
jmp 0x67073d60
test ebp, ebp
jne 0x67073d7f
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x48]
jb 0x67073d60
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x58]
mov eax, 1
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
jbe 0x67073e29
test ebp, ebp
jne 0x67073df0
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
dec ebp
cmp ecx, esi
ja 0x67073dd1
mov edx, dword [esp + 0x14]
test al, 0xf0
jne 0x67073ef4
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
movzx ecx, al
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], 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]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, byte [esp + 0x24]
add edx, ecx
cmp edx, esi
jbe 0x67073ee2
test ebp, ebp
jne 0x67073e97
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
shl edx, cl
movzx ecx, al
add ebx, edx
movzx edx, ah
add ecx, edx
mov eax, 1
shl eax, cl
mov ecx, edx
add esi, 8
dec ebp
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1e]
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 0x67073e78
movzx ecx, byte [esp + 0x1d]
mov edx, dword [esp + 0x14]
shr ebx, cl
movzx ecx, byte [esp + 0x1d]
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr ebx, cl
sub esi, ecx
mov dword [esp + 0x20], ecx
test al, 0x40
je 0x67073f1e
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_distance_code
mov dword [edi], 0x1d
jmp 0x6707404a
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
je 0x67073f87
cmp esi, eax
jae 0x67073f73
test ebp, ebp
jne 0x67073f54
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6707405d
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x48]
jb 0x67073f35
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
sub esi, ecx
mov eax, dword [edi + 0x28]
cmp dword [edi + 0x2c], eax
sbb ecx, ecx
and ecx, dword [esp + 0x18]
sub eax, ecx
cmp dword [edi + 0x44], eax
jbe 0x67073fb0
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_distance_too_far_back
mov dword [edi], 0x1d
jmp 0x6707404a
cmp dword [esp + 0x18], 0
jne 0x67073fe2
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
push eax
mov dword [esp + 0x1c], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x20], ecx
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67074065
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x28]
sub ecx, dword [edi + 0x44]
cmp ecx, dword [esp + 0x18]
jae 0x67073ffd
lea eax, [ecx + edx]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
sub eax, ecx
jmp 0x6707400a
mov eax, edx
sub eax, dword [edi + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jbe 0x67074013
mov eax, ecx
sub dword [esp + 0x18], eax
sub ecx, eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x24]
sub ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x67074034
mov ecx, dword [esp + 0x24]
mov cl, byte [ecx + edx]
mov byte [edx], cl
inc edx
dec eax
jne 0x67074030
mov dword [esp + 0x14], edx
cmp dword [edi + 0x40], eax
jne 0x67073fb0
mov eax, dword [edi]
sub eax, 0xb
cmp eax, 0x12
jbe 0x670733d0
jmp case.0x670733db.12
mov dword [esp + 0x10], 0
mov esi, 0xfffffffb
jmp 0x670733af
mov dword [esp + 0x10], ebx
mov esi, 0xfffffffb
jmp 0x670733af
mov eax, dword [edi + 0x28]
mov esi, 1
cmp dword [esp + 0x18], eax
jae 0x670733af
sub eax, dword [esp + 0x18]
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x670733af
mov esi, 0xfffffffb
jmp 0x670733af
mov esi, 0xfffffffd
jmp 0x670733af
pop edi
mov eax, 0xfffffffe
pop esi
add esp, 0x18
ret